AnantLabs / xerial

Automatically exported from code.google.com/p/xerial
0 stars 0 forks source link

DatabaseMetadata wrongly converts table names into upper cases. #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Do cx.getDatabaseMetadata().getTables(...)
2. The retrieved table names are converted to upper case.

What is the expected output? What do you see instead?
The original table name should be returned.

Please use labels and text to provide additional information.

Copy of the message: 
-----
Hi all,

I want to start by saying how happy I am I found this project after
working with some alternative sqlite drivers for java. Great job.

That said I have run into a few issues porting code to the xerial
driver. The first has to do with database metadata. When I do a table
lookup of the database metadata:

cx.getDatabaseMetadata().getTables(...)

The underlying query forces the table name to upper case. I am curious
as to what the rationale is behind this.

Many thanks. 

Original issue reported on code.google.com by taroleo on 25 Nov 2009 at 9:00

GoogleCodeExporter commented 9 years ago
I am not sure how useful this will be but here is the change i made to fix this 
locally.

Original comment by jdeolive...@gmail.com on 25 Nov 2009 at 1:43

Attachments:

GoogleCodeExporter commented 9 years ago
changed the milestone

Original comment by taroleo on 25 Nov 2009 at 11:50

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 4ca8c8e9fb.

Original comment by taroleo on 26 Nov 2009 at 4:59