|
|
|
@ -1,5 +1,5 @@
|
|
|
|
|
jdbc.driver=com.mysql.jdbc.Driver
|
|
|
|
|
jdbc.url=jdbc\:mysql\://localhost\:3306/zjpower?useUnicode\=true&characterEncoding\=utf-8
|
|
|
|
|
jdbc.url=jdbc\:mysql\://localhost\:3306/power?useUnicode\=true&characterEncoding\=utf-8
|
|
|
|
|
jdbc.username=root
|
|
|
|
|
jdbc.password=docus702
|
|
|
|
|
|
|
|
|
@ -8,11 +8,11 @@ hibernate.dialect = org.hibernate.dialect.MySQLDialect
|
|
|
|
|
hibernate.show_sql = true
|
|
|
|
|
hibernate.format_sql = true
|
|
|
|
|
hibernate.hbm2ddl.auto =update
|
|
|
|
|
#hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
|
|
|
|
|
hibernate.current_session_context_class=thread
|
|
|
|
|
|
|
|
|
|
hibernate.jdbc.batch_size=50
|
|
|
|
|
hibernate.enable_lazy_load_no_trans=true
|
|
|
|
|
#hibernate.current_session_context_class=org.springframework.orm.hibernate5.SpringSessionContext
|
|
|
|
|
hibernate.current_session_context_class=thread
|
|
|
|
|
|
|
|
|
|
hibernate.jdbc.batch_size=50
|
|
|
|
|
hibernate.enable_lazy_load_no_trans=true
|
|
|
|
|
|
|
|
|
|
#\u05B4\uFFFD\uFFFD:\uFFFD\u04BC\uFFFD Run As ---->Maven build ---->Goals:mybatis-generator:generate
|
|
|
|
|
#\uFFFD\uFFFD\uFFFD\u013F\u00BC
|
|
|
|
|