-- Grammar problem #1: The 'from Order order where' examples --

Also, notice that I changed 'order' to 'ord' in many of the HQL examples in
the hibernate documentation.  This is because 'order' is a keyword, and the
statement:

Don't worry. Just outlaw keywords as identifiers. The reality is that if we do this, we will need to be supporting two query engines in parallel for quite some time. I have already accepted this. Its the price we pay for not having had time to do this rewrite earlier.


-- Grammar problem #2: The 'current date' problem --

I am not familiar with the 'current date' construct in this example:
        "from Calendar cal where cal.holidays.maxElement > current date"

Is 'current' a function?  If so, is 'date' the argument? Is this ORACLE
specific?

This is DB2. "current date" is a function, I guess. Isn't it possible to just "pass through" any tokens that the parser doesn't recognize as "something else"? If not, there might be other ways to handle this.






-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
hibernate-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/hibernate-devel

Reply via email to