• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

DB integrity using EJB

 
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
You didn't tell me he was so big. Unlike this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic