[ http://issues.apache.org/jira/browse/IBATIS-167?page=all ]
     
Sven Boden closed IBATIS-167:
-----------------------------

    Fix Version: 2.2.0
     Resolution: Fixed

Fixed as in the JIRA comments:

- No additional Junit testcases.  To see it in action:
* in the SqlMapConfig.xml of the testcases of iBATIS set Pool.TimeToWait to 0 
and Pool.PingEnabled to true. And run the test cases. The PingQuery is wrong 
for at least 1 testcase, this shows the enhanced error messages.
* in the SqlMapConfig.xml of the testcases of iBATIS set Pool.PingEnabled to 
true and remove Pool.PingQuery or set Pool.PingQuery to an empty string. Run 
the test cases. This shows what happens when you enable pinging without  a 
proper query.

- I have been running this patch for a long time.

> Improvements in SimpleDataSource
> --------------------------------
>
>          Key: IBATIS-167
>          URL: http://issues.apache.org/jira/browse/IBATIS-167
>      Project: iBatis for Java
>         Type: Improvement
>   Components: SQL Maps
>     Versions: 2.1.0, 2.0.9b, 2.0.9, 2.0.8
>  Environment: All
>     Reporter: Sven Boden
>     Priority: Trivial
>      Fix For: 2.2.0
>  Attachments: SimpleDataSource.java
>
> 1) With some small changes in SimpleDataSource problems as described in 
> IBATIS-158 would occurr much less.
> 2) Requested by Clinton: "The biggest improvement I'd like to make is removal 
> of the exclusive 
> Properties based configuration. I'd rather have a JavaBean style API for 
> configuration, which could potentually use a Properties file still, but with 
> properties that match exact JavaBeans properties for configuration."

-- 
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