Hi,
Aaron wrote:
[snip]
Those cases where Hibernate generates SQL that is not compatible with a
specific database should be treated as bugs in Hibernate. (i.e. The Dialect
implementation is incorrect.) What I would like to see is one of two types
of exception thrown during HQL compilation:
1)
> > I suggest that named query validation be done by the
> > Dialect implementation, rather than by checking against a live DB.
>
> Why the dialect? It doesn't know about the schema, does it?
Ok, I guess I wasn't being particularly precise when I suggested the Dialect. The
complete validat
See my comments below. (Please remember that I'm the FNG around here so my
comments might be dumb ;->).
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of Aaron Knauf
> Sent: Tuesday, June 29, 2004 6:24 PM
> Subject: RE
I agree with Max.
Sorry for the long email, but I wanted to express a particular way of looking at this
problem, as much as an opinion on how best to solve it.
To summarize for those not interested in the long-winded version, I suggest that named
query validation be done by the Dialect implemen