Tricky question ;) Of course I did:
properties:
core=pl/psnc/progress/szd/rad/sqlrad_pg.xml
sqlMapConfig:
sqlMap resource=${core} /
Exception:
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML. Cause:
java.lang.RuntimeException: Error parsing XPath '/sqlMapConfig/sqlMap'.
Should your resultClass be java.lang.Long instead of just long ?
On Wed, 2 Feb 2005 14:17:02 +0800, Gustavo Kuerten [EMAIL PROTECTED] wrote:
The solution offered by Larry
http://www.mail-archive.com/ibatis-user-java@incubator.apache.org/msg00673.html
does not work in my case. Anyone can offer
Hmmthis is an easy fix. I probably neglected to pass sqlMap
attributes through the property tokenizer.
Clinton
On Wed, 2 Feb 2005 14:28:19 +0100, Micha Maecki
[EMAIL PROTECTED] wrote:
Tricky question ;) Of course I did:
properties:
core=pl/psnc/progress/szd/rad/sqlrad_pg.xml
I agree with Larry 100% on this one. Implicit behaviour is the enemy
of maintainable software.
Clinton
On Wed, 2 Feb 2005 06:17:21 -0700, Larry Meadors
[EMAIL PROTECTED] wrote:
On Wed, 02 Feb 2005 13:07:43 +1100, Huy [EMAIL PROTECTED] wrote:
Larry Meadors wrote:
Just curious: If you can
I've found that the column alias needs to match the property name:
selectKey resultClass=java.lang.Integer
keyProperty=criteriaConsistId
SELECT LAST_INSERT_ID() AS criteriaConsistId
/selectKey
--- Clinton Begin [EMAIL PROTECTED] wrote:
long should work (convenient aliases). Now, beyond that
I can not get log4j.properties tuned to check up the value
of
dynamic-mapped-statement.
PreparedStatement
/dynamic-mapped-statement .
Is there any example? Thank you.
regards
Sergey mailto:[EMAIL PROTECTED]
Just set
java.sql=DEBUG
com.ibatis=DEBUG
...and you'll get all of the logging we provide.
Question though: Why are you using 1.x? At the very least, upgrade
your SQL Mapping XML files to 2.x, even if you still have dependency
on the 1.x Java API.
Cheers,
Clinton
On Wed, 2 Feb 2005
I understand,
Thank you a lot.
CB Just set
CB java.sql=DEBUG
CB com.ibatis=DEBUG
CB ...and you'll get all of the logging we provide.
CB Question though: Why are you using 1.x? At the very least, upgrade
CB your SQL Mapping XML files to 2.x, even if you still have dependency
CB on the 1.x
Could you please help me figure out the cache scheme.
When I'm within one application I can use the flush method.
How should I correctly develop a cashing scheme if data is saved by one
application and displayed by another? Would it be helpful to have a
signal record that I initially read from
9 matches
Mail list logo