Hi is_,

On Mar 9, 2009, at 6:45 AM, is_maximum wrote:


Hi

Can anyone explain what is the ManagedInterface good for? What benefit would
achieve if we define all of our entities as interfaces?

If your entities are pure data (no behavior) then defining them as interfaces reduces mindless code generation for the implementation of get and set methods. All you do is declare the methods and OpenJPA does the rest.

Craig


thanks
--
View this message in context: 
http://n2.nabble.com/What-is-ManagedInterface-tp2449023p2449023.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Craig L Russell
Architect, Sun Java Enterprise System http://db.apache.org/jdo
408 276-5638 mailto:[email protected]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to