Re: From 3.1.2 to 4.0.2
Sébastien Pérès-Labourdette <[email protected]>
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Organization | Groupe omerin |
| Message-ID | <[email protected]> |
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. >>> >>> >
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEznMZYIYm11GH+LgZbWUMMqvegosFAl7NOnIACgkQbWUMMqve govRDQgAoHw6+YfzCTy7Dl1S8D/UUz6BXzYODWh3P6V/lslhPva5DHefB6GVsT37 v+8AlPiMmGc+MqGHpJ8CcQlI03ZQCg/NYzUp8CB0+34wyAjChZ7+wy/fWIsg10AB wGV9O9pWPb42Z2N9pCSDaNwVF9sMp/Tk+dvnas/2oMdT9gKmxy+T/0FDL6N4y/Pv 6i1LFd8lDeX93zSssBZUDbVLfzvVGdRAX00covK/xS7PMOBaIzNXa1iLIdSgL7es oEuOQfuK0j2ZAd1ynX4f2AxRjQs6gdjsxI9A3hlpheyBdRmRC5ylqXlFr5rKgUpg EbJJIwSDFJHESy3PiuU8E7I9qHnEpg== =ztuq -----END PGP SIGNATURE-----