hi all,
i have an Transaction EJB "TrxnBean.java" that i've been using successfully for awhile in which i changed one of the fields from boolean to char. i made what (i think) were all the necessary changes in my bean class, my local interface, my dependant object and my "client" java code used to interface with jsp where all gets/sets occur. however i'm still getting this exception when i try to create a new Trxn EJB:
12:56:46,431 ERROR [LogInterceptor] TransactionRolledbackLocalException in method: public abstract com.eventlogic.ejb.trxn.TrxnLocal com.eventlogic.ejb.trxn.Trx
nHomeLocal.create(java.lang.Long) throws javax.ejb.EJBException,javax.ejb.CreateException, causedBy:
java.lang.IllegalArgumentException: \0 not allowed
at org.postgresql.jdbc1.AbstractJdbc1Statement.escapeString(AbstractJdbc1Statement.java:1145)....and on...................
and the most i can tell is that something is going wrong as the local interface tries to create a new TrxnBean EJB. i checked to make sure i had a valid unique primary key when doing .create(Long GUID) and i do.
has anyone seen this before? the '\0' reference in the exception trace is kind of puzzling to me as well.
thanks,
-robin
Greetings.
Did you sync up the backend? I'd suggest testing the bean w/out transactions to see if you can "create" a new record. If you can't, fix it, and then I'd be willing to bet wrapping it in a trx will work again.
cheers.