Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

eclipse JPA - recreating JPA Entities re-writes classes - is there an alternative?

 
nicolas diogo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello

i think this is something that i am missing when using eclipse to create/recreate my JPA entities' classes.

if i decide to recreate the entities eclipse will overwrite them and destroy any @NamedQuery that i have added.
is there some configuration in eclipse that would allow for me to change this behaviour?
i am sure that netbeans keeps @NamedQuery when recreating JPA entities.

thanks.
 
nicolas diogo
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
so eclipse just overwrites all entity classes?
is that right?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic