This one time, at band camp, val lee said:
vl> String sql = "CALL SQL UPDATE registrationform SET "+
vl> "name='" + name + "', description='" + description +
vl> "', bureau_id='" + bureau_id + "' WHERE id='" + id +
vl> "' AS com.val.jxf.jdo.RegistrationForm";
vl>db = jdo.getDatabase();
vl>db.begin();
vl>OQLQuery query = db.getOQLQuery(sql);
vl>results = query.execute();
vl>db.commit();
vl>But it does not work and castor throws exception!
vl>What's wrong? Thanks, in advance!
Val,
What exception is being thrown? Please post the full stack trace.
Bruce
--
perl -e 'print unpack("u30","<0G)[EMAIL PROTECTED]&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://incubator.apache.org/projects/geronimo.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev