I get this error whenever I run my facade through a jsp stub: 

10:04:39,162 ERROR [LogInterceptor]
TransactionRolledbackLocalException in method: public abstract float
com.ovgc.scm.store.domain.MyProductLocal.getProd_price(), causedBy:
java.sql.SQLException: Unable to load to deserialize result:
java.io.StreamCorruptedException: invalid stream header


Here's my code:
                               
            product_local = product_home.findBarcodeObjects2(bcode_id);
                                
                
            System.out.println("++++++"+product_local.getPrimaryKey());
            float test = product_local.getProd_price();
            System.out.println(test);

Here's the xdoclet code for the finder method findBarcodeObjects2()

 * @ejb.finder
 *              signature="java.util.Vector findBarcodeObjects2(java.lang.String 
bcode_id)"
 *              query="SELECT OBJECT(p) FROM MyProduct AS p WHERE p.bcode_id = ?1"


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to