Hi all

I use h2 1.3.176 and dbunit 2.5.2. I want in h2 all not quoted names be as 
they are, but not to be converted to uppercase. After reading this 
information http://stackoverflow.com/a/10793358/5057736 I added to my H2 
URL the following: ;DATABASE_TO_UPPER=FALSE and everything on h2 works as I 
expect.

However, I can't work not with public schema in dbunit because dbunit 
convers schema name to uppercase.
After some investingation I found out, that dbunit has the following code:
if(databaseMetaData.storesLowerCaseIdentifiers())
{
    resultTableName = databaseIdentifier.toLowerCase(Locale.ENGLISH);
}
else if(databaseMetaData.storesUpperCaseIdentifiers())
{
   resultTableName = databaseIdentifier.toUpperCase(Locale.ENGLISH);//THIS 
LINE IS EXECUTED
}

DatabaseMetaData is SQL interface, which as I understand must be 
implemented by H2.
So H2 databaseMetaData.storesUpperCaseIdentifiers() returna true, when it 
must return true in
databaseMetaData.storesLowerCaseIdentifiers(). Am I right? If yes, how to 
fix it?

Best regards, Pavel

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/h2-database.
For more options, visit https://groups.google.com/d/optout.

Reply via email to