Saving Collections in Hibernate – @ElementCollection
Saving Collections in Hibernate – @ElementCollection In our previous examples we had seen how to embed one entity into another, how to change the column names using annotations. In this…
Saving Collections in Hibernate – @ElementCollection In our previous examples we had seen how to embed one entity into another, how to change the column names using annotations. In this…
@AttributeOverrides and @AttributeOverride Annotations In our previous example we had seen how to inject one entity into another entity(here). We have injected the address class into employee class. In that…
@Embeddable and @Embedded Annotation – Hibernate We have seen some basic annotations of hibernate (here), Now we are going to see about @Embeddable and @Embedded annotations. One entity can be…
Hibernate Annotation – Creating table from java Hibernate is a very efficient framework for database. Users can create tables from pure java file without creating using SQL queries. Let us…
JSF Hibernate Integration (CRUD Example) Code to integrate JSF with Hibernate and perform Create, Read, Update and Delete operations. This code is tested in Netbeans with MySQL Database. Creating Project:…