github.com/emc-advanced-dev/unik@v0.0.0-20190717152701-a58d3e8e33b7/docs/examples/example_osv_java_servlet/src/main/resources/spring/data-access.properties (about) 1 # Properties file with JDBC and JPA settings. 2 # 3 # Applied by <context:property-placeholder location="jdbc.properties"/> from 4 # various application context XML files (e.g., "applicationContext-*.xml"). 5 # Targeted at system administrators, to avoid touching the context XML files. 6 7 # Properties that control the population of schema and data for a new data source 8 jdbc.initLocation=classpath:db/hsqldb/initDB.sql 9 jdbc.dataLocation=classpath:db/hsqldb/populateDB.sql 10 11 jpa.showSql=true 12 13 #------------------------------------------------------------------------------- 14 # HSQL Settings 15 16 jdbc.driverClassName=org.hsqldb.jdbcDriver 17 jdbc.url=jdbc:hsqldb:mem:petclinic 18 jdbc.username=sa 19 jdbc.password= 20 21 # Property that determines which database to use with an AbstractJpaVendorAdapter 22 jpa.database=HSQL 23 24 25 #------------------------------------------------------------------------------- 26 # MySQL Settings 27 28 #jdbc.driverClassName=com.mysql.jdbc.Driver 29 #jdbc.url=jdbc:mysql://localhost:3306/petclinic?useUnicode=true&characterEncoding=UTF-8 30 #jdbc.username=root 31 #jdbc.password=petclinic 32 33 # Property that determines which database to use with an AbstractJpaVendorAdapter 34 #jpa.database=MYSQL