Patches item #615669, was opened at 2002-09-27 15:09
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=615669&group_id=22866

Category: JBossCMP
Group: v3.0 Rabbit Hole
Status: Open
Resolution: None
Priority: 5
Submitted By: Chris Bonham (bonhamcm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Patch for bugid # 615667

Initial Comment:
$ cvs -z3 diff -u JDBCUtil.java 
Index: JDBCUtil.java
=========================================
==========================
RCS 
file: /cvsroot/jboss/jboss/src/main/org/jboss/ejb/plugins/c
mp/jdbc/JDBCUtil.java,v
retrieving revision 1.9.2.2
diff -u -r1.9.2.2 JDBCUtil.java
--- JDBCUtil.java       6 Aug 2002 04:15:29 -0000       
1.9.2.2
+++ JDBCUtil.java       27 Sep 2002 19:59:57 -0000
@@ -208,6 +208,20 @@
          return;
       } 
 
+      if(jdbcType == Types.LONGVARCHAR) 
+      {
+         String string = value.toString();
+         InputStream is = null;
+         try {
+            is = new ByteArrayInputStream(string.getBytes
());
+            ps.setAsciiStream(index, is, string.length());
+         } finally
+         {
+            safeClose(is);
+         }
+         return;
+      }
+
       //
       // Binary types need to be converted to a byte array 
and set
       //

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376687&aid=615669&group_id=22866


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to