Hello, In working with Turbine 2.2b3, which uses Torque, which uses Village 1.5.3. I discovered a bug wherein data saved via Tur bineUser.setPerm() throws an exception for data sizes greater than 4,000 bytes. It turns out that this is a constraint in the Oracle JDBC driver (I'm not sure if this applies to other drivers or not). Since Village was using get/setBytes() for binary data the JDBC driver limits this to 4,000 bytes. The solution is to use streaming data per the attached OTN article.
I've made the necessary changes to Value.java (attached). There is probably a more formal way of submitting bugs/patches, but I don't have time right now. I've made this change locally, and everythings seems to work fine. This change should be moved into the Village code base in some form. -Mitch http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/java.817/a8 3724/basic4.htm
<<attachment: winmail.dat>>
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
