Hi, > Am I correct in saying that by default H2 does not return aliased > names from ResultSetMetaData.getColumnName? To get this functionalty I > need to use one of the compatibility modes?
H2 used to return aliased named, but that changed in version 1.1.x because people convinced me it is more 'standard'. You can use the compatibility mode, or you can set the system property h2.aliasColumnName to true, see http://www.h2database.com/javadoc/org/h2/constant/SysProperties.html#h2.aliasColumnName > I would have thought that returning alias are pretty much > 'standard'... That depends... Did you read it anywhere (book or online)? 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 -~----------~----~----~----~------~----~------~--~---
