Hi

I have not used EJB app server with MySQL w/ BDB support. Indeed I used Jrun
with Sybase for feasibility test.

But for setting AutoCommit,
I suggest u'd check MySQL JDBC whether it supports to disable auto commit.

If it can, try to run your JDBC code to disable instead of running in
.setEntityContext.

For setting default value to MySQL server, u'd better search in manual. I
haven't noticed that yet.


Tony


 -----Original Message-----
From:   muhammed najmi [mailto:[EMAIL PROTECTED]]
Sent:   Thursday, March 29, 2001 2:51 PM
To:     [EMAIL PROTECTED]
Subject:        got EJB error

hi
am usimg EJB with Mysql.(also Berkeley DB).But while running client
application am getting a Remote exception.Am using J2ee application
server.From the error log file i got the error description as
javax.ejb.EJBException:Unable to connect to database.Cannot disable
AUTOCOMMIT
         at AccountEJB.setEntityContext(AccountEJB.java:146) ...
...........
like that
Is it possible to start mysql with autocommit 0 by default.
Expecting a speedy reply
thanking u
najmi

____________________________________________________________________
Get free email and a permanent address at http://www.netaddress.com/?N=1


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to