Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Customizing JPA entity generation
Customizing JPA entity generation [message #817029] Fri, 09 March 2012 09:51 Go to next message
Eclipse UserFriend
Hello,

I would like to customize how my JPA entities are generated by Eclipse. For instance I sometimes don't want bidirectional relationships and would like to be able to have more control over this aspect of JPA entities generation.

I noticed another problem with Eclipse: I have tinyint(1) data type in mysql and eclipse maps this to a byte java type instead of boolean. How can I configure eclipselink so that it maps tinyint(1) to boolean?

Regards,

Julien.
Re: Customizing JPA entity generation [message #825177 is a reply to message #817029] Tue, 20 March 2012 11:18 Go to previous messageGo to next message
Eclipse UserFriend
EclipseLink is the JPA runtime, it does not generate classes from table, I think you want the Eclipse Dali forum.
Re: Customizing JPA entity generation [message #825181 is a reply to message #825177] Tue, 20 March 2012 11:19 Go to previous message
Eclipse UserFriend
Thanks James.
Previous Topic:Query work in 2.0.1 but don't in 2.3.2
Next Topic:Shared cache returning same object (identity) to different sessions?
Goto Forum:
  


Current Time: Tue Jul 08 09:58:57 EDT 2025

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

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

Back to the top