[JAVA+DB] Hibernate mapping tussen tabel

Pagina: 1
Acties:

Onderwerpen


  • DonnyR
  • Registratie: November 2009
  • Laatst online: 16-10 11:14
Mag wel dicht.
Probleem zelf opgelost.

[ Voor 96% gewijzigd door DonnyR op 10-10-2011 19:31 ]


  • bille
  • Registratie: Mei 2000
  • Laatst online: 24-10 10:30

bille

Don't call me Buff

Dit is redelijk basic. Het is gewoon een one to many relatie: http://www.mkyong.com/hib...any-relationship-example/

Overigens als je de sourcecode kan aanpassen kan ik je aanraden om gebruik te maken van JPA annotations van hibernate: http://docs.jboss.org/hib...ntity-mapping-association

Ultra Pilammo 6666Mhz AMD, 4251Mbit/s RAM, Gefors V6666 MegaTurbo, 43" TFS, Ultra 80Gig Firewire netwerkkaart en 5D geluid met 66 speakers in 5 dimensies