-
1. Re: jaws create table
lafr Aug 23, 2001 12:37 PM (in response to tsulej)possibly you don't have
<pk-constraint>true</pk-constraint>
in your jaws.xml / standardjaws.xml. -
2. Re: jaws create table
tsulej Aug 23, 2001 2:50 PM (in response to tsulej)possibly I don't have...
Thanks.
And another issue: how to force jaws to create indices on
different (than primary key field) fields? -
3. Re: jaws create table
davidjencks Aug 25, 2001 12:23 AM (in response to tsulej)JAWS is not really intended to be a database design tool, the table creation is primarily to make it easy to develop your beans in tandem with a simple "default" rdbms mapping. The intention is that for production your dba (or you) will at least review the schema and make sure it has the appropriate indices, storage modifiers, column sizes, foreign keys, etc etc. Also JAWS has no ability to modify an existing table if you add/remove ejb fields/db columns - you have to drop the table and let JAWS recreate it.
That being said I've often thought it would be nice to have it generate foreign keys for ejb relationships. -
4. Re: jaws create table
shailesh_dangi Mar 22, 2002 11:48 AM (in response to tsulej)Persistence's PowerTier EJB Server does not only OR mapping but also takes care PK/FK relationships and automatically generates entity beans with appropriate methods. The version I worked with used to generate stubs and skeletons and used to take quite a long time inspite of using Jikes. Dynamic Proxies are something novel and I need to take a closer look.