posted 14 years ago
Hi everyone!
I am using TopLink Essentials implementation of JPA. I created a small client application running with JSE 1.5.15.
I declared the following named query in my orm.xml file:
I tested this and it worked like a charm.
Then, I decided that, in order to avoid the use of XML entities, I could place the query in a CDATA section. Somehwhat like this:
Then I got an error when I try to run the program. The persistence context does not even gets created. It fails when I try to crete the EntityManagerFactory.
This is really weird:
Any idea about what is going on here?
Thanks in advance,
Edwin Dalorzo
[ October 13, 2008: Message edited by: Edwin Dalorzo ]