Hi,
When performing a HQL query like this:
from is.company.app.layer.Table1 table1, is.company.app.layer.Table2 table2
an error is returned saying:
unexpected token: is near line...
Running either
from is.company.app.layer.Table1 table1
or
from is.company.app.layer.Table2 table2
works just fine.
So I guess that this class hierarchy starting with is... is causing this problem, as the "is" gets interpreted as a reserved word.
If that's the case, is there a way to escape the class names, so their hierarchy name doesn't conflict with the reserved word "is" ?
Note that running
from Table1 table1, Table2 table2
makes no differences, as the fully qualified clas sname is expanded automatically.
Am using Hibernte 3.1 against MySQL server 5.0.
/Björn
|