#18 Spring and Informa

Next Release
closed-fixed
API (15)
5
2007-01-05
2005-12-29
Anonymous
No

I am trying to ingegrate the informa API into my
Spring project..

i would like to use my current hibernate session
factory which is created in the spring context. i
request that you simply put a setter for the
sessionFactory in the
de.nava.informa.utils.manager.hibernate.PersistenceMan
ager

instead of having the code always load it..in the
spring context i would simply have... it makes two
connection to my database without feature.

<!-- Specify which persitent manger you want -->
<bean id="persistenceManagerHibernate"
class="de.nava.informa.utils.manager.hibernate.Persist
enceManager" singleton="true" >
<property name="sessionFactory"><ref
bean="sessionFactory"/></property>
</bean>

Discussion

  • Niko Schmuck

    Niko Schmuck - 2005-12-31
    • milestone: --> Next Release
    • status: open --> open-accepted
     
  • Niko Schmuck

    Niko Schmuck - 2005-12-31

    Logged In: YES
    user_id=380878

    Sounds like a very reasonable idea, this will be integrated
    into the next informa release.

     
  • Niko Schmuck

    Niko Schmuck - 2007-01-05

    Logged In: YES
    user_id=380878
    Originator: NO

    Please try out the latest release 0.7.0 (Alpha 1) and send us feedback how you like the Spring integration.

    Thx, Niko

     
  • Niko Schmuck

    Niko Schmuck - 2007-01-05
    • status: open-accepted --> closed-fixed
     

Log in to post a comment.