Officially deprecated Apache iBATIS support in favor of native Spring support in Mybatis (http://code.google.com/p/mybatis/)
This commit is contained in:
parent
89fc6acba8
commit
4e443da7ae
|
@ -30,7 +30,10 @@ import com.ibatis.sqlmap.client.SqlMapExecutor;
|
|||
* @since 24.02.2004
|
||||
* @see SqlMapClientTemplate
|
||||
* @see org.springframework.jdbc.datasource.DataSourceTransactionManager
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public interface SqlMapClientCallback<T> {
|
||||
|
||||
/**
|
||||
|
|
|
@ -66,7 +66,10 @@ import org.springframework.util.ObjectUtils;
|
|||
* @see #setDataSource
|
||||
* @see SqlMapClientTemplate#setSqlMapClient
|
||||
* @see SqlMapClientTemplate#setDataSource
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public class SqlMapClientFactoryBean implements FactoryBean<SqlMapClient>, InitializingBean {
|
||||
|
||||
private static final ThreadLocal<LobHandler> configTimeLobHandlerHolder = new ThreadLocal<LobHandler>();
|
||||
|
|
|
@ -39,7 +39,10 @@ import org.springframework.dao.DataAccessException;
|
|||
* @see SqlMapClientTemplate
|
||||
* @see com.ibatis.sqlmap.client.SqlMapClient
|
||||
* @see com.ibatis.sqlmap.client.SqlMapExecutor
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public interface SqlMapClientOperations {
|
||||
|
||||
/**
|
||||
|
|
|
@ -80,7 +80,10 @@ import org.springframework.util.Assert;
|
|||
* @see SqlMapClientFactoryBean#setDataSource
|
||||
* @see com.ibatis.sqlmap.client.SqlMapClient#getDataSource
|
||||
* @see com.ibatis.sqlmap.client.SqlMapExecutor
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public class SqlMapClientTemplate extends JdbcAccessor implements SqlMapClientOperations {
|
||||
|
||||
private SqlMapClient sqlMapClient;
|
||||
|
|
|
@ -46,7 +46,10 @@ import org.springframework.transaction.support.TransactionSynchronizationManager
|
|||
* @see org.springframework.jdbc.support.lob.LobHandler
|
||||
* @see org.springframework.jdbc.support.lob.LobCreator
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class AbstractLobTypeHandler extends BaseTypeHandler {
|
||||
|
||||
/**
|
||||
|
|
|
@ -35,7 +35,10 @@ import org.springframework.jdbc.support.lob.LobHandler;
|
|||
* @author Juergen Hoeller
|
||||
* @since 1.1.5
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public class BlobByteArrayTypeHandler extends AbstractLobTypeHandler {
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,7 +40,10 @@ import org.springframework.jdbc.support.lob.LobHandler;
|
|||
* @author Juergen Hoeller
|
||||
* @since 1.1.5
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public class BlobSerializableTypeHandler extends AbstractLobTypeHandler {
|
||||
|
||||
/**
|
||||
|
|
|
@ -38,7 +38,10 @@ import org.springframework.jdbc.support.lob.LobHandler;
|
|||
* @author Juergen Hoeller
|
||||
* @since 1.1.5
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientFactoryBean#setLobHandler
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public class ClobStringTypeHandler extends AbstractLobTypeHandler {
|
||||
|
||||
/**
|
||||
|
|
|
@ -40,7 +40,10 @@ import org.springframework.util.Assert;
|
|||
* @see #setSqlMapClientTemplate
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientTemplate
|
||||
* @see org.springframework.orm.ibatis.SqlMapClientTemplate#setExceptionTranslator
|
||||
* @deprecated as of Spring 3.2, in favor of the native Spring support
|
||||
* in the Mybatis follow-up project (http://code.google.com/p/mybatis/)
|
||||
*/
|
||||
@Deprecated
|
||||
public abstract class SqlMapClientDaoSupport extends DaoSupport {
|
||||
|
||||
private SqlMapClientTemplate sqlMapClientTemplate = new SqlMapClientTemplate();
|
||||
|
|
Loading…
Reference in New Issue