DaoGenericJDBC:使用 jdbc 的库,用于 Java 中的 CRUD

时间:2021-06-08 09:12:38
【文件属性】:
文件名称:DaoGenericJDBC:使用 jdbc 的库,用于 Java 中的 CRUD
文件大小:11KB
文件格式:ZIP
更新时间:2021-06-08 09:12:38
Java DaoGenericJDBC 抽象 jdbc api 的微型库。 ##使用 Connection connection = JdbcCon . getConnection( " jdbc:postgresql://localhost:5432/YOUR_DATABASE " , " POSTGRES_USER " , " POSTGRES_PASSWORD " ); GenericDaoFactory dao = dao = new GenericDaoFactory (connection); ##API 如何使用 dao . persist( T objeto) dao . marge( T objeto) dao . delete( T object) dao . getById( Class< T> type, Integer id) dao . g
【文件预览】:
DaoGenericJDBC-master
----.gitignore(20B)
----.project(543B)
----README.md(590B)
----pom.xml(959B)
----.settings()
--------org.eclipse.jdt.core.prefs(652B)
--------org.eclipse.m2e.core.prefs(86B)
----src()
--------teste()
--------models()
----.classpath(838B)

网友评论