[jboss-user] [EJB 3.0] - Re: codes table

abl do-not-reply at jboss.com
Thu Aug 10 11:12:57 EDT 2006


you can use ejb3 entities, but you must use hibernate specific annotations, so you will not be portable:

import org.hibernate.annotations.Cache;
  | import org.hibernate.annotations.CacheConcurrencyStrategy;
  | 
  | 
  | @Entity
  | @Cache(usage=CacheConcurrencyStrategy.TRANSACTIONAL)
  | public class AEntity

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3964397#3964397

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3964397



More information about the jboss-user mailing list