CMT « EJB « JPA Q&A





1. HIbernate and CMT    stackoverflow.com

Lately I decided to implement in my project CMT transactions (jBoss5, Hibernate, jta postgres datasource). Everything is working fine except Hibernate.initialize() in my entities. It works in EJB beans but when trying to ...

2. Implementing Hibernate Session per Request using EJB CMT    coderanch.com

Hi, I'm looking for a few pointers on implementing the hibernate session per request pattern for the following scenario, The environment will consist of Spring 2.0, Hibernate 3.x, and EJB 2.1 [with CMT] The problem involves an EJB method which calls a number of methods involving several DAO's that insert/read from the database. In this instance we'd be using CMT configured ...

3. CMT/EJB problem -hibernate don't save the object to the base    forum.hibernate.org

Newbie Joined: Mon Aug 27, 2007 8:51 am Posts: 2 use: Hibernate 3.2 websphere 6.1 MySql 5.0 I have the problem to commit transaction by container. I'm gonna save the pojo database by the hibernate. the configuration file (hibernate.cfg.xml) looks like below : Code: com.mysql.jdbc.Driver ...

4. problem with EJB/CMT in OC4j    forum.hibernate.org

Hibernate version:3.2.4.sp1 Full stack trace of any exception that occurs: org.hibernate.TransactionException: Could not register synchronization for container transaction at org.hibernate.transaction.CMTTransaction.begin(CMTTransaction.java:45) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1326) Name and version of the database you are using: oracle 10 The generated SQL (show_sql=true): Debug level Hibernate log excerpt: debug i will apreciate help, i am search in google but i don't find many. hello, i am run ...