这只是您的路线图 - 您必须通过谷歌搜索一些教程来学习它。您可以从使用行映射器的 JDBC 或 Spring 开始,因为它们是最简单的。
请把你的问题说得更清楚。
There are a couple of ways:
EJB 3 to play with JPA entities using EntityManager in session beans
Spring Framework with Hibernate/JPA
Spring Framework with custom RowMappers (very primitive ORM)
Ibatis
JDBC - the most simple way and low-level way to access database
This is just a roadmap for you - you have to learn it by googling for some tutorials. You may start with JDBC or Spring using row mappers as they are the simplest ones.
发布评论
评论(1)
有几种方法:
这只是您的路线图 - 您必须通过谷歌搜索一些教程来学习它。您可以从使用行映射器的 JDBC 或 Spring 开始,因为它们是最简单的。
请把你的问题说得更清楚。
There are a couple of ways:
This is just a roadmap for you - you have to learn it by googling for some tutorials. You may start with JDBC or Spring using row mappers as they are the simplest ones.
Please make your question clearer.