Hi,
I have some code that looks like this:
/**
* @ejb.persistence
* column-name="card_number"
*/
public abstract byte[] getCardNumber();
It doesn't work. If I change the byte[] to a String it works fine, but as it is I get
the following error:
Caused by: javax.ejb.TransactionRolledbackLocalException: Internal error getting
results for field member cardNumber; CausedByException is:
Got a java.lang.String[cl=0, value=abcdefg] while looking for a
[B[cl=4558657]; CausedByException is:
Internal error getting results for field member cardNumber; CausedByException
is:
Got a java.lang.String[cl=0, value=abcdefg] while looking for a [B[cl=4558657]
at
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:204)
at
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:315)
....
With Jrun, I could just switch between byte[] and String no problem, but I can't with
JBoss.
Any suggestions?
Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842430#3842430
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842430
-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user