This content has been marked as final.
Show 2 replies
-
1. Re: Non-default Hibernate NamingStrategy with EJB3?
iradix May 30, 2006 12:23 PM (in response to iradix)Well, in case anyone else is looking for this I'll answer my own question. It seems that the following property in persistence.xml will do the trick:
Replace the value with the class that implements your naming strategy. I haven't tested this yet but I believe it does work. -
2. Re: Non-default Hibernate NamingStrategy with EJB3?
jgilbert Mar 29, 2007 12:50 PM (in response to iradix)here is the property that i found. so far it appears to be working well.
i just added this to the persistence.xml file<property name="hibernate.ejb.naming_strategy" value="org.hibernate.cfg.DefaultComponentSafeNamingStrategy"/>