Could you, meanwhile, try to explicitly specify the class attribute in your jbosscmp-jdbc.xml?
this is working now. we defined
<entity-command name="pk-sql"> <attribute name="pk-sql">SELECT LAST_INSERT_ID()</attribute> </entity-command>
for read-only entity beans.
I would say, that that should be possible to define this and you should gen an exception while creating new bean. Or you should get better error message from JBoss.
Greetings,
Rafal
------------------------------------------------------- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing & more. Download & eval WebKing and get a free book. www.parasoft.com/bulletproofapps _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
