Submitted by heartin on Sat, 10/17/2015 - 20:23
A java object within a hibernate application can be in one of the three states:
-
New/transient
-
Attached/persistent
-
Detached
Important points about object states in Hibernate
Submitted by sneha on Sat, 10/17/2015 - 19:25
There might be situations where you would want to modify the attributes of the embedded class (eg. Address) within an embedding class (eg. User), for instance, changing the database column name for a field. You can do this within the embedded class itself. But what if you don’t have access to the embedded class or if you want different behavior for two different instances of the embedded class; you will have to override the embedded class behavior in the embedding class.
Submitted by sneha on Sat, 10/17/2015 - 19:04
Submitted by sneha on Sat, 10/17/2015 - 04:57
Here we will discuss most commonly used basic annotations in hibernate - @Entity, @Table, @Id, @GeneratedValue, @Column, @Basic, @Transient, @Temporal and @Lob. Even though many annotations has both JPA (java.persistance) and hibernate (org.hibernate) versions, it is preferred to use JPA annotations whenever possible. As you can see below, some of the hibernate specific annotations are already deprecated.
Submitted by heartin on Fri, 10/16/2015 - 23:16
Document Object Model (DOM), Simple API for XML (SAX) and Streaming API for XML (StAX) are populat APIs for processing XML documents.
Document Object Model (DOM)
-
The Document Object Model (DOM) is a cross-platform and language-independent convention for representing and interacting with objects in HTML, XHTML, and XML documents.
Pages