The problem may well be in the configuration of your datasource.  Can you
show the relevant parts of jboss.jcml?

david jencks

On 2001.08.08 08:16:33 -0400 Artur Jonak wrote:
> Hi,
> I'm using JBoss2.2.2 with Oracle 8i and minerva.
> My applications contains BMP and CMP beans.
> All my beans methods require transactions.
> And I have problem with AutoCommit.
> Sometimes I get connection with AutoCommit turned on
> sometimes it is turned off. I know that it should be off when I
> use methods with transactions.
> (In EJB specification there is specified that in transaction
> AutoCommit of connection has to be turned off.)
> 
> Sometimes when my application creates a new CMP bean this bean is
> not stored in the DB table. I can find it using findByPrimaryKey but when
> I
> shout down JBoss server I lose this bean (there is no that bean in the DB
> after JBoss restarting).
> OK in BMP beans I can check what is AutoCommit and possibly turn it off.
> But what with CMP beans.
> Maybe there is a special server property which I can configure.
> 
> Note that previously I used Sun's J2EE server and above problems do not
> occur!
> 
> Please help.
> 
> Regards,
> AJ.
> 
> ________________________________________________
> 
> Pozdrawiam,
> AJ.
> 
> <mailto:[EMAIL PROTECTED]>
> <http://strony.wp.pl/wp/ajonak>
> ________________________________________________
> 
> 
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
> 
> 

_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to