Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » Generate Entities Problem w/ MySQL
Generate Entities Problem w/ MySQL [message #434643] Wed, 19 March 2008 15:15 Go to next message
Eclipse UserFriend
Originally posted by: manuelgchacon.gmail.com

Hello,

I am not sure if this is a bug or if I am doing something wrong. I have 3
tables in a MySQL database that have the classic Many-To-Many situation in
a normalized setup with an intersection table between the two main tables.


I have my JPA project in Eclipse in the JPA perspective. I set up the
database connection and that is all good. I am also able right click the
project and go to JPA Tools -> Generate Entities. The entities get
generated OK, however the problem I have is that none of the @OneToMany or
@ManyToMany annotations are generated.

Please advise. Thanks.

Platform Info
Eclipse 3.3 Europa
Mac OSX 10.4
JDK 1.5
MySQL 5.0.x
Re: Generate Entities Problem w/ MySQL [message #434813 is a reply to message #434643] Thu, 20 March 2008 14:04 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Hello,

Dali does support generating many-many mappings, so it sounds like there
might be a bug. Is it possible for you to send DDL for these 3 tables or
an example like it if you don't want to send your database info.

thanks,
Karen
Re: Generate Entities Problem w/ MySQL [message #607419 is a reply to message #434643] Thu, 20 March 2008 14:04 Go to previous message
Karen Butzke is currently offline Karen ButzkeFriend
Messages: 220
Registered: July 2009
Senior Member
Hello,

Dali does support generating many-many mappings, so it sounds like there
might be a bug. Is it possible for you to send DDL for these 3 tables or
an example like it if you don't want to send your database info.

thanks,
Karen
Previous Topic:Generate Entities Problem w/ MySQL
Next Topic:Mapping and custom entities
Goto Forum:
  


Current Time: Thu Apr 18 11:50:09 GMT 2024

Powered by FUDForum. Page generated in 0.01814 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top