spring Things - Development Course

1. spring spring defines things by three APIs Transaction Definition Platform Transaction Manager manages things, submits or rolls back Transaction Status represents the state in which something is running Definition of Things Transaction Definition public interface TransactionDefinition { //Isolation level int getIsolati ...

Posted by williamZanelli on Sat, 26 Jan 2019 23:09:15 -0800

Using mybatis to operate AS400 database

Let's briefly talk about how to use [jt400.jar] to connect to the DB2 database on AS400. jt400.jar resource, if you have AS400 client installed, refer to IBM official website ※ http://www-01.ibm.com/support/docview.wss?uid=swg21398042 Installation directory has jt400.zip, suffix can be used. If you don't have AS400 client installed, download it ...

Posted by mazman on Sat, 26 Jan 2019 05:12:15 -0800

Notes for batch updates

One of my younger brother's needs yesterday was to say that a list set update was put into a table, but it was different from insert. List needs to be encapsulated as map for foreach in incoming xml <update id="updateYesterdayAmountBatch" parameterType="java.util.Map"> update debt_current_user_holding_temp dcu set dcu.y ...

Posted by TheStalker on Thu, 24 Jan 2019 21:30:14 -0800

Introduction to MyBatis-Plus

brief introduction MyBatis-Plus (MP) is a MyBatis enhancement tool. It is based on MyBatis only to enhance without changing. It is born to simplify development and improve efficiency. Characteristic Non-intrusive: only enhance without change, introduce it will not affect existing projects, such as silky smooth Low loss: Aut ...

Posted by chedong on Sat, 19 Jan 2019 07:39:13 -0800

select|insert|update|delete tag parsing process in Mybatis source code - XXXmapper.xml

select|insert|update|delete tag parsing process in Mybatis source code - XXXmapper.xml Prerequisite: Last time I talked about an article entitled uuuuuuuuuuu Resolution Map Label Resolution Process in Mybatis Source-XXXmapper.xml Now let's talk about how Mybatis parses the select|insert|update|delete tag in XXXmapper.xml file. Because these ta ...

Posted by DeathStar on Wed, 09 Jan 2019 19:57:10 -0800

Article Title Spring Boot Dry Goods Series: (11) Data Storage Chapter - Spring Boot Integrated Mybatis Universal Mapper Plug-in

Preface Last time I introduced the simple integration of Mybatis in Spring Boot. This article goes deep into creating a template framework suitable for enterprise development by combining generic Mapper, Mybatis Geneator and Page Helper. text The project framework still uses Spring Boot's ace back-end template ...

Posted by kender on Tue, 08 Jan 2019 23:36:10 -0800

Caused by: java.lang.NullPointerException when inserting data into a database in Java

There was an error in implementing an update data today. org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.exceptions.PersistenceException: ### Error updating database. Cause: java.lang.NullPointerException ### Cause: java.lang.NullPointerException at org.mybatis.spring.MyBatisExceptionTranslator.translateExce ...

Posted by smacpettit on Sat, 05 Jan 2019 18:48:09 -0800

Spring mvc + mybatis+maven integrated swagger ui to automatically generate api documents

Recently, due to the need of the project, we need to integrate the swagger-ui product for automatic generation of api documents. We have studied it for a long time. Of course, we have trampled a lot of pits. It is a summary of some experience. I hope it can help the students who need it to take less detours. I guess I haven't learnt Chinese we ...

Posted by PURU on Fri, 04 Jan 2019 11:09:09 -0800

Using IDEA to Build Multi-Module Aggregation Engineering Based on Maven (Spring mvc+spring+mybatis integration)

If you like to read Wechat, you can also pay attention to my Wechat public number: learn java well and get high quality learning resources. Finally, I have time to do java. Today, I use IDEA to build a multi-module aggregation project based on maven. After many attempts, I finally succeed! Note: ** This is an improved version based on the ori ...

Posted by skaforey on Mon, 31 Dec 2018 13:21:08 -0800

SM Integration Based on Maven (Spring+Spring MVC+MyBatis)

Spring Spring is an open source framework. Spring is a lightweight Java development framework that emerged in 2003. It is derived from some concepts and prototypes elaborated by Rod Johnson in his book Expert One-On-One J2EE Development and Design. It is created to solve the complexity of enterprise application development. Spring uses basic Ja ...

Posted by lordofgore on Mon, 31 Dec 2018 09:03:08 -0800