Re: [JBoss-user] my problem: postgresql 7.0.2 jdbc driver don't update database really

2001-04-28 Thread danch
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

[JBoss-user] my problem: postgresql 7.0.2 jdbc driver don't update database really

2001-04-27 Thread [EMAIL PROTECTED]
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

Re: [JBoss-user] my problem: postgresql 7.0.2 jdbc driver don't update database really

2001-04-27 Thread danch
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

Re: [JBoss-user] my problem: postgresql 7.0.2 jdbc driver don't update database really

2001-04-27 Thread toby cabot
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

Re: [JBoss-user] my problem: postgresql 7.0.2 jdbc driver don't update database really

2001-04-27 Thread Matthew Hixson
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