i'm currently deploying a new persitence system (hibernate) for my sybase database. All the primary keys defined in my table were defined as binary(12) type fields.
Now i need to specify an id generator to hibernate (typically a java class) which will handle the id generation for this type of field. The problem lies is the fact that i do not find any generator that will produce a unique key.

Maybe some of you have already encounter this problem, it looks kind of rare.

thanks for your help