Hi!
I'm using Netbeans 7.0 Wizard to generate JPA
entities from the database. In Oracle XE does not
exist as a meta-column attribute to indicate that
it is an auto-increment,
the Wizardcan not identify which fields should be annotated with the
strategy of self-increment in the mapping of the entity.
In Oracle auto increment is defined by creating a sequence and a trigger that generatesa new sequence id for
each new insert in the table.
I wonder if there is any
way to make the generator entities Netbeans to recognize this
pattern exists in Oracle and write down the field (via
annotation) as auto-increment when the mappingtable for an entity.
Thanks
--
[Message sent by forum member 'marcusvlima']
View Post: http://forums.java.net/node/808461