Over a million developers have joined DZone.

From Persistency Questions To EMF. Part 2

DZone's Guide to

From Persistency Questions To EMF. Part 2

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Today I had to add one attribute to my persistent filters describe in this previous post. Thanks to EMF I just added a new getter method in my filter interface with the “ @model” tag in the method comment and regenerated all needed stuff and this new attribute was persisted for free.

Using modeling here avoided me to have to update and maintain several classes when I added this new attribute !!!! An other noticable advantage of using EMF.

From http://manuelselva.wordpress.com/

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.


Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}