Hi friends!
Well, I'm be using middlegen for generate my hbm and my .java classes.
My question:
I have the follow diagram:
Table: Programmer
Fields: id_programmer, name_programmer
Table: Language
Fields: id_language, name_language
Table: Programmer_Language
Fields: id_programmer, id_language
Yes, I konw that this is a composite-id, but middlegen generate 4 classes for me:
Programmer, Language, Programmer_Language and Programmer_LanguagePK (association, correct?)
How I can working with this 4types of classes? How find records in these classes, update, delete, insert, etc...? Anywhere know if exists some documentation about this?
Thanks for any help ;)
_________________ Dalton Camargo
JEE Software Architect JavaFree.org Founder JavaBB.org Owner Technical Revisor of Spring in Action the Book to Portuguese
|