Very strange. I've used MySQL 5.1.49 for my tests and Connector/J 5.0.8 and 5.1.18. Did you test with an InnoDB table? I can send you my test project if you want.
Anyway, from what I understand after googling about this problem, this is not in the specifications so this behavior is not consistent between different databases. Boris. On 14 nov, 02:49, Thomas Mueller <[email protected]> wrote: > Hi, > > According to my tests, also MySQL throws an exception > for resultSet.getObject("u.id"). The same as any other database I tested. I > guess you used a different (old?) version of MySQL. > > Yes, you need to use an alias. > > Regards, > Thomas -- You received this message because you are subscribed to the Google Groups "H2 Database" group. 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.
