Original Address:several objects of Java (Po,vo,dao,bo,pojo) explained MunandongOne, Po:persistant object persistent objects, can be seen as a Java object mapped to a table in the database. The simplest PO is a record in a table in the corresponding database, and multiple records can be used with a collection of PO. The PO
ORM: is an abbreviation for the Object relational Mapping (objects relational mapping).The popular point is that the object is bound to the relational database, and the object is used to represent the relational data. In the o/r/m world, there are two basic and important things to understand, namely VO, PO.PO: (Persistant object), persistent objectsCan be seen as a Java object mapped to a table in the database. Using hibernate to generate a PO is a go
VO (Value object) value Objects
Typically used for data transfer between business tiers, created with the New keyword, collected by GC, is just like a PO that contains only data. But it should be abstracted out of the business object that can correspond to the table, or not, depending on the business needs. Individuals feel like the DTO (data transfer object) is passed on the web.
PO (Persistant object) P
The large number of professional abbreviations in the development of Java EE is confusing, especially with some experts to discuss the problem, three minutes by someone's mouth full of professional terminology spray halo, PO VO BO DTO POJO DAO, a lot of it came (heard Old Luo's critique of this phenomenon friend will smile).First of all, I am not a master of the statement, the following summary is their own experience. Please advise me on the wrong pl
What does vo, PO, BO, DAO, pojo mean in java?Recently in the project, met vo, my God ... Then learn to remember it together.Let's start with a simple explanation:the o/r Mapping is an abbreviation for the object relational Mapping. Simply put, the object is bound to the relational database, and the object is used to represent the relational Data.Java WEB three-tier Architecture We need to be skilled at it.VO: Value ObjectCreated with the new keyword,
Take a look at the many PO design patterns used in the Python Selenium automated testing practice.Why do you use a POStarting with the Python selenium2 is not a daunting task to start writing UI Automation test scripts. You only need to navigate to the element and perform the action of the corresponding element.Let's take a look at this simple script to implement Baidu search.From the above code, what we can do is to locate the element and then do key
Po: persistant objectPersistent objects can be viewed as Java objects mapped to tables in the database. The simplest Po is to correspond to a record in a table in the database. A set of PO can be used for multiple records. PO should not be includedThe advantage of any operations on the database is that one record can b
Po (persistant object) Persistent ObjectThe concept that appears during o/R ing does not exist if there is no o/R ing. usually it corresponds to the data model (database), and some business logic is processed. it can be seen as a Java object mapped to tables in the database. the simplest Po is to correspond to a record in a table in the database. A set of PO can
A large number of professional acronyms in 2ee development are very confusing. Especially when discussing issues with some experts, I was dizzy by the technical terms in three minutes. Po VO Bo DTO pojo Dao, A lot of things are coming (friends who have heard of Lao Luo's criticism of this phenomenon will smile ).
First of all, I declare that I am not a master. The following summary is my own experience. For more information, see.
Po:Persistant Object
A large number of professional acronyms in J2EE development are confusing, especially when discussing issues with some experts, they were dizzy by the technical terms in three minutes. Po VO Bo DTO pojo Dao, A lot of stuff is coming.
First of all, I declare that I am not a master. The following summary is my own experience. For more information, see.
Po:Persistant Object Persistent Object
A po is a record i
Po vo dao bo pojo and vopojo in java
I. PO: Persistent object of persistant object. It can be regarded as an ava object mapped to a table in the database.
The simplest PO is to correspond to a record in a table in the database. The PO set of multiple records should not contain any operations on the database.
Ii. VO:
VO, DTO, DO, PO Division, vodtoDivision of entity classes (VO, DTO, DO)
The concepts of VO, DO, and DTO are often introduced. This article analyzes these concepts from the perspectives of entity division in Domain Modeling and actual application in projects.
The main conclusion is that in project applications, VO corresponds to the data (Forms) to be displayed on the page, and DO corresponds to the data (data tables) stored in the database ), DTO corr
property, it is a javabean.Maybe some people don't understand what is serializable and can see my other blog http://my.oschina.net/pacoyang/blog/151649DAO (data Access Objects)DAO is a data Access object, and DAO generally has an interface and an implementation class for that interface, which is used to standardize the implementation class. The implementation class is generally used to manipulate the database, such as modifying, adding, deleting, and so on, generally calling public class DAO di
Online explanations of the differences between Po and VO:
"VO, Value Object",PO, persistent objects (Persisent object), which consist of a set of get and set methods of a group of properties and properties. Hibernate the object that incorporates the entity container (Entity Map) that represents the hibernate entity corresponding to a record in the database, and the change in the
---------------------------------------------------------
Po: Persistent Object
1. It is also called a data object. It corresponds to the entity in the database and can be considered as a record in the database corresponding to a po.
2. The persistence framework of Hibernate is closely related to insert/delet operations.
3. The PO should not contain any operation
Hibernate: Use session in Dao. the PO obtained from get () or SQL statements does not need session when you set the value. update can also be saved. In order to prove that the Po acquisition set in Dao will be saved, I did the following experiment:
1. Fetch and store data in Dao
Public void sessionget (){Test po = (TEST) Session. Get (test. class, "1 ");
If you are going to run this in the simulator, you can enter the following in the "(LLDB)" Prompt:(LLDB) PO $eaxLLDB is the default debugger in xcode4.3 or later versions. If you are using an older version of Xcode, you are also GDB debugger. They have some basic same commands, so if your xcode uses a "(GDB)" hint instead of a "(LLDB)" Hint, you can do it more, without problems.The "po" command is shorthand
VO (Value object) value objectsTypically used for data transfer between business tiers, as is the case with PO, which contains only data. But it should be abstracted out of the business object that can correspond to the table, or not, depending on the needs of the business. Personally feel the same DTO (data transfer object) that is passed on the web.From the business model perspective, see the domain objects in the UML component Domain model. A Java
VO, a Value object, a PO, a persistent object (Persisent objects) that consists of a set of properties and properties of the get and set methods. Structurally, they are nothing different. But it is completely different from its meaning and nature. 1. Vo is created with the New keyword and collected by the GC. The PO is created when new data is added to the database, and the data in the database is deleted.
Hibernate statusSave, persist, update, saveorupdte, merge, flush, lock, and object states of Hibernate
Save hibernate
Hibernate provides too many methods for Object Storage. There are many differences between them. Let's take a closer look at the differences.
I. Prerequisites
Before that, it should be noted that for hibernate, its objects have three states: transient, persistent, and detached.
Below are common translation methods:
Transient: transient or free state
(New deptpo (1, "Administrativ
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.