RawrUniversal / xerial

Automatically exported from code.google.com/p/xerial
0 stars 1 forks source link

Calling connection.createBlob() does not properly throw SQLFeatureNotSupportedException #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a Connection using the DriverManager
2. Call createBlob() on the aforementioned Connection

What is the expected output? What do you see instead?
Honestly I expected a Blob, but failing that the Sun documentation states
that this should throw the aforementioned exception.

What version of the product are you using? On what operating system?
Latest build, OSX

Original issue reported on code.google.com by charles....@gmail.com on 13 Feb 2010 at 11:39

GoogleCodeExporter commented 8 years ago

Original comment by taroleo on 11 Mar 2010 at 12:12

GoogleCodeExporter commented 8 years ago
Hi Charles, 

I checked the bug you mentioned, and found the cause of this problem is that 
sqlite-
jdbc is compiled using Java 1.5 for compatibility. Conn#createBlob() methods is 
introduced since Java 1.6, thus your problem is not the problem of sqlite-jdbc, 
rather 
incompatibility of Java 1.5 and 1.6, so I won't fix this problem.

Original comment by taroleo on 11 Mar 2010 at 6:46

GoogleCodeExporter commented 8 years ago

Original comment by taroleo on 12 Mar 2010 at 9:16

GoogleCodeExporter commented 8 years ago
hi charles,
wil u send complete codings using createBlob().how to solve the abstract method 
error:
com.mysql.jdbc.Connection.createBlob():/ljava/sql/blob

Original comment by selvaran...@gmail.com on 6 Oct 2011 at 3:52