Hibernate generates the SQL statement strings and executes them against the database using the JDBC prepare and execute operations.
Hibernate生成sql语句字符串并使用JDBC准备和执行操作在数据库中执行它们。
Later, when your Hibernate client applications create a "session" to wrap the JDBC connection, Hibernate will consult this file and transparently connect to the specified database.
以后当Hibernate客户应用程序创建“session”包装JDBC连接时,Hibernate将查询该文件并透明地连接到指定的数据库。
If a service layer method deals with only read-only data, you can mark its transaction as read-only, which is a hint to optimize Hibernate and the underlying JDBC driver.
如果一个服务层方法只处理只读数据,可以将它的事务标为只读,这是优化Hibernate和底层JDBC驱动的一个方法。
To do so, it initializes the Hibernate environment and opens a Session, which wraps a JDBC connection to the federated database.
程序首先初始化Hibernate环境并打开一个Session,后者包装了到联邦数据库的JDBC连接。
Using Hibernate can save a lot of development time on a project, since the whole JDBC layer is managed by the framework.
使用Hibernate能够节约大量项目开发时间,因为整个jdbc层都由这个框架管理。
You extend a couple of Spring classes with your JDBC (or other framework like Hibernate), implement your DAO, then make the declaration in the applicationContext.xml file.
使用JDBC(或其他框架,如Hibernate)扩展几个Spring类,实现DAO,然后在applicationContext.xml文件中做出声明。
In the Spring framework, resources such as a JDBC DataSource or a Hibernate SessionFactory can be realized as beans in an application context.
在Spring框架中,像JDBCDataSource或HibernateSessionFactory这样的资源,在应用程序上下文中可以用bean实现。
In the Spring framework, resources such as a JDBC DataSource or a Hibernate SessionFactory can be realized as beans in an application context.
在Spring框架中,像JDBCDataSource或HibernateSessionFactory这样的资源,在应用程序上下文中可以用bean实现。
应用推荐