-
Bug
-
Resolution: Fixed
-
P3
-
1.3.0
-
rc1
-
x86
-
windows_nt
Name: krT82822 Date: 02/20/2000
ANY 1.2.1, 1.2.2, or 1.3 jdk or jre for Windows or Sun
This function
//----------------------------------------------------------------------------
// tablePrivileges
//----------------------------------------------------------------------------
JNIEXPORT void JNICALL sun_jdbc_odbc_JdbcOdbc_tablePrivileges (
JNIEnv *env, jobject *callingObject,
jint hStmt,
jbyteArray catalog, jboolean catalogNull,
jbyteArray schema, jboolean schemaNull,
jbyteArray table, jboolean tableNull,
jbyteArray errorCode)
{
in the file src/share/classes/sun/jdbc/odbc/JdbcOdbc.c
has had the string "Java_" removed from its name, making it no longer accessable
as a native method from the class sun.jdbc.dbc.dbcOdbc
This results in an unsatisfied link error when calling that classes
public SQLTablePrivileges method.
The typical way to get there is to call getTablePrivledges on a class
implementing the DatabaseMetaData interface, in this case an instance
of a JdbcOdbcDatabaseMetaData object.
This has been so broken for so long that it makes me wonder what testing
strategy you are using on the sql stuff. Is it really true that you haven't
developed test suites with complete code coverage?
Anyway, if you would fix this before you ship 1.3, I could produce better
product on top of it.
(Review ID: 98440)
======================================================================