on 2013 Oct 08 4:52 AM
Hi SqlAnywhere
We had a test with DbSchema database tool against SqlAnywhere and we find few problems in JDBC driver ( jconn4d.jar ) Against Sql Anywhere 11.
DatabaseMetaData.getIndexInfo() should return the index name. It returns the column name where the index name is expected. Also this name changes even if two columns are part of the same index. The index type should be the same for all columns in a single index. When a constraint is created (Pk_mytable) the returned index name should be the same as the constraint name.
DatabaseMetaData.getColumns() does return sometimes the wrong data type. To reproduce this import the schema sales ( AdventureWorks2008 ) and do refresh schema from DbSchema. Some columns which first were varchar on refresh are of type phone.
Request clarification before answering.
Which version and build of SQL Anywhere 11 are you using?
See CR #680196, fixed in 11.0.1.2654 - both of the DatbaseMetaData
operations mentioned in the question were affected.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
61 | |
8 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.