All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ava-generator.graphql-maven-plugin-samples-Forum-server.1.0.source-code.application.properties Maven / Gradle / Ivy

# Changing the port for the GraphQL server
server.port = 8180

# Allowing the H2 Console (the jdbc URL to use in the console is jdbc:h2:mem:testdb)
spring.h2.console.enabled=true

# Prevents the SQL schema to be automatically created. With this parameter set to false, it's up to the project to build the tables, indexes...
# (see the src/main/resource/schema.sql which does this job, in this sample) 
spring.jpa.generate-ddl=false
spring.jpa.hibernate.ddl-auto=none

# Necessary to avoid the hibernate "could not initialize proxy - no Session" error
spring.jpa.properties.hibernate.enable_lazy_load_no_trans=true

# To generate hibernate query execution logs
#spring.jpa.show-sql=true
#spring.jpa.properties.hibernate.format_sql=true





© 2015 - 2024 Weber Informatics LLC | Privacy Policy