hibernate用法

时间:2016-01-17 13:01:57
【文件属性】:
文件名称:hibernate用法
文件大小:6KB
文件格式:TXT
更新时间:2016-01-17 13:01:57
hibernate hibernate.dialect = org.hibernate.dialect.MySQLDialect //指定数据库使用的sql方言(oracle、mysql) hibernate.connection.driver_class=com.mysql.jdbc.Driver //指定数据库的驱动程序 hibernate.connection.url=jdbc:mysql://localhost:3036/myDB //指定数据库的url hibernate.connection.username=root hibernate.connection.password=123 hibernate.show_sql=true //true表示程序运行时,会在控制台输出sql语句。

网友评论