LocalSessionFactoryBean in Spring 3.1.0.RC1 unable to set NamingStrategy [SPR-8864] #13506
Labels
in: core
Issues in core modules (aop, beans, core, context, expression)
type: enhancement
A general enhancement
Milestone
John Kroubalkian opened SPR-8864 and commented
org.springframework.orm.hibernate4.LocalSessionFactoryBean missing ability to set NamingStrategy (this ability is available in org.springframework.orm.hibernate3.LocalSessionFactoryBean)
Not sure if this is a bug (or by design) but since there has been no response on forum (http://forum.springsource.org/showthread.php?118079-How-to-set-namingStrategy-in-LocalSessionFactoryBean-in-Spring-3.1.0-and-hibernate-4) thought I'd post it as an issue. If this is not recommended procedure or if should be posted to another project please let me know.
Also, the Component/s section above does not include a SpringORM item.
The hibernate 3 version of LocalSessionFactoryBean (org.springframework.orm.hibernate3.LocalSessionFactoryBean) had a property of org.hibernate.cfg.NamingStrategy that could be set in xml:
The hibernate 4 version of LocalSessionFactoryBean (org.springframework.orm.hibernate4.LocalSessionFa ctoryBean) does not have this property.
I tried using an hibernate.ejb.naming_strategy entry in the hibernateProperties property but it had no effect:
Referenced from: commits 93db3df
The text was updated successfully, but these errors were encountered: