) Save, saveorupdate in hibernate

In hibernate, the core concept is po state management. One Po has three statuses: 1. non-persistent VoIn this case, it is a memory object Vo, which is managed by JVM. 2. A persistent Po within the session LifecycleIn this case, the database

Notes in hibernate Cache

1. cache problems in hibernate The lifecycle of level a cache is the same as that of session, for exampleStudent = (student) Session. Load (student. Class, 1 );In such a statement, if you issue such a statement twice, you can use the

Key Points of data source setting in Tomcat 6

The data source configuration in Tomcat 5 is different from that in Tomcat 6.In Tomcat \ conf \ context. XML, JoinAuth = "Container"Type = "javax. SQL. datasource"Maxactive = "20"Factory = "org. Apache. commons. DBCP. basicdatasourcefactory"Maxidle =

Use of tkprof

Use of tkprof Tkprof aims to convert the trace file generated by SQL trace into a format that you can understand. 1. format: tkprof inputfile outputfile [Optional | parameters] parameters and options: Explain = user/password run the explain

Summary of Velocity

Similar to freemarker. Nice stuff. 1 ConfigurationPut the toolbox. xml of velocity under Web-INF, And put velocity. properties under Web-INF. 2 integration with spring velocity Org. Apache. Velocity. Tools. View. servlet. velocityviewservlet org.

Struts2 + freemarker + jstl

Struts2 is good, but its labels are not well supported by DW and other tools at present, even myeclipse is not well supported, so it is not very convenient, But freemarker and jstl are wonderful. For example, freemarker is a good choice for the

SQL optimization solution

The following is my summary of SQL optimization ideas and a summary of system and database Optimization for myself over the past few years. It is not very complete. writing this document is for leaders. Now we share it with you, make corrections

Database Design-inheritance mode)

In addition to the four main design patterns mentioned above, there are also some other models that may be used in some projects. Here we will give a brief description and will not discuss them in depth for the moment, when these models are used in

Uyou u8 database table structure

User Database Table Name Reference Table1 accessaries package table2. accinformation set of books3 adjustpvouch4 adjustpvouchs5 ap_alarmset unit alarm classification settings table6 ap_billage aging Range Table7 ap_cancel write-off status table8

Summary three methods of spring and Struts Integration

Summary of integrating spring and hibernate.   1) Use webapplicationcontext in struts to call SpringDeclare web. xml and a contextloadlistener. Execute the listener at startup to read the spring configuration file. Org. springframework. Web.

5 levels of CMM

They are initial, repeatable, defined, manageable, and optimized.   The multi-stage cmme has five levels: Level 1 (initial level): Although the project objectives are achieved under this level, the implementation of this level carries a lot of

) Flex entry

Address: http://weijie.blog.51cto.com/340746/76060 Author: What is Wei Jie Flex? We can simply understand it as a general term for many technical and service products. It can also be seen as Adobe's J2EE application. Program A Presentation Server

) Uriencode in javascrit

You need to use JavaScript to convert the text into urlencode encoding in ASP. All the information found on the internet is escape, which is not the same as the required encoding. It is hard to find the result and save it for future use.

Let DW 8 and so on recognize CakePHP files

There are many framework template files with different suffixes than HTML. There are many templates. How can we enable Dreamweaver to open and switch to the design view, The following is a common method:   Edit yourExtensions.txtFile in: C: \

Chain in struts 2

One of the major features of struts2 is that the interceptor, especially the interceptor, can constitute an interception chain. This is a good introduction.ArticleIt can help you learn. Here is recommended.Http://www.blogjava.net/max/archive/2006/12/

9-type personality, a good helper at work

9-type personality, a good helper at work. Today, I watched the psychological program on TV and realized that this was a good thing. I searched for it and found that it was a very large-scale academic field, After I did some tests, I also thought

A small reference in struts2

In struts2, we can see a simple permission-based method. The following is a summary of the practices of the most traditional roles, such:1. Define the encoding of each menu item, And so on 2 and then save the role of each user. For example, a

Find a good Apache toolkit for JDBC operations

Dbutils (http ://Commons.apache.org/Dbutils/) Is very good. It is relatively simple to operate the JDBC tool class. For example   Mport java. SQL. connection;Import java. SQL. drivermanager;Import java. SQL. resultset;Import java. SQL. statement;

A good article about XPath in the ibm xml Area

A good article on XPath in the ibm xml area, http://www.ibm.com/developerworks/cn/xml/x-xpathjava/ The main summary is as follows:1 JDK 1.5 already comes with a good import javax. xml. XPath. xpathfactory;Now, use 1.5. 2 core Code Public

Summary of ejb3 + weblogic 10

An example of helloworld and how to use ant to package and its script. First, the program Package com. liao; Public interface HelloWorld {Public String SayHello (String name );} Package liao; Public interface HelloWorldLocal extends HelloWorld { }  

Total Pages: 64722 1 .... 54178 54179 54180 54181 54182 .... 64722 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.