ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c.ze...@ads.it
Subject Problems with the typeHandler property
Date Wed, 25 Oct 2006 10:37:15 GMT


Hi all

I've added the following typeHandler declaration in the sql-map-config file

  <typeHandler javaType="it.finmatica.gpj.ec.frontebd.TipoBD"
jdbcType="VARCHAR"
callback="it.finmatica.gpj.ec.frontebd.TipoBDTypeHandlerCallback" />

and it is not successfully parsed anymore.

Here is the diagnistic:

com.ibatis.common.exception.NestedRuntimeException: Error occurred.  Cause:
com.ibatis.common.xml.NodeletException: Error parsing XML.  Cause:
org.xml.sax.SAXParseException: The content of element type "sqlMapConfig"
must match
"(properties?,settings?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
Caused by: org.xml.sax.SAXParseException: The content of element type
"sqlMapConfig" must match
"(properties?,settings?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
Caused by: com.ibatis.common.xml.NodeletException: Error parsing XML.
Cause: org.xml.sax.SAXParseException: The content of element type
"sqlMapConfig" must match
"(properties?,settings?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
Caused by: org.xml.sax.SAXParseException: The content of element type
"sqlMapConfig" must match
"(properties?,settings?,typeAlias*,typeHandler*,transactionManager?,sqlMap+)+".
      at com.ibatis.sqlmap.engine.builder.xml.SqlMapConfigParser.parse(
SqlMapConfigParser.java:81)

What's wrong?
I use  iBatis.2.1.7_597

Thanks in advance for any help

Cesare
Mime
View raw message