Closed makits closed 10 years ago
I made a prototype of sub project for Mybatis3. see (a88f58fc4a6dc5d91fdab42589a48be8399d92aa).
How do think ? If this prototype is ok, add javadoc and will send pull-request.
[Overview]
Supporting Joda-Time type handlers should be separated from adding dependency on MyBatis3.
By the way, I think terasoluna-gfw should not provide the specific implementations because it causes heavy dependency on the technology and makes terasoluna-gfw vulnerable to change.
I think it's enough to show sample implementations in guideline.
I agree. Remove type handlers, and send pull-request.
Tip) When set null value, does not work by default settings of Mybatis3 In Oracle11g Express edition. Need change a settings as following.
<configuration>
<settings>
<setting name="jdbcTypeForNull" value="NULL" />
</settings>
</configuration>
H2 and PostgreSQL9.2 was OK by default settings of Mybatis3.
See related issue(https://code.google.com/p/mybatis/issues/detail?id=224)
There was a fix leaks...
mybatis-3.2.6-SNAPSHOT was pre-released. If mybatis-3.2.6 released officially before terasoluna-gfw-mybatis3-1.1.0.RELEASE released, i want consider take mybatis-3.2.6.
mybatis-2.3.6 has been released today. Maybe took in mybatis-3.2.6 is good, because some behavior has been improve.
see https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.2.6.
mybatis-3.2.7 has been released 2 days ago.
see https://github.com/mybatis/mybatis-3/releases/tag/mybatis-3.2.7.
apply 3.2.7.
We might be need upgrade to 3.3.0 to support java8 (see #142). See the release note of 3.3.0-SNAPSHOT
But ... 3.3.0 has not been released.
mybatis-3.2.8 has been released. detail see here.
I will apply 3.2.8.
As one of the data access library, MyBatis3 should also be supported.