This content has been marked as final.
Show 1 reply
-
1. Re: New table fild with primary key in CMP Entity EJB
alexkomlev Apr 26, 2007 3:12 PM (in response to alexkomlev)The answer it has appeared simple.
In a file jbosscmp-jdbc.xml it is necessary to add two strings.
<auto-increment/> in cmp description primary key
and
<entity-command name="postgresql-fetch-seq"/>
to the end of entity declaration
PS
JDBC 2 - don't work
JDBC 3 - work
JDBC 4 - ?