dude,
you have to provide more details (about your problem):
are you using Bean-managed transaction or
Container-managed? do you get this connection from a
datasource used for loading and storing beans?
if this is Container-managed then you shouldn't be
calling setAutoCommit() for the jdbc connection:
see this, read number 6:
http://java.sun.com/j2ee/blueprints/transaction_management/qanda/index.html
you should use EJBContext.setRollbackOnly() if using
container-managed transaction so JDBC transaction will
not be committed.
--- Khurrum Abdullah <[EMAIL PROTECTED]> wrote:
> Hi,
> I have used connection.setAutoCommit(false) but when
> i call
> homeinterface.create() in my client program, the
> results get commited
> after the method call . I have tried the same code
> in weblogic but it
> works fine.
>
> i am using
> jdbc oci 8, sql client 816, database nt 815,
> xadatasource jboss, sql
> trace=true on database init file,
> no commit statement in database trace files produce,
> jdk 122 ,jboss
> version 2.2.2.
> used classes12.zip from oracle 816 installation for
> jdbc driver.
>
> Khurrum
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
>
http://lists.sourceforge.net/lists/listinfo/jboss-user
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user