Matthew Hixson wrote:
Are you sure you're committing the inserts? You need to make sure you're
calling Connection.commit().
No don't do this. Never call commit in an EJB - the container will do
that if you have it set up right. If you're going to manage your own
transactions, why are you
I work with jboss2.2 which connect to postgresql 7.0.2 by its own jdbc driver. I
insert some records into database in my session bean, and no error is reported by
jboss or jdbc. it's seemed that everything is ok.
But when i look into the database with the psql client, all inserted records
make sure that you have your transaction-type set to Requires or
RequiresNew.
[EMAIL PROTECTED] wrote:
I work with jboss2.2 which connect to postgresql 7.0.2 by its own jdbc driver. I
insert some records into database in my session bean, and no error is reported by
jboss or jdbc. it's
I work with jboss2.2 which connect to postgresql 7.0.2 by its own
jdbc driver. I insert some records into database in my session
bean, and no error is reported by jboss or jdbc. it's seemed that
everything is ok.
But when i look into the database with the psql client, all
inserted
Are you sure you're committing the inserts? You need to make sure you're
calling Connection.commit().
-M@
--
There are more things in heaven and earth,
Horatio, than are dreamt of in your philosophy.
On Sat, 28 Apr 2001, [EMAIL PROTECTED] wrote:
I work with jboss2.2 which connect to