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
Post a Comment