• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

DB integrity using EJB  RSS feed

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm using the J2EE Component Wizard to create an EJB project. The tool creates DB tables for me in MySQL, however, I don't believe the DB integrity is preserved (linked).
1. Does the J2EE container manage this integrity for me?
2. Is it recommended that I create the DB manually and make sure it's preserved
3. Does it even matter when using J2EE?
Regards,
Matt
 
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Matt Kim:
Hi,
I'm using the J2EE Component Wizard to create an EJB project. The tool creates DB tables for me in MySQL


Matt,
Which IDE are you using?.....It could be an IDE related problem, so posting in the IDEs forum may get you more replies. I think in most of the practical J2EE applications, we create database tables using scripts before deploying the EJBs.
 
Matt Kim
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the reply Vish.
I'm very new to J2EE but I was just fiddling around with the J2EE component Wizard (which I'm quickly growing sick of). I could be wrong, but it doesn't seem to support composite keys. There's also no documentation for it.
I'm currently downloading the jBuilder trial now to give that a go.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!