java - H2 In memory DB treating ORDER BY differently in MySQL mode -


i have query anorder by on varchar column contains email addresses.

if hit physical mysql db, ignores case in order by. however, h2 in-memory db respecting case. set mysql mode.

anyone know why is?

case sensitivity when evaluating strings in databases determined collation.

check collation handling on h2: http://www.h2database.com/html/grammar.html#set_collation


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -