Advertisement
Guest User

Untitled

a guest
Dec 11th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.94 KB | None | 0 0
  1. =================application.properties==================
  2. spring.datasource.url=jdbc:mysql://coursed.c2brxsrmnwtb.eu-central-1.rds.amazonaws.com:3306/coursed
  3. spring.datasource.username=root
  4. spring.datasource.password=rootroot1
  5. spring.datasource.driverClassName=com.mysql.jdbc.Driver
  6. spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect
  7.  
  8. spring.jpa.show-sql=false
  9. spring.jpa.hibernate.ddl-auto=update
  10. =====================hibernate.cfg.xml====================
  11. <?xml version="1.0" encoding="utf-8"?>
  12. <!DOCTYPE hibernate-configuration SYSTEM
  13.         "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
  14.  
  15. <hibernate-configuration>
  16.     <session-factory>
  17.         <property name="hibernate.connection.CharSet">utf8</property>
  18.         <property name="hibernate.connection.characterEncoding">utf8</property>
  19.         <property name="hibernate.connection.useUnicode">true</property>
  20.     </session-factory>
  21. </hibernate-configuration>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement