Which of the following statement are incorrect when contrasting the use of entity beans and JDBC for database operations?
a. When using JDBC, you must explicitly handle the database transaction and the database connection pooling.
b. entity beans represent real data in the database
c. the container-managed entity bean automatically retrieves the data from the persistent storage (database)
d. the bean-managed entity bean functionality replaces the JDBC API
e. the bean-managed entity bean has to obtain a database connection, retrieve the row/column values and assign them to the objects in the ejbload()我看选项都是正确的??
求助高手
谢谢
a. When using JDBC, you must explicitly handle the database transaction and the database connection pooling.
b. entity beans represent real data in the database
c. the container-managed entity bean automatically retrieves the data from the persistent storage (database)
d. the bean-managed entity bean functionality replaces the JDBC API
e. the bean-managed entity bean has to obtain a database connection, retrieve the row/column values and assign them to the objects in the ejbload()我看选项都是正确的??
求助高手
谢谢
解决方案 »
- struts2+spring+ibatis oracle结果集取不到???
- Hibernate中怎么不能从1的一端更新N的一端呢??
- 关于Webmail:Jwma和Claros各有什么优缺点?各能提供什么功能
- ssh整合出错
- 请问在Windows下,如何不用用户选择将Tomcat和JDK安装到固定文件夹下
- 请教webwork页面的问题。
- 最近用struts做了个项目,跟大家讨论一下心得,大家踊跃加入阿
- 请教高手两次操作数据库怎么会出错?
- 关于ORA-08177: can't serialize access for this transaction
- 有关Servlet的问题
- JSP运用MVC架构实现登录功能问题
- svn操作问题?
a. 用jdbc的话,你必须自己处理数据库传输和数据库连接池
b. entity beans代表了数据库里的真实数据
c. 容器管理的entity bean自动从(数据库)持久层获取数据
d. bean管理的entity bean在功能上代替了 JDBC 的 API
e. bean管理的entity bean 必须获取数据库连接,得到行/列值后通过ejbload()方法把它们赋值给对象