Let's give a general explanation.
Example Table
Aid adate
1 A1
2 A2
3 A3
Table B
Bid bdate
1 B1
2 B2
4 B4
Two tables A and B are connected. fields with the same ID must be retrieved.
Select * from a inner join B on A. Aid = B. Bid this
First, C # Only hashtable. hashtable indicates the set of key/value pairs.Code. C # does not have hashmap, while hashmap is an implementation of the map interface introduced by java1.2 ....
1. hashtable is a subclass of dictionary, and hashmap is
Usifng system;
The system namespace contains basic classes and base classes that define common values and reference data types, events, and event processing.Program, Interfaces, attributes, and exception handling.
Other services support data
Initialization must take place after loading and connection. Generally, the Java virtual machine performs initialization on the type only when each class or interface is actively used.Informatization. The following six situations meet the active
1. abstract and static
(What)
Abstract: It is used to declare abstract methods. abstract methods do not have a method body and cannot be called directly. They must be used after the subclass overriding.
Static: Used to declare static methods. Static
1. propagation_required
If no transaction exists, create a transaction. If a transaction already exists, add it to the transaction. This is the most common choice.
2. propagation_supportsSupports the current transaction. If no transaction
1. Declarative transaction Configuration* Configure sessionfactory* Configure the Transaction Manager* Propagation Features of transactions* The methods of those classes use transactions.
2. Compile the business logic method* Inherits the
If you serialize a singleton class and refactor it twice, you will get two instances of that Singleton class unless you implement the readresolve () method, as shown below:
Example 1: A serializable Singleton class
Java codeImportOrg. Apache. log4j.
N + 1 selection problem definition:The n + 1 selects problem is caused by trying to load child records that are related to a list of parent records.
There are three solutions in ibatis
1. Lazy Loading2. Avoid n + 1 select3. Use two select statements
Special characters such as "&", such as inserting URL addresses into the database
Add the command "set define off" before the command line"
An Introduction to Google is as follows:
Execute: Update userinfo set pageurl = 'myjsp? Page = 1 &
1. Do not hard-compile string/numeric. You can use constants instead. (Improve readability)
Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->Int count;
Count = 100;
Private Static const int zero = 0;
Project management process strategy-send to a friend who is a Project Manager
This article is an article about the issues that the project manager needs to pay attention to and pay attention to during the entire project implementation process,
Reprinted: the problem of setting session "never expire" in IIS first describes the situation: the company implements a monitoring system, the B/S structure, mainly used inside the Lan! It may take a long time for the monitoring system to start up.
Cache is the cache, which is often the most important way to improve the system performance, and plays a role in data storage pool and buffer. Cache is especially important for systems that rely heavily on Data Reading operations. In the case of
1. About hibernate cache:1.1.1. Basic Cache principlesThe Hibernate cache is divided into two levels. The first level is stored in the session, which is called the first level cache. It is carried by default and cannot be detached.
The second level
Obtains the value in the session.
$ {Session. User. userid}
$ {Sessionscope. User. userid}
Section 3 ognl
Ognl is the abbreviation of object graph Navigation language. For more information, see: http://www.ognl.org. Here we only
Factory model OverviewThe factory mode belongs to the class creation mode, and the factory mode is responsible for instantiating a large number of classes with common interfaces. The factory mode dynamically determines which class to instantiate
/*** Extended Date: converts date to a string in the specified format.* Month (M), Day (D), 12 hours (H), 24 hours (H), minute (M), second (s), Week (E), quarter (q) can use 1-2 placeholders* Year (y) can use 1-4 placeholders, Millisecond (s) can
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service