Hi.

Got it, thanks, i'll do so.

Now after upgrading and going through some unit tests with success, i'm
on my may to some integration tests.

Cayenne fails to initialize due to :

java.lang.ExceptionInInitializerError
Caused by: org.apache.cayenne.ConfigurationException: [v.4.0.2 Oct 09
2019 13:47:33] Error loading configuration from
file:/C:/devel/droot/projects/manfred/ofc-cayenne/target/classes/cayenne-business.xml
Caused by: org.xml.sax.SAXNotRecognizedException:
http://apache.org/xml/features/disallow-doctype-decl

Any idea of what may be the cause of such en error ?

Cheers
Sébastien.


------------------------------------------------------------------------
*De : *Andrus Adamchik <[email protected]>
*Envoyé : * Vendredi 8 Mai 2020 07:37:19
*À : *User <[email protected]>
*Objet : *Re: From 3.1.2 to 4.0.2
> Yep, here is an example:
>
> https://cayenne.apache.org/docs/4.0/cayenne-guide/#mappedselect-and-mappedexec
>  
> <https://cayenne.apache.org/docs/4.0/cayenne-guide/#mappedselect-and-mappedexec>
>
>
> BTW, Cayenne 4.1 is on the verge of the GA release. So if you are upgrading, 
> you might as well jump straight to 4.1. There are no downsides that I can 
> think of.
>
> Andrus
>
>
>
>> On May 7, 2020, at 7:53 PM, John Huss <[email protected]> wrote:
>>
>> Not at a computer at the moment - try MappedSelect.
>>
>> On Thu, May 7, 2020 at 11:51 AM Sébastien Pérès-Labourdette <
>> [email protected]> wrote:
>>
>>> Hi.
>>>
>>> In 4.0.2, what happened to getEntityResolver().lookupQuery(queryName) ?
>>>
>>> How to fetch my queries from my datamap xml in 4.0.2 ?
>>>
>>> Cheers
>>> Sébastien.
>>>
>>>
>

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to