Hiberante reverse-generates database tables

1,hibernate.cfg.xml Comment out this section of configuration <!--Update database level automatically--> <!--<property name="hbm2ddl.auto">create</property>--> 2. New Generate Database Table Tool Class public class HibernateSchemaExport { static Session session; static Configuration ...

Posted by rashu.dr on Sat, 18 Jul 2020 17:47:25 +0200

Android login registration interface add video background method (simple version)

Describes how to add a video background to the interface found on the Internet, which mimics keep 1. First add the raw folder under the res folder and copy in the video you want to use 2. Add video_under the layout folderBackground.xmlLayout, add Videview control inside layout 3. Change AndroidManifest.xml Content removes Bar from the disp ...

Posted by mhsjrotc on Thu, 16 Jul 2020 17:00:41 +0200

About how to set the default number of sms center number center, a huge question mark, solve!

For beginners, android 4.4 doesn't know how the default number for SMS centers is set, but now it's a rule to write a short summary of what you see every day, so let's just tell it! First I found a place to set the SMS center number on the display of the control: Filename: SimSettingPreferenceActivity.java @Override protected voi ...

Posted by bazza84 on Sun, 12 Jul 2020 18:24:47 +0200

WebDay15 EL&&JSTL&&Filter&&Listener

EL&&JSTL&&Filter&&Listener I EL 1.1 general 1.2 use 1.2.1 get (in domain) value 1.2.2 precautions for El expression 1.2.3 perform operation 1.2.4 implicit objects 1.2.5 understanding 2 JavaBean II. JSTL 2.1 general 2.2 use of core label 2.2.1 use requirements 2.2.2 core ...

Posted by Josepheuan on Sun, 28 Jun 2020 08:25:09 +0200

AJAX & search Association & two ways of paging

Getting started with AJAX AJAX introduction AJAX(Asynchronous JavaScript And XML): asynchronous JavaScript and XML. It is not a new technology in itself, but a combination of multiple technologies. Technology for quickly creating dynamic web pages. If you need to update the content of a normal web ...

Posted by rogair on Sun, 28 Jun 2020 07:53:03 +0200

A thorough understanding of Bean analysis, creation, and use in Spring

Spring Loads Beans, Instantiates Beans, Gets Bean Processes The purpose of this paper is to analyze the process of Spring loading beans, instantiating beans, and getting beans by analyzing the source code. Some of the core content will be explained in the source code.Content is dull, careful! Step one, start a Spring project Spring Startup ...

Posted by fusionpixel on Sun, 28 Jun 2020 02:23:28 +0200

One level of mybatis cache

For the mybatis framework. It seems to be used in copy all the time. For mybatis caching. There is no accurate cognition. Take advantage of the holiday. Learn the cache of mybatis. This article mainly studies the first level cache of mybatis. Why cache In fact, we have been working for a long time, and we know that many bottlenecks ar ...

Posted by yelvington on Sat, 27 Jun 2020 09:29:25 +0200

Loading of spring IOC beans

preface This series is based on Spring 5.2.2.BUILD-SNAPSHOT. Because the whole system of Spring is too large, only the source code of key parts will be parsed. This article mainly introduces how the Spring IoC container loads bean s. text Let's take a look first Loading and registration of Spring IoC BeanDefinition To obtain the bean insta ...

Posted by nels on Sat, 27 Jun 2020 07:22:57 +0200

Java Spring framework: the implementation of SpringIOC-5000 words

Implementation of SpringIOC 1.IOC interpretation 2. Code implementation 3. Realize IOC with parameterless constructor 4. use the constructor with parameters to realize IOC 5. Use factory mode to realize IOC Chain of responsibility: When we use mvc for development, data is transferred between diffe ...

Posted by jase01 on Fri, 26 Jun 2020 05:18:14 +0200

Spring --- the fourth day of learning (transaction control of JDBC template + spring)

JdbcTemplate JdbcTemplate is an object provided in the spring framework, which functions as QueryRunning and is a simple encapsulation of the original Jdbc API object. The spring framework provides many template classes that are facing different database types. Operational relationship data: JdbcTempl ...

Posted by ramus on Fri, 26 Jun 2020 05:12:02 +0200