One To One Mapping in Hibernate

Using hibernate, if we want to put relationship between two entities means two Pojo classes, then in the database tables, there must exist foreign key relationship, we call it as Referential integrity. there are many ways to do the mapping in Hibernate. lets see one of such way “one to one “. we have 2 […]

Share this article on

Serialization and externalization in java

Serialization is the process of writing an object state into the file. state of an object means atrributes and its values and in future if we need that object we can rebuild it from the file and  we call that process as “de serialization” so to achive serialization in java,  any class must implement one […]

Share this article on