This forum is now a read-only archive. All commenting, posting, registration services have been turned off. Those needing community support and/or wanting to ask questions should refer to the Tag/Forum map, and to http://spring.io/questions for a curated list of stackoverflow tags that Pivotal engineers, and the community, monitor.

iBatis: mapping to char

Jul 11th, 2007, 08:03 AM

I've tried using java.lang.String to map a java property that is a char (that maps a CHAR column in the MySQL db) and somehow it works okay. Is this the preferred way of mapping chars in iBatis? Or is there some other way? iBatis doesn't have a built in char type alias.