• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hibernate and join table...

 
olze oli
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey there,

i'm using netbeans which creates my domain objects quite well.
But it wont create the object Referate (to Referate.java) and it just says "This is a join table. Cannot create entity classes for join tables."
My layout is attached.

This should be a portlet for the professor to manage presentations (referat) and thesis for master/bachelor (MaBa)

i made the picture with mysql workbench. with MaBa it works - and imo its the same like Referat

Can i make the Referat.java myself? I'm pretty sure when netbeans cant do this, it wont work when i do it because this hibernate join table thing...

please help me :/
MontyBrogan.png
[Thumbnail for MontyBrogan.png]
montybrogan sql
 
olze oli
Ranch Hand
Posts: 165
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok my mistake... netbeans used the configuration file (where it stored the old db design) and not the current mysql link to retrieve the current design
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic