This one time, at band camp, Bob Lee said:
BL>When does Castor use prepared statements?
BL>
BL>For example, will:
BL>
BL>SELECT o FROM SomeObject o WHERE o.id = '1'
BL>
BL>and
BL>
BL>SELECT o FROM SomeObject o WHERE o.id = ?
BL>
BL>result in the same prepared statement?
Castor uses PreparedStatements for most of the queries to
persistence. These queries are generated based on the mapping
descriptor. As for your second question, I'm not sure I follow. In what
context are these two queries used?
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev