Explain About Version Field

Application level data integrity constants are important if you are making changes to offline information which is again backed by database. Higher level locking or versioning protocol is required to support them. Version field usage comes at this stage but the design and implementation process is left to the developer In the context of Advanced … Read more

What is the Effect when a Transient Mapped Object is Passed onto a Sessions Save

When a session.save( ) is passed to a transient mapped object it makes the method to become more persistent. Garbage collection and termination of the Java virtual machine stays as long as it is deleted explicitly. It may head back to its transient state. In the context of Hibernate, which is a popular Java framework for Object-Relational … Read more

Explain About Mapping Files in Hibernate

Mapping files forms the core of any database mapping tools. These files contain field to field mapping, usually this mapping occurs between classes and attributes. After mapping files they can be persist to the database. Tags can be used to indicate the presence of a primary key. In Hibernate, mapping files are used to define … Read more

Explain About Transaction File

Transactions denote a work file which can save changes made or revert back the changes. A transaction can be started by session.beginTransaction() and it uses JDBC connection, CORBA or JTA. When this session starts several transactions may occur. In the context of advanced Java and database programming, a transaction file typically refers to a file … Read more

Explain About Mapping Description File

Mapping description file is the second file which Hibernate uses to configure its functions. This mapping file has an extension *.hbm which instructs mapping between Java class and database tables. The usage of mapping description file rests entirely upon the business entity. In the context of advanced Java, it seems like you might be referring to Hibernate, … Read more