File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes HELP..!! Problem with SybPreparedStatement.addBatch Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "HELP..!! Problem with SybPreparedStatement.addBatch" Watch "HELP..!! Problem with SybPreparedStatement.addBatch" New topic
Author

HELP..!! Problem with SybPreparedStatement.addBatch

Aby George
Greenhorn

Joined: Oct 25, 2003
Posts: 2
Hi,
we are facing a problem with the use of SybPreparedStatement.addBatch() when we are trying to use the same for a batch insert into the Sybase database using jConnect4.2 as jdbc driver.
We are getting the exception
java.lang.AbstractMethodError: com/sybase/jdbc/SybPreparedStatement.addBatch
We could find that addBatch() was not implemented in com/sybase/jdbc/SybPreparedStatement when the class was decompiled from jConnect42.zip downloaded from sybase.com
We are using Sybase ASE 12.5 and JDK 1.4.
Can any one throw some light on this ??
Is there any alternative approach by which a batch insert can be performed on a sybase database ?
Thanks in advance,
Aby & Prakasan.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HELP..!! Problem with SybPreparedStatement.addBatch