[hibernate-dev] Table and quoted names

Steve Ebersole steve at hibernate.org
Fri Oct 1 10:38:55 EDT 2010


On Fri, 2010-10-01 at 15:57 +0200, Max Rydahl Andersen wrote:
> > 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.
> 
> Ok, saw it now.
> 
> I'm eery to requiring databasemetadata access as part of the Table model since I (at least until now) have
> been using them extensively without wanting to require a running db...(which is not a requirement today).

I have to be honest that I fail to grasp when you would want to generate
code for accessing a database without having access to that database for
exactly information like this.

Keep in mind that there exists a split here too that did not exist
previously.  Namely the notion of (a) building a metamodel and (b)
compiling* a metamodel.  You and I discussed this on IM.  "Compiling" is
the process of taking the metamodel and making it specific for a
particular database.

* - not sure the best name for this process; open to suggestions

-- 
Steve Ebersole <steve at hibernate.org>
http://hibernate.org




More information about the hibernate-dev mailing list