Hibernate

Where Data can be saved and Managed permanently is called as persistence store.
Eg: Database software,File system

Insert ,Update ,Delete,select operations performed on the persistence store is called as persistence operations,Those are also called as CURD operations.


The Logic placed in the Application to perform Persistence operation on the persistence store is called as Persistence Logic.

Eg: JDBC code,Hibernate and IO Stream etc....

Every Application contains Multiple Presentation Logics,Business Logics etc.......


Java Application -----(IOStreams)-------------->File(Small Scale Application)


Java Application------(JDBC/O-RM)----------->Database Software


Note:
  • Use Files as Persistence Store in small scale Applications Like Mobile Games and Desktop games
  • Use Database software as persistence store in Medium scale ,Large scale Application Like websites,Banking Application etc..........
Files are not suitable for persistence store in large scale application ,Because of the following Reasons
  • No Security
  • No Query Language support
  • Can't Maintain Huge amount of data
  • Perform Delete ,update operations are complex
  • Merging and comparison of Data very complex
Solution:
To overcome this problem use Database software as persistence store
  • Database software which can store the software objects as Database table column values this is called as ODB Software.
ODB software are not industry standard because of the following reasons
  • By holding multiple values as single Database table column values,They are violating the Normalization rule
  • Generating the report from ODB software is quit complex process
Download this link for clear understanding of above drawback

Limitations of JDBC
List Obect Relational Mapping softwares
Hibernate Software Installation
Cofiguration file and Mapping file
ORM Levels
load() and get()

2 comments: