Insert Method in ORM Architecture With DAO using Java JDBC
Program 1
package model; public class Student { private int rno,phy,chem,math; private String name; public int getRno() { return rno; } public void setRno(int rno) { this.rno = rno; } public int getPhy() { return phy; } public void setPhy(int phy) { this.phy = phy; } public int getChem() { return chem; } public void setChem(int chem) { this.chem = chem; } public int getMath() { return math; } public void setMath(int math) { this.math = math; } public String getName() { return name; } public void setName(String name) { this.name = name; } }