[jboss-user] [EJB 3.0] - How to avoid specific Hibernate config in EJB3 source code.

rmemoria do-not-reply at jboss.com
Sat Sep 9 16:54:07 EDT 2006


Hi,

In my EJB3 project I had to use specific hibernate mapping information in my POJO class (The "org.hibernate.type.YesNoType" column definition for example).

But if for any reason I have to move my project to another EJB3 server (and it doesn't use hibernate in the persistent layer) I'll be forced to chance all references of the Hibernate specifics to another solution.

These Hibernate specifics helped me in so many common situations, but is there a way to avoid them, or maybe "hide" them from the source code?

regards,
Ricardo

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

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



More information about the jboss-user mailing list