Hibernate Introduction Guide

1. When using Hibernate as an orm application, myeclipse is recommended as a development tool.2. Import the corresponding Hibernate jar package into the Lib directory under the Webroot file (webroot - > WEB-INF - > lib) Notes on jar imports in Hibernate development:(1) Provide a Hibernate jar package download link here, address http://pan ...

Posted by frobak on Sun, 02 Jun 2019 15:29:18 -0700

A few trifles about transaction management in spring

1. Transaction management in Spring As an enterprise application framework, Spring defines an abstraction layer on top of different transaction management APIs. Application developers can use Spring's transaction management mechanism without knowing the underlying transaction management API. Spring supports both programmatic and declarative t ...

Posted by michaelpalmer7 on Thu, 30 May 2019 12:17:28 -0700

Grails Version 3.0 and above configure multiple data sources

grails has been upgraded to version 3.0.9 due to work needs, and needs to configure multiple data sources. grails 2.1's multi-source configuration is relatively simple, but more than 3.0 version of the database configuration changes to application.yml for configuration, how to configure multi-source, Baidu and bing search no answer (forgive me ...

Posted by kingbeastie on Sat, 25 May 2019 15:21:02 -0700

The Construction of the First Program of Hibernate Learning Notes 1

Hibernate Learning Notes: Building the First Program Some time ago, I had a little understanding of Struts 2 framework. I was very happy to learn Hibernate framework myself. This blog post will record the process of building the first Hibernate program. In fact, sometimes I feel that no matter what language or framework we learn, the first ...

Posted by infratl on Tue, 21 May 2019 14:37:50 -0700

Mybatis Principle--Caching Mechanism (Level 1 Caching)

MyBatis designed a two-level structure for data caching, which is divided into a first-level cache and a second-level cache:A first-level cache is a Session session-level cache: among SqlSession objects that represent a database session, also known as a local cache.Level 1 caching is a feature implemented internally by MyBatis that users cannot ...

Posted by plasko on Tue, 21 May 2019 10:50:23 -0700

Examples of transactions and transfers

1. What is a transaction? One thing has n components, which either succeed at the same time or fail at the same time. It's about putting n constituent units into one transaction. 2.mysql transactions Default transaction: An sql statement is a transaction, which opens and commits the transaction by default Manual transactions:1) Open a trans ...

Posted by Aaron_Escobar on Mon, 20 May 2019 11:57:29 -0700

Mybatis Framework Learning (2) mybatis.cfg.xml Configuration Notes

Click Open Link I used Idea's IDE environment. To create xml more easily and quickly using mybatis framework, I created templates in my IDE environment. Specific template creation can be viewed by clicking on the following link: ----> to be added later Under the resource folder, create the configuration xml file - > mybatis. cfg. xml Co ...

Posted by serg91 on Sun, 19 May 2019 20:46:15 -0700

05 database connection pool

Database connection pool Label (Space Separation): jdbc Database connection pool Necessity of database connection pool Problems of Traditional Models Database connection pool Working principle Two Open Source Database Connection Pools DBCP Data Source Using DBCP database connection pool Loading configuration f ...

Posted by Delcypher on Sun, 19 May 2019 05:23:25 -0700

hue oozie stepped on the pit again, workflow,coordinator could finally run away.

The front summarizes some pits of sqoop1, oozie and HBase under hue. When the project expires today, we must work out oozie workflow and schedule execution on time to skr skr. 1. The pits of sqoop mysql imported and exported from the front have been trampled. Later, it was found that besides cdh(5.15), sqoop1 was not automatically configured. ...

Posted by Ree on Sat, 18 May 2019 22:13:03 -0700

Hi Travel Interface

Catalog User registration User login Add point (token required) Get Points Add information (requires permissions) File upload Get information          Give the thumbs-up comment Number of information to get points For token, the following information may be returned for some that require token          Remove favors ...

Posted by splat78423 on Sat, 18 May 2019 21:36:16 -0700