Thank you for your answer.

It was the way I found.

I use 

<entity-command name="key-generator"
  |               
class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCKeyGeneratorCreateCommand">
  | <attribute name="key-generator-factory">
  | HiLoKeyGeneratorFactory
  | </attribute>
  | 
  | </entity-command>


Unfortunatly, I get a ClassCastException because it generates a Long and I need 
an Integer.

Do you now the name of an appropriate factory?

Thank you



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948306#3948306

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948306


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to