Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Custom reverse engineering strategy(Custom reverse engineering strategy)
Custom reverse engineering strategy [message #655841] Tue, 22 February 2011 14:26 Go to next message
Eclipse UserFriend
Hello,

I'am looking for a way to customize reverse engineering strategy (eg : hibernate + reversestrategy class).

When generating entity, Eclipse default mode remove "_" in property name (if database field was "test_Me", the field become "testMe".

I can't rename field in database and some entity class have been already define. So, is there a way to change default generated mapping strategy.

Thanks.
Re: Custom reverse engineering strategy [message #656180 is a reply to message #655841] Thu, 24 February 2011 08:22 Go to previous messageGo to next message
Eclipse UserFriend
Hello,

This is a forum for EclipseLink, a JPA provider. You might want to try posting your question on the Dali forum which is more likely the plugin you are using to generate your Entities:
http://www.eclipse.org/forums/index.php?t=thread&frm_id= 113&S=42c514de87466d9931d50093b8656452

Check that the property being generated also is annotated with the @Column(name="test_Me"), ast his annotation defines which database column should be used regardless of the property name.

Best Regards,
Chris
Re: Custom reverse engineering strategy [message #656213 is a reply to message #655841] Thu, 24 February 2011 10:16 Go to previous message
Eclipse UserFriend
No Message Body

[Updated on: Thu, 24 February 2011 10:19] by Moderator

Previous Topic:unwrap jdbc connection
Next Topic:[Resolved] Load a external jar with entities and persistence.xml
Goto Forum:
  


Current Time: Wed Jul 23 02:15:38 EDT 2025

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

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

Back to the top