[ 
http://issues.apache.org/jira/browse/IBATIS-48?page=comments#action_12431946 ] 
            
Jacek Czerwinski commented on IBATIS-48:
----------------------------------------

In Data Mapper (a.k.a SQL Maps) Version 2.0 Developers Guide, page about 41, 
TypeHandlerCallback sample
public Object valueOf(String s) method throws SQLException, 
but this is wrong, beacuse of real java code (v.2.1.7): this method hasn't such 
declaration and SQLException can't be thrown.
I don't know, what solution is better: ad 'throws' declaration in code or 
change docs.
Is this incostistency depended on iBatis versions ?

This is link:
http://cvs.apache.org/dist/ibatis/ibatis.java/docs/iBATIS-SqlMaps-2_en.pdf
on www page:
http://ibatis.apache.org/javadownloads.html

> Add a section about custom type handlers in SqlMap developer guide
> ------------------------------------------------------------------
>
>                 Key: IBATIS-48
>                 URL: http://issues.apache.org/jira/browse/IBATIS-48
>             Project: iBatis for Java
>          Issue Type: Wish
>          Components: Documentation
>    Affects Versions: 2.0.9
>            Reporter: Al Le
>         Assigned To: Brandon Goodin
>            Priority: Minor
>             Fix For: 2.1.5
>
>
> Since converting bean properties from app to DB domain (when saving to DB) 
> and back (when reading from DB) is an often seen task, a description of how 
> properties of 'non standard' types are handled is desired.
> JavaDoc in the class TypeHandlerCallback is not sufficient as it does not 
> describe how type handlers can be registered, how they are picked up etc.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to