Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は独自のデータベースハンドラーと接続プールを持っており、「以前に作成した独自の」接続を休止状態に設定したいだけです。
ConnectionProvider を使用する必要がある場合、いくつか問題がありますが、hibernate.cfg.xml で「hibernate.connection.driver_class」や「hibernate.connection.username」などのプロパティを構成する必要がありますか?
バージョン 3
Connection conn = ...; Session session = sessionFactory.openSession(conn);