热门面试题与答案和在线测试
面向面试准备、在线测试、教程与实战练习的学习平台

通过聚焦学习路径、模拟测试和面试实战内容持续提升技能。

WithoutBook 将分主题面试题、在线练习测试、教程和对比指南整合到一个响应式学习空间中。

面试准备

Without Book 提问

Review the question and existing answers carefully before replying. The best answers explain the reasoning, steps, and tradeoffs so other learners can benefit too.

问题. Get javax.sql.DataSource from javax.persistence.EntityManager

- How is it possible to programmatically retrieve the underlying DataSource from an EntityManager?

发布时间 Jul 10, 2014 发布者 Abhi
回答. @Resource(name = "jdbc/...")
private DataSource dataSource;

Then providing the datasource as an argument to the API.
发布时间 Jul 12, 2014 发布者 Lauren

输入你的回答

姓名
邮箱地址
回答
安全验证
继续前请计算: 9 + 6 = ?
版权所有 © 2026,WithoutBook。