After a
day Night
spent over this problem I found solution for this
I give my own generator class
NextSequence which implements the
org.hibernate.id.IdentifierGenerator
my NextSequence class looks like
Now I have two problem
It bring value "Java9" as max value even i have a value "Java10". Is it any possible way to get the value "Java10" as max value
Its still specific to one Entity. It is possible to make it generalized one, where i can use this NextSequence class for all my tables.
Like For Author my id would be like "Au001","Au002", etc.
Help me on this.
Thankx in advance
Raja