cancel
Showing results for 
Search instead for 
Did you mean: 

How to use sql Array with Sybase database?

Former Member
3,619

Hi All,

I'm getting "createArrayOf(String arg0, Object[] arg1)has not been completed and should not be called." run time exception while using sql Array with Sybase database.

Presently I'm using drivers from jconn4.jar. Do I need to use something else? I also tried Jconnect 7, but it has same problem.

Usage: String[] list = {"test"};

statement.setArray(1, statement.getConnection().createArrayOf("varchar", ist));

Exception: Exception in thread "main" com.sybase.jdbc4.utils.UnimplementedOperationException: The method com.sybase.jdbc4.jdbc.SybConnection.public Array createArrayOf(String arg0, Object[] arg1) has not been completed and should not be called.

at com.sybase.jdbc4.jdbc.ErrorMessage.raiseRuntimeException(Unknown Source)
at com.sybase.jdbc4.utils.Debug.notImplemented(Unknown Source)
at com.sybase.jdbc4.jdbc.SybConnection.createArrayOf(Unknown Source)

Thanks in advance, Vikas

Accepted Solutions (0)

Answers (0)