[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Calling datasource.getConnection() after sessionContext.

2008-08-03 Thread AlexFDT
Peter, Jaikiran, thank you for you participation. I have just tested it on jboss-4.2.3.GA. It throws the same exception. Actually as it can be seen on "Fix Version/s" and "Subversion Commits" tab on https://jira.jboss.org/jira/browse/JBAS-1916 such behavior have been introduced in JBossAS-4.0.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Calling datasource.getConnection() after sessionContext.setR

2008-08-01 Thread AlexFDT
Hello. I am adapting an old application which worked on JBOSS 2.1 to the new JBOSS server version. Now I am using JBOSS 5.0.0.Beta4. There is a code in the application which acts like the following (simplified): | javax.ejb.SessionContext sessionContext = ...; | ... | if (somethingGoesWro