Folks,

Jboss is great!

I'm getting my feet wet porting some of the Sun j2ee tutorial code
(stateless session "Converter", BMP entity "Account") over to jboss 2.0
and postgresql 7.0.  It's been pretty straightforward so far, except for
one issue: it appears that the Sun BMP code assumes (and the Sun
reference j2ee container implements) that jdbc connections are by
default AutoCommit true, since the AccountEJB code never calls
setAutoCommit() or commit(), but the results *are* committed to the
database.

In jboss/postgresql it looks like AutoCommit is false by default since I
get the same behavior if I explicitly setAutoCommit( false) that I get
if I do nothing (i.e. results never committed to db).

Just curious: is this the expected behavior?  For all db's or just
pgsql?  Can it be changed in a configuration file?

Regards,
Toby Cabot



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

Reply via email to