Dain Sundstrom wrote: > David, > > Build the beans first, as they are likely to change drastically during > development. Then as your development winds down, lock down the exact > db mapping. > > The only real negative to this approach is if you need some default data > in your db for testing and you want to load this with a sql block > insert. In that case lock down those entities (as they are most likely > stable). > > If you do design your db first, don't try to use not null foreign keys > or foreign keys in your primary key, as neither work yet. > > -dain
Am i right in thinking that if i used BMP (Bean managed persistence) I would get around all my problems so far (e.g. I can't at the moment have foreign keys as part of the primary key etc) ? Thanks for all the help, it's been much appreciated, thanks David. -- David Goodwin [ [EMAIL PROTECTED] ]----[ http://www.codepoets.co.uk ] [ BEng Software Engineering, Uni. of Wales, Aberystwyth ] _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user