Adding an int primary key property to an entity bean that auto increments
0 posts in topic
Flat View  Flat View

Posted By:   Scott_Cowan
Posted On:   Thursday, March 28, 2002 11:23 AM

How do I create a property on an entity bean in VAJ EE 4.0 if it is a primary key integer and I want it to auto increment? I can't find that option in the Bean Wizard or the column editor of the Schema Browser. Perhaps I can modify the generated code? I could modify the EJSJDBCPersisterBean.createTableSQLStrings[] definition, but I don't want to have to modify it each time I generate the bean's code. Any ideas?

About | Sitemap | Contact