Data Sources, JDBC and JPA

Data Sources, JDBC, and can also be extensively configured through application.properties. ;Listed here are some of the important options:

# Fully qualified name of the JDBC driver. 
spring.datasource.driver-class-name=
# Populate the database using 'data.sql'.
spring.datasource.initialize=true
# JNDI location of the datasource.
spring.datasource.jndi-name=
# Name of the datasource.
spring.datasource.name=testdb
# Login password of the database.
spring.datasource.password=
# Schema (DDL) script resource references.
spring.datasource.schema=
# Db User to use to execute DDL scripts
spring.datasource.schema-username=
# Db password to execute DDL scripts
spring.datasource.schema-password=
# JDBC url of the database.
spring.datasource.url=
# JPA - Initialize the schema on startup.
spring.jpa.generate-ddl=false
# Use Hibernate's newer IdentifierGenerator for AUTO, TABLE and SEQUENCE.
spring.jpa.hibernate.use-new-id-generator-mappings=
# Enable logging of SQL statements.
spring.jpa.show-sql=false
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset