entity framework how to lock

Linq to Sql: N-tier applications in the query (above): Back to the custom entity

If the UI layer allows direct access to Linq to Sql's DataContext, can save a lot of problems, such as in dealing with multi-table join, we use var to define L2S query for a specific IDE automatically infer variable types (IQueryable <anonymou

Spring + Hibernate application in the framework of the GenericHibernateDao

GenericHibernateDao Prepared under the framework of Spring + Hibernate application can not be always prepared from a common generic GenericHibernateDao. Access to the Internet to achieve a lot of GenericHibernateDao, collate and analyze the following real

Use Hibernate3 as JDBC Framework

Posted: 2006.03.10 04:27 Source: CSDN of: There's been a certain amount of noise recently surrounding simple JDBC frameworks like iBATIS. I've liked the idea of iBATIS myself, for use in applications which don't need an object-oriented do

JPA's overall thinking and existing Hibernate.TopLink, JDO and other ORM framework

A few days ago, I was responsible for research of the JPA, persistence, mainly with EJB3.0; The project also used JIDE, TWaver; jpa relatively speaking, the Hibernate project if you've ever done, you will be very easy to understand JPA application. Re

Great collection of java interview topics

1, object-oriented features of what has 1. Abstract: Abstract is that it has overlooked a subject has nothing to do with the current goal of those aspects in order to more fully with the current objectives of the attention-related aspects. Abstract does n

Hibernate secondary cache

Hibernate cache: 2-bit cache, also known as process-level cache or SessionFactory level cache, secondary cache can be shared by all of the session Cache configuration and the use of: Will echcache.xml (the document code in hibernate package directory ...

JAVA interview questions

JAVA interview questions 1, object-oriented features of what has 1. Abstract 2. Inheritance 3. Packaging 4. Polymorphisms 2, String data types are the most basic right? Basic data types include byte, int, char, long, float, double, boolean and short. java

12 The most important J2EE best practices

MVC Framework (as well as the J2EE implementation of the MVC) is one of the advantages of the component elements can (in fact, very easy) on your application for unit testing. Therefore, you can easily entity bean, session bean and the JSP an independent

web developed by a number of issues (java directions)

Internship soon, and the company give me a number of questions, let me seriously think about. I encountered some problems, some not, I check the information from the Internet, and finally put together some answers to questions, I hope that users be able t

12 The most important J2EE best practices (transfer)

12 The most important J2EE best practices (transfer) Best Practices: 1, always use the MVC framework. 2, at each level are the application of automated unit testing and test management. 3, in accordance with the norms for the development, rather than in a

Java EE Development Status and Development of Three Musketeers

JSF 2.0 Though Java On display at the framework layer of very intense competition, but the JSF is still stick to their territories. Although there is a lot of JSF's about ease of use and robustness of Critical , but for the positive JSF2.0 solve these

java interview questions large aggregate sum

java interview questions Pen ~ a very comprehensive summary of major java interview questions large aggregate sum First, to talk about the final, finally, finalize the distinction. The most commonly asked. Second, Anonymous Inner Class (anonymous inner cl

java written Guinness Collection

This article is part of my summing up, attachment containing the full content, please download java written Guinness Collection 1. (&,|,^) Logical operation on the operation and conditions (&&,||) difference. (15 points) A major difference bet

Based on JAVA

1 JAVA 】 【basic knowledge related to JAVA Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in

The realization of the field of Hibernate objects with custom fields

testing ...... Introduction In the development of enterprise-class business applications (enterprise scale), the customers tend to demand the system without modifying the source code of the application object model to support scalability. Use of extensibl

Actual DDD (Domain-Driven Design Domain-Driven Design: Evans DDD)

And the field of object-oriented modeling Azeri Panchiao http://www.jdon.com 2006/12/6 (reprint requests to retain) If there is no changing needs, perhaps there would be no today's object-oriented software, we have tried, through demand management, de

Concurrency control strategy J2EE Services summary

In this paper, Hibernate, and JPA standard persistence layer of J2EE design of the current number of problems encountered in summary: Services complicated access control policy Current J2EE project, a common problem faced is that if concurrent access cont

java face test set

Basic knowledge: 1.c + + or java exception handling mechanism in a simple principle and applications. When the java program java in violation of the semantic rules, java virtual machine errors will be expressed as an exception. Violation of semantic rules

REST compared before and after the REST of the URI mapping

September 23, 2008, JSR3111.0 draft Through the JCP Executive Committee to vote in favor of This basically means that it has now been finalized. JSR 311 final draft: RESTful Web Services Java API Wrote JAX-RS is used for the realization of Java-based HTTP

java face questions and answers (based on 122 topics, topics code 19)

Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in order to more fully with the current objec

java face questions and answers (122 questions based on code title 19)

JAVA based on knowledge-related 1, object-oriented aspects of the characteristics of which 1. Abstraction: Abstract is a neglected topic has nothing to do with the current goal of those aspects in order to better attention-related aspects of the current t

Basic knowledge of JAVA-related

Basic knowledge of JAVA-related 1, object-oriented aspects of the characteristics of which 1. Abstract: Abstract is that it has overlooked a theme has nothing to do with the current objectives of those aspects in order to more fully with the current objec

Lucene in Action (Simplified Chinese)

A total of 10 part of the first part of the Lucene core 1. Contact Lucene 2. Index 3. To add a search procedure 4. Analysis of 5. High-pole search technology 6. Extended Search application of the second part of the Lucene 7. Analysis of commonly used docu

Great summary of examination questions java interview Pen

Great summary of examination questions java interview Pen Great summary of examination questions java interview Pen First, to talk about the final, finally, finalize the difference. Most frequently asked. Second, Anonymous Inner Class (anonymous inner cla

The usage of Hibernate in the Criteria

Hibernate is designed CriteriaSpecification as a parent Criteria interface is provided below the Criteria and DetachedCriteria. Criteria and DetachedCriteria The main difference is not the same as the form is created, Criteria is online, so it is carried

java programmer interview necessary 32 points of

Very classic things, was transferred to everywhere, the first written text: First, to talk about the final, finally, finalize the difference. final statement for the properties, methods and classes, respectively, said the property can not be changed, meth

Details of the generic DAO and use Hibernate

Under the framework of the preparation of Spring + Hibernate application can not always be prepared from a common generic GenericHibernateDao. Search the web many GenericHibernateDao implementation, collate and analyze as follows to achieve, for the follo

Spring data access strategy

Spring data access exceptions package <br /> a Checked Exception and the SQLException is different, Spring defines the basic books, visit exception DataAccessException is a RuntimeException, DataAccessException inherited from NestedRuntimeException,

Java Common Questions 1

What are the characteristics of object-oriented aspects of (1). Abstraction: Abstraction is to overlook a topic has nothing to do with the current target those aspects in order to more fully attention-related aspects of the current target. Abstract did no

Hibernate Performance Tuning

HIBERNATE help documentation in accordance with this article, a number of books and project experience in network order made, only the main points and ideas, specific practices can be a message to explore, or find some more detailed and more specific info

With Spring 2.0 and AspectJ simplify the enterprise application

http://hi.baidu.com/jmugis/blog/item/78d9d60af8fc5b1c94ca6bc7.html Spring: Simple and powerful Spring's goal is to make enterprise application development simple and efficient as possible. Of this theory can be an instance of Spring's JDBC, ORM, J

Yahoo! Team practice sharing: Website performance optimization of 34 gold Code (switch)

Yahoo!'s Exceptional Performance team to bring best practices to improve the Web performance. They therefore conducted a series of experiments to develop a variety of tools, written a large number of articles and blog and participate in various meetin

Hibernate - DetachedCriteria the full use of

Recent projects developed using Spring and Hibernate, feeling Criteria relatively easy to use, in the query method   Design Criteria can be flexible according to the characteristics of easily query assembly. Now the usage of Hibernate's Criteri ...

Castor function and application of reference

1. Project Profile Castor is an open source Java project. Its main objective is to XML data, Java objects and database relations between the data provide a direct mapping, making these three object data can be freely switch between them. Castor proje ...

Transfer java written knowledge points

Java written test of knowledge transfer point from http://www.blogjava.net/javawin/archive/2010/03/15/315448.html HashMap & Hashtable: Map interface implementation class will be the only key is mapped to a particular value on: <key,value>. HashM

Software architecture (java in a common software architecture)

What is software architecture? Software architecture as a concept, embodied in the technical and operational aspects. From a technical point of view: software architecture as technology innovations continue to update its content, software architecture bui

Questions Java side xxx

Articles Category: Java programming one, Java Basics 1.Java What are the basic data types, String is not a basic data types, what their differences. 2. String operations: Write a method to achieve reversal of the string, such as: input abc, the output cba

Hibernate transactions and concurrency

Hibernate transactions and concurrency control is very easy to grasp. Hibernate direct use of JDBC connections and JTA resources without adding any additional locking behavior. We strongly recommend that you take the time to understand the JDBC programmin

Oracle ADF 100 the exception of Business Components Error Messages

Oracle ADF Business Components Error Messages The prefix "JBO-" signifies that the following messages were generated by Oracle ADF Business Components. All messages are listed in order by the message code number. Each error message contains an e

Hibernate annotation cache

Hibernate cache is divided into: A cache: In the Session level, in the Session closed when a cache becomes ineffective. 2 Cache: In the SessionFactory level, it can use a different cache implementation, such as EhCache, JBossCache, OsCache so. Note the li

Full use of Criteria

Hibernate - DetachedCriteria the full use of Recent projects developed using Spring and Hibernate, feeling Criteria relatively easy to use, in the query method   Design Criteria can be flexible according to the characteristics of easily query assembly.

Basic knowledge JAVA

Basic knowledge JAVA 1, object-oriented features are what 1. Abstract: Abstract is to overlook a topic unrelated to the current target those aspects in order to more fully pay attention to related aspects of the current target. Abstract did not intend to

Yahoo! Team practice sharing: Website performance optimization of the 34 golden rules (change)

Yahoo! The Exceptional Performance team to bring best practices to improve the Web performance. They do this to conduct a series of experiments, development of a variety of tools, written numerous articles and blog and participate in a variety of conferen

c language questions surface

1. Brief private, protected, public, internal access modifier. A. Private: private members inside the class can access. protected: protection of members of the class and inheritance within the class can access. public: public member, completely open, no a

Java programming experience (cattle were written)

To learn Java also has two years, and always dare not say how proficient, but also want to talk about their feelings, write software, school colleagues, to help people in the technology less detours on the road. Put great thing is our best hope for the Sc

(Reprinted) the basic characteristics of the various cache techniques

First of all, introduce me (the author) use of Cache own background for readers to understand more clearly what I am about to describe. I am primarily a Cache implementation, not a user. In order to give some of ORM (such as JPA implementation) to provide

JAVA programming experience summary

1. On the dynamic loading mechanism?? Learn Java than C + + OOP ideas easier to understand, after all, C + + also mixed a number of process-oriented components. Many people can back out of Java language features, the so-called dynamic loading mechanism so

Legendary Interview Collection

Great summary of java interview questions document Basic knowledge JAVA 1, object-oriented features are what 1. Abstract: Abstract is to overlook a topic unrelated to the current target those aspects in order to more fully pay attention to related aspects

study notes (4)

Introduction Chapter 7, Spring framework (IOC) Lightweight container is an important starting point is the elimination of many J2EE applications, home-made factories and Singleton. For service-type object, Singleton pattern is sufficient. Factory Bean: Fa

Great summary of java interview questions document

Great summary of java interview questions document Basic knowledge JAVA 1, object-oriented features are what 1. Abstract: Abstract is to overlook a topic unrelated to the current target those aspects in order to more fully pay attention to related aspects
Recent
Recent Entries
Tag Cloud
Random Entries