Q) Difference between session.save() and session.saveOrUpdate()?
A)
session.save() – Insert data into the table
session.saveOrUpdate()- Insert data if primary key not exist otherwise update
-
-
Categories
- Anonymous inner class
- Applet interview questions
- Applet Life Cycle
- Applets Tutorial
- ArrayList Class
- AWT Question
- Basic Java Interview Questions
- Calling Java Objects
- Client/Servler Communication
- Collection FrameWork
- Connection Pooling
- Connection Pooling Benifits
- Cookie Example
- Cookies Interview Questions
- define application scope
- Define Array in java
- Define creating and extracting of jar
- define final variable and method
- Define Finalizer Method
- Define HashSet
- define java class
- define jre
- Define JSP Elements
- Define Precompile of Jsp page
- Define static keyword
- Define Vector
- Difference between #include and import statements
- EJB Containers
- EJB Frame Work Support
- EJB FrameWork
- Ejb Interview Questions
- EJB Tutorial
- Event Delegation Model
- Example of stateful session bean
- Explain Abstract Class
- Explain JDBC executeQuery
- Explain Jsp Declaration
- Explain Jsp Directives
- Explain Jsp Expression
- Explain jsp scriplets and templets
- File Uploading using Java/Jsp
- FileUpload to DataBase
- hibernate interview questions
- Hibernate Tutorial
- J2EE Interview Question
- Java API
- Java Class Registering
- Java Command Line Arguemnts
- Java Comments
- Java Connections
- Java Default Package
- Java Important Notes
- Java Interview Questions
- Java Main Method
- Java Naming Conventions
- Java Package
- Java print() and println()
- Java Saving a File
- Java Serialization
- JAVA UTIL QUESTIONS
- JAVA-JDBC Questions
- java.awt.Frame
- Jdbc executeUpdate
- Jdbc questions
- jdbc questions
- jms interview questions
- JSF Interview Questions
- jsp implicit variables
- Jsp Inteview Questions
- Jsp Tutorial
- Life cycle of Stateless Session bean
- LoadFactor
- rmi interview questions
- Servlet Interview Questions
- servlet life cycle
- Servlet Summary
- Servlet Tutorial
- Session Interview Questions
- Session Tutorials
- Springs Interview Questions
- Stored Procedures
- StreamTokenizer
- String Class
- Struts Interview Questions
- swings interview questions
- Thread Synchronization
- Thread Tutorial
- Uncategorized
- Upload Excel sheet using jsp/java
- URL Class
- Using the Thread-Safe in Jsp
- What are Jsp-include and Jsp-forward
- What is Log File
- What is Thread Safe Servlet
-
-
-
Recent Posts
Recent Comments
Blogroll
Posted September 2nd, 2008 by Ramakrishna



