Skip to content

Instantly share code, notes, and snippets.

@jogaco
Last active May 21, 2017 16:25
Show Gist options
  • Save jogaco/2439c68913ac3b0a6761ef7d900334cf to your computer and use it in GitHub Desktop.
Save jogaco/2439c68913ac3b0a6761ef7d900334cf to your computer and use it in GitHub Desktop.
Spring Boot tutorial: pom.xml fragment: schema properties
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<db.name>game_manager</db.name>
<jdbc.driverClassName>com.mysql.jdbc.Driver</jdbc.driverClassName>
<jdbc.url>jdbc:mysql://localhost/${db.name}?createDatabaseIfNotExist=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;autoReconnect=true&amp;useJDBCCompliantTimezoneShift=true&amp;useLegacyDatetimeCode=false&amp;serverTimezone=UTC</jdbc.url>
<jdbc.username>username</jdbc.username>
<jdbc.password>password</jdbc.password>
</properties>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment