-
Although searching using Criteria with several properties you can use
criteria.add(Restrictions.sqlRestriction("{alias}.nameofcolumn in the table like "+entity.get*())); treating the FKs.
Thanks.
2009-06-11 12:28:31 UTC in JAG
-
I'd to know why the FK relations are generated by the templates as transient since to do search of several fields using Criteria or Example does not recognize these properties.
Thanks.
2009-06-11 10:58:51 UTC in JAG
-
I answer myself:
I have to point strightly the path of the applicationContext.xml in the Test class:
private static final String[] CONTEXT = { "file:/your_own_path/WEB-INF/applicationContext.xml",
"file:/your_own_path/WEB-INF/classes/hibernate.cfg.xml"};
thanks.
2009-03-30 14:30:42 UTC in JAG
-
Hi Rudie ,
I tested the generated ***sessionWebServiceTest with eclipse>junit working successfully but when I try to test the generated ***sessionTest ,in java-test show the following error:
org.springframework.beans.factory.BeanDefinitionStoreException: IOException parsing XML document from class path resource [WEB-INF/applicationContext.xml]; nested exception is...
2009-03-18 10:15:13 UTC in JAG