When you make sure your input doesn't include bad values, you can move on to guarding your file system, database, and session.
在确保输入不包括无效值之后,可以继续保护文件系统、数据库和会话。
Doing so creates a database on disk called test.tdb and opens it so that any changes you make in this session will be on that file.
这样做可以在磁盘上创建名为test . tdb的数据库并打开它以便您在此会话中进行的任何变更都在该文件上。
This Session makes use of the properties file defined earlier to determine the appropriate target database, user information, and so on.
该Session使用前面定义的属性文件确定适当的目标数据库、用户信息,等等。
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将查询该文件并透明地连接到指定的数据库。
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将查询该文件并透明地连接到指定的数据库。
应用推荐