Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Database JPA Entity Management (The best way to manage creation/refresh of JPA entities)
Database JPA Entity Management [message #1387149] Tue, 24 June 2014 08:52 Go to next message
Eclipse UserFriend
I am fairly new to development with JPA entities, but am finding many advantages including turning out code quicker. I usually prefer to focus data model development within database visual tools though, so I am looking for the best way to update entities from the database on a regular frequency. For example, I update my database model through a tool apply the changes to the database, and then want to update my entities from the tables. However I have a number of NamedQueries and JAXB annotations that I don't want to lose. How do I sync these up without loosing my changes? Do I create a superclass where all of these properties are inherited (will this work), or do I just create the automatically generated entities to another package and then use a merge tool to update. I am looking for the most efficient method to manage these types of changes. Or should I be using another mechanism?
Re: Database JPA Entity Management [message #1387161 is a reply to message #1387149] Tue, 24 June 2014 10:23 Go to previous message
Eclipse UserFriend
You might get more response in either the Dali or EclipseLink forum groups, which tend to have JPA experts hanging out in them. Also note that yours is not an Eclipse-specific question so I suggest asking on a general programming forum such as StackOverflow.
Previous Topic:eclipse-java- keylogger
Next Topic:What's with Eclipse ? I can't do anything. Mac OS X
Goto Forum:
  


Current Time: Thu Mar 13 13:05:43 EDT 2025

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

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

Back to the top