When i migrate spring 3 to spring 4, iBatis is no longer support for spring 4. After google, i have added dependency 'mybatis-2-spring' into pox.xml but extended class 'SqlMapClientDaoSupport' class is deprecated. So could you please help is there any updated or upgraded class which is related to 'SqlMapClientDaoSupport' class that is used in MyBatis?
Facing deprecated issue after migrating iBatis to MyBatis into spring 4
1.1k Views Asked by vishal kumar At
1
There are 1 best solutions below
Related Questions in MYBATIS
- Postgres && statement Error in Mybatis Mapper?
- Mybatis-plus doesn't work! ERROR INFO:org.mybatis.spring.MyBatisSystemException
- SpringBoot is not picking Application.properties from src/main/resources
- Why can't I correctly use ibatis
- Bulk Insert with Spring-boot and my mybatis
- Is it possible to call a new query within a conditional statement in MyBatis?
- SaaS multi_tenant questions
- throw UnsupportedOperationException: null while using mybatis
- Spring Boot Can't Connect To MySQL,"Property 'sqlSessionFactory' or 'sqlSessionTemplate' are required"
- Is it acceptable to perform an update operation within a @GetMapping method in Spring MVC?
- How to enable transaction logging in a Springboot&MyBatis project?
- springboot mvc web project works fine eventhough resultType in Mapper.xml is different from type in java code
- Spring integration mybatis failed throws: java.lang.TypeNotPresentException: Type org.apache.ibatis.session.SqlSessionFactory not present
- NoClassDefFoundError: org/apache/ibatis/reflection/ExceptionUtil
- Mybatis return -1 when insert and update query execute
Related Questions in IBATIS
- Why can't I correctly use ibatis
- Error initializing TransactionManager. Could not instantiate TransactionConfig
- java Myabtis exceptionjava Myabtis exceptionjava Myabtis exception
- SQL state [99999]; error code [17068] nested exception is java.sql.SQLException:
- How to truncate all tables using a SQL query
- CreateOracleArray of OracleConnection always create an array internally null
- ORA-06550: row 1, column 7: PLS-00306: ORA-06550: wrong number or types of arguments
- How to create performance listener for MyBatis statements
- Generatedkey in DB2
- MyBatis accessing method parameter in subquery
- iBatis query object with a nested list of objects
- how to insert query in mybatis with parameter list?
- How to make null must error if input is empty in mybatis?
- The attribute id is undefined for the annotation type Results using Mybatis
- Ibatis filling up Nested object in Java
Related Questions in SPRING-4
- Migration Spring v2 to Spring v4 for org.springframework.cloud.stream.annotation
- Spring 4.3 SSE returns net::ERR_INCOMPLETE_CHUNKED_ENCODING 200
- Communication between two spring controllers from different spring applications deployed into single tomcat server
- How the synchronization between the poller and the service activator is handled by default in Spring Integration 4.3
- Redirect interceptor gets a wrong RequestURI in spring MVC
- How do you get property placeholders from one .properties resolved from another .properties through jasypt?
- Spring: The DispatcherServlet configuration needs to include a HandlerAdapter that supports this handler
- Spring security for non-Springboot app is not working
- Struts 2.5 Junit test setup with spring integration
- Spring4 MVC keep session alive forever
- Spring @Conditional based on a value in database table
- springdoc-openapi + Spring 4 Compatibility
- aws sqs starts up with an NoSuchMethodError error
- Spring 4 Session Cookie change field
- Context initialization failed org.springframework.beans.factory.BeanDefinitionStoreException: Failed to read candidate component class: file
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular # Hahtags
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
If you want to use iBATIS 2.x with Spring 4+, adding mybatis-2-spring to the dependencies list is the right solution.
SqlMapClientDaoSupportis still deprecated, but it should work fine.If you want to remove the warnings, just add
@SuppressWarnings("deprecation")to your DAOs.Hope you find the time to upgrade to the latest version of MyBatis (3.5.3 at the moment) soon. :)