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.

  1. 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.

  2. 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.

asked 08 Oct '13, 03:52

Donose%20Mihai's gravatar image

Donose Mihai
16113
accept rate: 0%

edited 08 Oct '13, 03:54


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.

permanent link

answered 08 Oct '13, 11:58

Jeff%20Albion's gravatar image

Jeff Albion
10.8k171175
accept rate: 25%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×86

question asked: 08 Oct '13, 03:52

question was seen: 2,481 times

last updated: 08 Oct '13, 11:58