aspose file tools*
The moose likes JDBC and the fly likes Jdbc: Using SQL ARRAY Type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Jdbc: Using SQL ARRAY Type" Watch "Jdbc: Using SQL ARRAY Type" New topic
Author

Jdbc: Using SQL ARRAY Type

NitishK Kumar
Ranch Hand

Joined: Oct 20, 2010
Posts: 40

I wrote following code:

package jdbc2.array;
import java.sql.*;

It compiled successfully but when I executed it, I got the error as follows:

Exception in thread "main" java.lang.AbstractMethodError: oracle.jdbc.driver.T4CConnection.createArrayOf(Ljava/lang/String;[Lja
va/lang/Object;)Ljava/sql/Array;
at jdbc2.array.ArrayStore2.main(ArrayStore2.java:12)

I am using oracle 10g express edition. Is there is problem with driver or something else? Please help me.
NitishK Kumar
Ranch Hand

Joined: Oct 20, 2010
Posts: 40

I am confused whether it the problem with the driver or any other reason there due to which I got the error. Please let me know.
 
 
subject: Jdbc: Using SQL ARRAY Type