On 31/10/05, Max Rydahl Andersen <[EMAIL PROTECTED]> wrote: > Hi, > > While working on a method to detect if i need to quote columns found when > doing reverse engineering I > saw that JDBC has metaData.getSQLKeyWords() > and metaData.getExtraNameCharacters(). > > Would they not be a good thing to add to the base Dialect auto quoting > based on the above two methods ? > Or are these methods not reliable ?
Certainly would be handy - I just tried it on PostgreSQL and it returned a bunch of keywords. Note these are in addition to the SQL92 keywords, which also don't seem to be quoted in the base Dialect? I currently use a custom NamingStategy to get around reserved words, which is nasty, the Dialect is it's most natural home. Cheers, Mark ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ hibernate-devel mailing list hibernate-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hibernate-devel