Help me please.
I generate in Eclipse CMP Entity component, what connecting to PostgreSQL table. Table has primary key of serial type. Then i try create new remoute oject arises exception. I can't create fild of primary key with default value. How i can fix it?
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
to the end of entity declaration
JDBC 2 - don't work
JDBC 3 - work
JDBC 4 - ?