JavaBean

JavaBean

Entity class

1. JavaBeans have specific writing methods

The ORM is generally used to map fields in the database

ORM: Object Relational Mapping

People table

class People {
    private int id;
    private String name;
    private int age;
    private String address;
}

class A {
    new People(1,"wang_1","18","南京");
    new People(2,"wang_2","南京");
    new People(3,"wang_3","南京");
}
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>