Hi,
I have an interesting primary key requirement. One of our entities needs some special functionality which I'm a uncertain how to accomplish with hibernate.
The primary key of the table is a standard sequence like any other entity. Where it is different is that I need to step in after pk generation, encode the sequence into a fixed length string, and then set it on another column/property.
Can some one point me in the right direction? Is there some delegate or lifecycle API that can help me with this sort of problem?
Thanks in advance.
Eric
|