Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Hibernate-Interview-Questions Hibernate instance states.
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


samar
Hibernate instance states.
1 Answer(s)      3 years and 10 months ago
Posted in : Hibernate Interview Questions


Explain the types of Hibernate instance states.


Advertisement
View Answers

March 7, 2011 at 6:06 PM


Hi Samar,

 Hibernate has three types of instance states: 
    Transient -The instance is not associated with any persistence context.
    Persistent -The instance is associated with a persistence context.
    Detached -The instance was associated with a persistence context which has been closed ? currently not associated.

Thanks.



Related Tutorials/Questions & Answers:
Hibernate instance states.
Hibernate instance states.  Explain the types of Hibernate instance states
hibernate object states and life cycle
hibernate object states and life cycle  I am bit confused in between the hibernate states and it's life cycle. Can you please explain this also? also explain the persistent, detached and transient object states.Thanks
Advertisements
Hibernate Creating criteria instance
Hibernate Creating criteria instance In this section you will learn about the creating of criteria instance in Hibernate. An instance of Criteria is created... file using which Hibernate creates a connection pool and the required
INSTANCE
INSTANCE  PLEASE TELL ME THE EXACT MEANING OF INSTANCE?AND EXPLAIN
instance
instance  What is the exact need of declaring a variable as instance
Latitude and Longitude of United States of America
Latitude and Longitude of United States of America  Hi, What is the Latitude and Longitude on United States of America? Thanks   Hi, Latitude of United States of America is:38 and Longitude of United States
instance varaiable
instance varaiable  if we create a class which has two instance variable but don't create object of that class then what is called that instance variable??? bcoz they didn't allocate memory
what is instance
what is instance   what is the difference between instance and object   Instance refers to the copy of the object at a particular time... there is an value. int[] arr={1,2,3}; Instance - when there is a declaration for class
what is instance
what is instance   what is the difference between instance and object   Instance refers to the copy of the object at a particular time... there is an value. int[] arr={1,2,3}; Instance - when there is a declaration for class
what is instance
what is instance   what is the difference between instance and object   Instance refers to the copy of the object at a particular time... there is an value. int[] arr={1,2,3}; Instance - when there is a declaration for class
what is instance
what is instance   what is the difference between instance and object   Instance refers to the copy of the object at a particular time... there is an value. int[] arr={1,2,3}; Instance - when there is a declaration for class
what is instance
what is instance   what is the difference between instance and object   Instance refers to the copy of the object at a particular time... there is an value. int[] arr={1,2,3}; Instance - when there is a declaration for class
appdelegate instance
appdelegate instance  Hi, How to get appdelegate instance in some other part of the application? Thanks   Hi, Following code can be used to get the instance of Appdelete. MyAppDelegate *appDelegate = (MyAppDelegate
Class and Instance
; public int y=3;} What are the class variable? What are the instance variables... = " +b.x);   Instance variables are declared in a class, but outside a method... in the heap, there is a slot in it for each instance variable value. Therefore
instance variables - Java Beginners
instance variables  instance variables
export instance sql
export instance sql  How to export instance in sql
Hibernate SessionFactory Example
In this example, we will learn about the getting session instance from the SessionFactory interface in Hibernate 4
add a property to instance variable
add a property to instance variable  How to add a property to instance variable in iPhone SDK
Static & Instance variables in java
Static & Instance variables in java  What are the Difference between Static & Instance variables in java
about instance of java
about instance of java  1> what is an instance 2> what..., An Instance creates the reference of an object. An object is a run time entity of the class. Difference: An instance refers to the copy of the object while
What are instance variables?
What are instance variables?   Hi, What are instance variables? thanks   Hi, Each object of the class has its own set of values... (instances of the class).Hence these variables are also known as instance variables
static & instance - Java Beginners
static & instance  what is different between static variable and instance variable .? plz explain with example. and when we can use static variable and when can use instance variable.    public class Main
Maintaining States of Selected CheckBoxes in Different Pages using dispaly table in struts2
Maintaining States of Selected CheckBoxes in Different Pages using dispaly... and maintain the states of the selected checkboxes.When I submit the form... me how to maintain States of Selected CheckBoxes in Different Pages using
unrecognized selector sent to instance
in xcode. unrecognized selector sent to instance   This kind
creating instance of table in jsp
creating instance of table in jsp  i face senario look kie as follows; 1)i write a code in jsp to retrieve the data from database. 2)the out put... to make the instance of the data present in that paarticular table.... how i do
No action instance for path
No action instance for path  <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <html:html locale="true">
Object reference not set to an instance of an object
Object reference not set to an instance of an object  Object reference not set to an instance of an object
Hibernate 4 create Session Factory: Example of creating Session Factory in Hibernate 4
instance in your application? We are using the Hibernate 4.3.0.final build... the code for creating the SessionFactory instance in your application. Hibernate...Hibernate 4 create Session Factory: How to create Session Factory
How to Create Instance using PHP
How to Create Instance using PHP  Hi, How to create an instance class in PHP program. Can someone explain or suggest any online reference how to create an Instance class in PHP. Thanks
Hibernate Configuration
The configuration of Hibernate is handled by the instance of org.hibernate.cfg.Configuration . It symbolizes the complete mapping between Java data types to the SQL database or database table. It is used to construct
Instance variable in java
Instance variable in java In this section you will learn about Instance... in java, they are as follows : Local variable Instance Variable class/static variable Instance variable : Instance variable are declared
 

 

 

DMCA.com