[hibernate-dev] Table and quoted names

Max Rydahl Andersen max.andersen at redhat.com
Fri Oct 1 12:26:14 EDT 2010


>> I'd like to figure out if this could be determined by looking at the
>> DatabaseMetaData before making the Dialects have to specify this.  With
>> the Dialects its just another thing we need to "keep in synch".  Not
>> sure if you saw my comments in ObjectName wrt DatabaseMetaData, but
>> those 2 were just the start of my investigation into this.
> 
> Sorry if I misunderstood or if it was discussed before, but when using 
> DatabaseMetaData, it's always wise to have a fall back to the Dialect, 
> in case the driver returns wrong information. For instance, the Sybase 
> 15 JDBC4 driver returns a wrong value for getIdentifierQuoteString() 
> (see https://jira.jboss.org/browse/JBPAPP-4661).
> 

Totally agreed....I guess the question is though if that is going to part of what we
today call Dialect or something else (If i follow Steve's comments right)

/max





More information about the hibernate-dev mailing list