Is anyone using org.hibernate.cfg.DefaultComponentSafeNamingStrategy with
@Embedded entities and Tapestry?  I have @EmbeddedIds working fine, with the
db data column names prefixed with <variableName_>componentField, but can't
seem to get the prefix working @Embedded - I've tried adding:

 

configuration.add("hibernate.ejb.naming_strategy",
"org.hibernate.cfg.DefaultComponentSafeNamingStrategy");

 

... in the HibernateModule that ships with Tapestry but to no avail.

 

Can anyone give me a steer - hopefully something obvious I'm missing?

 

Thanks,

Jim.

Reply via email to