Re: Can't connect to Sybase source, can with
Posted by: John Boy
Date: February 15, 2011 08:39AM

Ok, so I took a break and rebooted. Then tried again after double-checking the values I was adding and I now get this:


Connecting to source database and retrieve schemata names.
Initializing JDBC driver ...
Driver class Sybase JDBC Driver
Opening connection ...
Connection jdbc:jtds:sybase://localhost:2638/demo10;user=xxx;password=xxx;charset=utf-8
Fetching schemata list.
SELECT USERNAME = name FROM sysusers WHERE gid != uid ORDER BY 1
The list of schema names could not be retrieved (error: 0).
ReverseEngineeringSybase.getSchemata :Invalid state, the Statement object is closed.
Details:
net.sourceforge.jtds.jdbc.JtdsStatement.checkOpen(JtdsStatement.java:220)
net.sourceforge.jtds.jdbc.JtdsStatement.getConnection(JtdsStatement.java:1204)
net.sourceforge.jtds.jdbc.JtdsResultSet.getConnection(JtdsResultSet.java:421)
net.sourceforge.jtds.jdbc.JtdsResultSet.close(JtdsResultSet.java:482)
net.sourceforge.jtds.jdbc.JtdsStatement.closeCurrentResultSet(JtdsStatement.java:291)
net.sourceforge.jtds.jdbc.JtdsStatement.closeAllResultSets(JtdsStatement.java:313)
net.sourceforge.jtds.jdbc.JtdsStatement.close(JtdsStatement.java:842)
com.mysql.grt.modules.ReverseEngineeringSybase.getSchemata(ReverseEngineeringSybase.java:102)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
com.mysql.grt.Grt.callModuleFunction(Unknown Source)

Options: ReplyQuote


Subject
Written By
Posted
Re: Can't connect to Sybase source, can with
February 15, 2011 08:39AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.