Hi all, We want to use a custom sequence generator so that manipulating its generated value before persisting it into database would be possible.
For example, the generated value for a sample primary key that used database sequence generator is 205 and before persisting the entity, we just want to manipulate the generated value using a specified algorithm. As it's clear, I want to use the database sequence, but modifying the generated value is the main requirement. To resolve this, I inspected the generated value in @PrePersist entity callback, but it did not include the generated value. I would appreciate for any ideas Nasser -- View this message in context: http://openjpa.208410.n2.nabble.com/Manipulating-sequence-generated-value-before-persisting-entities-tp5768846p5768846.html Sent from the OpenJPA Developers mailing list archive at Nabble.com.