identifier-generator

Hibernate custom identifier generattion

Hi, I am now using hibernate as ORM technique in my application. I have a table called Order and I want the hibernate to generates the ID for each instance when inserting new order into the table. Quite unusual, the desired auto-generated id should be something like this: first time: jialhe001 and then jialhe002 .... jialhe003, jialhe0...