This article is about hibernate practical example. Below is an example of hibernate with my sql using hibernate mapping files. Here is the Student bean class with id and name properties. package beans; public class Student { private long id;private String name; /*** getters and setters* @return*/public long getId() {return id;}public void setId(long id) {this.id = id;}public String getName() {return […]
↧