| java.lang.Object net.jforum.dao.oracle.OracleUtils
OracleUtils | public class OracleUtils (Code) | | author: Dmitriy Kiriy version: $Id: OracleUtils.java,v 1.14 2007/08/31 22:56:40 rafaelsteil Exp $ |
writeBlobUTF16BinaryStream | public static void writeBlobUTF16BinaryStream(String query, int idForQuery, String value) throws Exception(Code) | | The query should look like:
SELECT blob_field from any_table WHERE id = ? FOR UPDATE
BUT KEEP IN MIND:
When you insert record in previous step, it should go with empty_blob() like:
INSERT INTO jforum_posts_text ( post_text ) VALUES (EMPTY_BLOB())
Parameters: query - String Parameters: idForQuery - int Parameters: value - String throws: SQLException - |
|
|