Hey Guys, I'm in the process of converting our system from BEA WebLogic 8.1 to JBoss 3.2.5. All (almost) have BIGINT primary keys. DB2/400, the RDBMS that our system uses, does not support an autoincrement field so our application has been handling it. In WLS we used an internal PK generator similar to the one described in the EJB Design Patterns book. Each table has a seperate PK table with a single column "SEQUENCE". That table is used to manage the PKs. WebLogic handled all of this internally. I want to convert to JBoss but I need to figure out how I am going to generate my PKs. I don't mind writing my own PK generator. But how do I register it with JBoss? I noticed that JBoss comes with a UUIDKeyGenerator that you use in your CMP EJB with the <key-generator-factory> tag. How can I use this tag to call my own key generator? I realize that tag references a JNDI name. So how do I register my custom key generator in the JNDI tree so that I can access it?
Thanks in advance for any assistance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843113#3843113 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843113 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user