Spring declarative transaction @Transaction annotation -- isolation level and propagation characteristics

Isolation level Define how much a transaction is affected by other concurrent transactions. Problems caused by transaction concurrency Dirty Reading: One transaction reads data modified by another transaction that has not yet been submitted ...

Posted by khr2003 on Thu, 29 Aug 2019 09:37:55 +0200

SSM Framework Integration Configuration File Writing

Configuration step instructions Red is the cue message Green classes introduced for bean Tags Purple label header for non-bean labels Blue is the name attribute name of the table   I. Dao Layer 1. Import the Data Source Profile (context: ...

Posted by jackel15 on Tue, 27 Aug 2019 13:43:05 +0200

Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid)

Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid) Articles Catalogue Configuration of Data Connection Pool in SpringBook (tomcat,HikariCP,dbcp2,druid) 1. Four connection pools supported in spring boot 2. Configur ...

Posted by moltenice on Mon, 26 Aug 2019 14:04:38 +0200

Spring JdbcTemplate & Declarative Transactions

Basic use of JdbcTemplate 01 - Basic Use of JdbcTemplate - Overview (Understanding) JdbcTemplate is an object provided in spring framework, which is a simple encapsulation of the original tedious Jdbc API objects. The spring framework provides us ...

Posted by whelpton on Thu, 15 Aug 2019 14:09:06 +0200

Servlet&HTTP&Reques

Servlet: 1. Concept 2. Steps 3. Executive Principle 4. Life cycle 5. Servlet 3.0 Annotation Configuration 6. Servlet architecture Servlet -- Interface | GenericServlet -- abstract class | HttpServlet -- abstract class * Generic Servl ...

Posted by kaveman50 on Thu, 15 Aug 2019 13:41:12 +0200

Spring mybatis - ssm framework environment construction (scheme 1)

The SSM framework - S-Spring S-Spring mvc M-mybatis requires the following configuration files to be placed under the resources folder: db.properties is the configuration file of the database connection pool, which has the connection information of the database jdbc: # JDBC jdbc.driverClass=com.mysql.jdbc.Driver jdbc.connectionURL=jdbc: ...

Posted by drepster on Fri, 09 Aug 2019 13:03:55 +0200

JDBC (Tool Class, CRUD, Dao Mode, PrepareStatement)

JDBC JAVA Database Connectivity Java database connection To put it bluntly: JDBC is a kind of database access rules and specifications provided by Sun Company. Because there are many kinds of databases and the java language is widely used, Sun provides a specification for other database providers to i ...

Posted by justin.nethers on Fri, 09 Aug 2019 12:17:30 +0200

Design Patterns - Memorandum Patterns

Articles Catalogue Definition structure Advantages and disadvantages Use scenarios Definition Without destroying the encapsulation, capture the internal state of an object and save it outside the object. In this way, the object can be restored to its original saved state. Type: Behavior class pa ...

Posted by Tim Silva on Fri, 09 Aug 2019 07:58:28 +0200

JAVA Wechat Development - How to Save a Nickname Containing Special Characters

In the development of Wechat, it is very important for us to get user's detailed information through openid, including nicknames, avatars, provinces, cities and districts. But in the mobile age, many people pursue personality and use a lot of Martian characters or emoticons in their names. (I have actually tested a 20w + user's public number, n ...

Posted by sayma on Wed, 07 Aug 2019 08:44:39 +0200

Result Set from BeanHandler and BeanListHandler

Links to the original text: https://blog.csdn.net/smile_Running/article/details/87009755 DBUtils Toolkit DBUtils is an open source JDBC tool class library provided by Apache. It is a simple encapsulation of JDBC and has a very low learning c ...

Posted by signs on Wed, 31 Jul 2019 18:43:32 +0200