Hi,

thanks for the feedback. In my case the application could possibly call 
this quite often. And as the value cannot change without a reconnection I 
think it should be safe to read it only once.

Regards
Thomas


Am Donnerstag, 20. September 2012 20:14:49 UTC+2 schrieb Thomas Mueller:
>
> Hi,
>
> It's true, in MySQL mode the database should return a different value. 
> It's a bit hard to support those features, but it should be possible. I 
> don't know if some applications call those methods a lot, so I guess it's 
> best if the value is only read from the database once per connection 
> (lazily) and from them on the same value is returned (for the given 
> connection). Patches are welcome of course ;-)
>
> Regards,
> Thomas
>
>
>
> On Sat, Sep 8, 2012 at 12:12 PM, Thomas <[email protected]<javascript:>
> > wrote:
>
>> Any thoughts on this?
>>
>> Am Montag, 20. August 2012 18:28:00 UTC+2 schrieb Thomas:
>>
>>> Hello,
>>>
>>> when starting H2 in "MySQL Mode" (using *MODE=MySQL* in the connection 
>>> URL), the documentation says: "Meta data calls return identifiers in lower 
>>> case."
>>>
>>> Unfortunatelyl DatabaseMetaData.**storesUpperCaseIdentifiers() still 
>>> returns true in that case and DatabaseMetaData.**
>>> storesLowerCaseIdentifiers() still returns fals. 
>>>
>>> If those methods are used to determine whether a table named test needs 
>>> to be quoted (because it's stored in a non-default case) the test fails 
>>> because of.
>>>
>>> I would expect DatabaseMetaData.**storesLowerCaseIdentifiers() to 
>>> return true and DatabaseMetaData.**storesLowerCaseIdentifiers() to 
>>> return false in MySQL mode - or am I missing something?
>>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "H2 Database" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/h2-database/-/YwsPnuzJJKsJ.
>>
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> To unsubscribe from this group, send email to 
>> [email protected] <javascript:>.
>> For more options, visit this group at 
>> http://groups.google.com/group/h2-database?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/h2-database/-/WeVn_eI5Ud0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en.

Reply via email to