Announcement Announcement Module
No announcement yet.
Spring, hibernate, struts and Jboss4 Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring, hibernate, struts and Jboss4

    Hibernate version:

    Mapping documents:

    Name and version of the database you are using:
    Sybase 12.5 ASE

    Debug level Hibernate log excerpt:

    We are having a heck of a time using JTATransactionManager. We would like all the built in support that Hibernate with jboss 4 provides but we just can't get it right. I have seen a lot of posts about Spring. How would I integrate Spring into my currente architecture:
    JBoss 4.0 using DAO's and pojo's only, no EJBs
    Hibernate 3.0 (just switched from 2.1)
    Sybase 12.5 ASE

    Anyone have quick install and setup steps for me? If not, anyone have quick steps to get it all setup using a hibernate-service.xml and hibernate.cfg.xml with JBoss 4 using JTA? Currently we only have one db but that may change in the future so JTA is optimal. Do I have to use EJB and that is what I am missing? HELP, HELP, HELP!!!!!!!!!!

  • #2
    The Spring side of the setup should as be in the JTA variant of PetClinic configuration.

    JTA DataSource, JtaTransactionManager, LocalSessionFactoryBean.

    Assuming correct configuration of a JTA DataSource in JBoss.