The problem is that something has broken jConnect 5.2. (We've also tried
5.5)
JDK 1.4 is supposed to be binary compatible with earlier bytecode.
The exception is shown below.
As you can see, it has to do with jConect trying to get the Metadata
from the database. This same applications works fine under jdk1.3. The
database DOES contain the metadata, despite what the error says.
Could someone at Sybase please try out the new jdk beta and see if they
can find the cause of the problem?
(We could log a bug in Java Bug Parade, but I don't see how Sun are
going to be able to diagnose the problem...)
Thanks,
Milton Taylor
Ingennia Systems Pty Ltd
Exception:
java.sql.SQLException: JZ0SJ: Metadata accessor information was not
found on this database. Please install the required tables as mentioned
in the jConnect documentation.
at
com.sybase.jdbc2.jdbc.ErrorMessage.raiseError(ErrorMessage.java:490)
at
com.sybase.jdbc2.jdbc.MdaManager.getMetaDataAccessor(MdaManager.java:292)
at
com.sybase.jdbc2.jdbc.MdaManager.getMetaDataAccessor(MdaManager.java:265)
at
com.sybase.jdbc2.jdbc.MdaManager.getMetaDataAccessor(MdaManager.java:256)
at com.sybase.jdbc2.jdbc.MdaManager.<init>(MdaManager.java:151)
at com.sybase.jdbc2.jdbc.MdaManager.<init>(MdaManager.java:120)
at
com.sybase.jdbc2.jdbc.SybConnection.checkMDA(SybConnection.java:1561)
at
com.sybase.jdbc2.jdbc.SybConnection.getMDA(SybConnection.java:1359)
at com.sybase.jdbc2.tds.Tds.setOption(Tds.java:1017)
at
com.sybase.jdbc2.jdbc.SybConnection.setAutoCommit(SybConnection.java:578)
at com.bv.frz.Main.<init>(Main.java:35)
at com.bv.frz.Main.main(Main.java:118)
SQLException: SQLState(JZ0SJ)