The forum will experience an outage sometime between February 10 at 7:00pm EST and February 12 at 11:59 EST for installation of security updates. The actual time and duration of the outage are unknown but attempts will be made to minimize the downtime. We apologize for any inconvenience.

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

asked 23 Apr '13, 08:24

Vikas's gravatar image

Vikas
16112
accept rate: 0%

What data type is the column you are trying to set/modify?

(23 Apr '13, 11:01) Jonathan Baker
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×64

question asked: 23 Apr '13, 08:24

question was seen: 1,492 times

last updated: 23 Apr '13, 11:01