[jbossseam-issues] [JBoss JIRA] Commented: (JBSEAM-1357) Allow to set NamingStrategy in HibernateFactory (patch included)

Przemyslaw Jaskierski (JIRA) jira-events at lists.jboss.org
Mon May 28 07:08:08 EDT 2007

    [ http://jira.jboss.com/jira/browse/JBSEAM-1357?page=comments#action_12363303 ] 
Przemyslaw Jaskierski commented on JBSEAM-1357:

Sure, I'll test this in incoming nightly builds. Thanks for implementing.

> Allow to set NamingStrategy in HibernateFactory (patch included)
> ----------------------------------------------------------------
>                 Key: JBSEAM-1357
>                 URL: http://jira.jboss.com/jira/browse/JBSEAM-1357
>             Project: JBoss Seam
>          Issue Type: Feature Request
>          Components: Core
>    Affects Versions: 1.2.1.GA
>         Environment: Microcontainer
>            Reporter: Przemyslaw Jaskierski
>         Assigned To: Shane Bryzak
>             Fix For: 1.3.0.ALPHA
>         Attachments: HibernateFactory.diff.zip
> I cannot find any way to set my non-default NamingStrategy using microcontainer-instantiated HibernateFactory. My complex mapping cannot be instantiated.  Following patch makes this possible. After applying, user can setup NamingStrategy using something like:
> <bean name="complexNamingStrategy"class="x.y.z.ComplexNamingStrategy"/>
> <bean name="hibernateSessionFactoryFactory" class="org.jboss.seam.microcontainer.HibernateFactory">
>   <property name="cfgResourceName">conf/hibernate/hibernate.cfg.xml</property>
>   <property name="namingStrategy">
>     <inject bean="complexNamingStrategy"/>
>   </property>
> </bean>

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the seam-issues mailing list