hi, the sample is pseudocode only. If you try it with a more complex structure like library.media.name or our usecase fault.assignedCar.driver.address.street with fault, car and driver as entities and address as basic type, you got the exception.
regards Patrik Nordwall schrieb: > Shouldn't it be first lower case, i.e. the names of the references? > If it is a criteria for Library class I don't think it should include > Library. > > crits.put("media.name", "myName"); > > /Patrik > > > Steffen Stundzig wrote: >> Hi, >> >> I try to use the findByCriteria to search over associations like >> >> Map<String, Object> crits = ... >> crits.put("Library.Media.Name", "myName"); >> >> LibraryRepository.findByCriteria(crits); >> >> Then I got a >> org.fornax.cartridges.sculptor.framework.errorhandling.DatabaseAccessException: >> >> >> could not resolve property: Media.name of: Library; >> >> and so on. The problems in iterating over more then one entity. >> >> I'm using it wrong? >> >> Regards >> Steffen... >> >> >> ------------------------------------------------------------------------------ >> This SF.net email is sponsored by: >> SourcForge Community >> SourceForge wants to tell your story. >> http://p.sf.net/sfu/sf-spreadtheword >> _______________________________________________ >> Fornax-developer mailing list >> Fornax-developer@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/fornax-developer >> >> > -- Steffen Stundzig Telefon: +49 (0) 341 / 231-0183-401 Telefax: +49 (0) 341 / 231-0183-411 Mobil: +49 (0) 151 / 173-9673-1 (!neu) http://itemis.de steffen.stund...@itemis.de https://www.xing.com/profile/Steffen_Stundzig itemis AG Niederlassung Leipzig Ludwig-Erhard-Straße 51 04103 Leipzig Rechtlicher Hinweis: Registergericht: Amtsgericht Dortmund HRB 20621 Sitz der Gesellschaft: 44536 Lünen, Am Brambusch 15-24 Vorstand: Wolfgang Neuhaus, Jens Wagener, Dr. Georg Pietrek Aufsichtsrat: Prof. Dr. Burkhard Igel (Vorsitzender), Stephan Grollmann, Michael Neuhaus ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Fornax-developer mailing list Fornax-developer@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fornax-developer