|
|
|
[
Permlink
| « Hide
]
Stefan Stiller - 27 Nov 06 12:28
I've tested it with Connector/J 5 on a MySQL 4.0.4 database it it seems to work fine. Maybe it depends on both the driver version and the database version.
Highlighting Primary/Foreign keys is broken for me too with the following configurations:
Note: The schema browser works and sees all the pk and fk relations. Forgot to add:
Ok i found the problem.
storesLowerCaseIdentifiers(), storesUpperCaseIdentifiers(), etc on windows.
String columnName=metaData.getColumnName(column); // returns UPPER case column names // so primary key columns are not recognized as primary key columns!
So com.kiwisoft.db.Database would convert all column names to (say) lower case when it is Then ResultSetTableModel need not worry and check/convert case... Basically all metadata is handled in a fixed case regardless of JDBC driver implementation. |
|||||||||||||||||||||||||||||||||||||||||||||||||||