You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In case of long orm.xml files, some queries will not read completly. In log file you will see something like:
Start of element url: http://java.sun.com/xml/ns/persistence/orm, localName: query, qName: query, attributes: {}
Element body SE
Element body LECT o FROM SomeDatabaseEntrie o WHERE o.someAttribute=:abc
End of element url: http://java.sun.com/xml/ns/persistence/orm, localName: query, qName: query
If this happens, the named query parsing will fail with last "element body" block, in this example something like this: "LECT o FROM SomeDatabaseEntrie o WHERE o.someAttribute=:abc" can't parsed as named query.
I think this could be solved by concat CDATA blocks in QueryElement implementation:
In case of long orm.xml files, some queries will not read completly. In log file you will see something like:
If this happens, the named query parsing will fail with last "element body" block, in this example something like this: "LECT o FROM SomeDatabaseEntrie o WHERE o.someAttribute=:abc" can't parsed as named query.
I think this could be solved by concat CDATA blocks in QueryElement implementation:
The text was updated successfully, but these errors were encountered: