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 using an EJB?
> -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 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
>disappear.How can i make jboss or postgresql jdbc flush the data created into the
>database?
>> Thanks in advance.
>> [EMAIL PROTECTED]
>>
>
>
>
>
> _______________________________________________
> JBoss-user mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/jboss-user
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user