Thanks. It worked.
From: No1UNo [via OpenJPA] [mailto:[email protected]] Sent: Thursday, April 01, 2010 11:20 AM To: Patel, Sanjay Subject: Re: can JPA Entity extend non JPA Entity? You may be looking for '@Transient' [1] which indicates that a field should not be persisted by the EntityManager. You may also benefit from an introductory text to JPA such as this one [2]. Hope that helps. [1] http://javadoc.glassfish.org/javaee6/apidoc/javax/persistence/Transient. html [2] http://www.amazon.com/Pro-JPA-Mastering-Persistence-Technology/dp/143021 9564 On Apr 1, 2010, at 10:56 AM, sapatel [via OpenJPA] wrote: Hi all, i am new to JPA. What I want to do is I want all my JPA entities to extend some BaseEntity class where can I define some properites (which are not table columns) to use/share. Is there anyway to do that? -Sanjay ________________________________ View message @ http://n2.nabble.com/can-JPA-Entity-extend-non-JPA-Entity-tp4837568p4837 713.html To unsubscribe from can JPA Entity extend non JPA Entity?, click here < (link removed) PVVJTLk9SR3w0ODM3NTY4fDg3MjM5MzMyMQ==> . -- View this message in context: http://n2.nabble.com/can-JPA-Entity-extend-non-JPA-Entity-tp4837568p4843228.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
