|
Sorry…I meant assertNotNull(client.queryForObject(“select”, obj)); not assertNotNull(client.queryForObject(“foo”, obj)); From: John Didion
[mailto:[EMAIL PROTECTED] In 2.0.4 (the last version I was able to use with any
success), I could do: -- SQL MAPS -- <cacheModel id="cache" type="LRU"> <flushInterval minutes="30" /> <property name="size"
value="1000" /> </cacheModel> …some insert statement… <select id="select"
parameterClass="MyClass" resultClass="AnotherClass"
cacheModel="cache"> …some select statement… </select> -- JAVA -- MyClass obj = new MyClass(); …set properties… client.update(“insert”, obj); assertNotNull(client.queryForObject(“foo”, obj)); This no longer works in 2.0.8. However, when I disable caching (by
either removing the cacheModel attribute from the select element or setting
cacheModelsEnabled to false in the config file), it works fine. Did something
change or is this a bug? |
- caching broken in 2.0.8? John Didion
- John Didion

