Skip to content

Commit 4e443da

Browse files
committed
Officially deprecated Apache iBATIS support in favor of native Spring support in Mybatis (http://code.google.com/p/mybatis/)
1 parent 89fc6ac commit 4e443da

9 files changed

Lines changed: 27 additions & 0 deletions

‎spring-orm/src/main/java/org/springframework/orm/ibatis/SqlMapClientCallback.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
* @since 24.02.2004
3131
* @see SqlMapClientTemplate
3232
* @see org.springframework.jdbc.datasource.DataSourceTransactionManager
33+
* @deprecated as of Spring 3.2, in favor of the native Spring support
34+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
3335
*/
36+
@Deprecated
3437
public interface SqlMapClientCallback<T> {
3538

3639
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/SqlMapClientFactoryBean.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,10 @@
6666
* @see #setDataSource
6767
* @see SqlMapClientTemplate#setSqlMapClient
6868
* @see SqlMapClientTemplate#setDataSource
69+
* @deprecated as of Spring 3.2, in favor of the native Spring support
70+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
6971
*/
72+
@Deprecated
7073
public class SqlMapClientFactoryBean implements FactoryBean<SqlMapClient>, InitializingBean {
7174

7275
private static final ThreadLocal<LobHandler> configTimeLobHandlerHolder = new ThreadLocal<LobHandler>();

‎spring-orm/src/main/java/org/springframework/orm/ibatis/SqlMapClientOperations.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
3939
* @see SqlMapClientTemplate
4040
* @see com.ibatis.sqlmap.client.SqlMapClient
4141
* @see com.ibatis.sqlmap.client.SqlMapExecutor
42+
* @deprecated as of Spring 3.2, in favor of the native Spring support
43+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
4244
*/
45+
@Deprecated
4346
public interface SqlMapClientOperations {
4447

4548
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/SqlMapClientTemplate.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,10 @@
8080
* @see SqlMapClientFactoryBean#setDataSource
8181
* @see com.ibatis.sqlmap.client.SqlMapClient#getDataSource
8282
* @see com.ibatis.sqlmap.client.SqlMapExecutor
83+
* @deprecated as of Spring 3.2, in favor of the native Spring support
84+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
8385
*/
86+
@Deprecated
8487
public class SqlMapClientTemplate extends JdbcAccessor implements SqlMapClientOperations {
8588

8689
private SqlMapClient sqlMapClient;

‎spring-orm/src/main/java/org/springframework/orm/ibatis/support/AbstractLobTypeHandler.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,10 @@
4646
* @see org.springframework.jdbc.support.lob.LobHandler
4747
* @see org.springframework.jdbc.support.lob.LobCreator
4848
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
49+
* @deprecated as of Spring 3.2, in favor of the native Spring support
50+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
4951
*/
52+
@Deprecated
5053
public abstract class AbstractLobTypeHandler extends BaseTypeHandler {
5154

5255
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/support/BlobByteArrayTypeHandler.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,10 @@
3535
* @author Juergen Hoeller
3636
* @since 1.1.5
3737
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
38+
* @deprecated as of Spring 3.2, in favor of the native Spring support
39+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
3840
*/
41+
@Deprecated
3942
public class BlobByteArrayTypeHandler extends AbstractLobTypeHandler {
4043

4144
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/support/BlobSerializableTypeHandler.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
* @author Juergen Hoeller
4141
* @since 1.1.5
4242
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
43+
* @deprecated as of Spring 3.2, in favor of the native Spring support
44+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
4345
*/
46+
@Deprecated
4447
public class BlobSerializableTypeHandler extends AbstractLobTypeHandler {
4548

4649
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/support/ClobStringTypeHandler.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@
3838
* @author Juergen Hoeller
3939
* @since 1.1.5
4040
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
41+
* @deprecated as of Spring 3.2, in favor of the native Spring support
42+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
4143
*/
44+
@Deprecated
4245
public class ClobStringTypeHandler extends AbstractLobTypeHandler {
4346

4447
/**

‎spring-orm/src/main/java/org/springframework/orm/ibatis/support/SqlMapClientDaoSupport.java‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@
4040
* @see #setSqlMapClientTemplate
4141
* @see org.springframework.orm.ibatis.SqlMapClientTemplate
4242
* @see org.springframework.orm.ibatis.SqlMapClientTemplate#setExceptionTranslator
43+
* @deprecated as of Spring 3.2, in favor of the native Spring support
44+
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
4345
*/
46+
@Deprecated
4447
public abstract class SqlMapClientDaoSupport extends DaoSupport {
4548

4649
private SqlMapClientTemplate sqlMapClientTemplate = new SqlMapClientTemplate();

0 commit comments

Comments
 (0)