diff options
Diffstat (limited to 'src/main/java/io/trygvis/spring')
-rwxr-xr-x | src/main/java/io/trygvis/spring/Config.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/io/trygvis/spring/Config.java b/src/main/java/io/trygvis/spring/Config.java index 6bc8960..5df4dac 100755 --- a/src/main/java/io/trygvis/spring/Config.java +++ b/src/main/java/io/trygvis/spring/Config.java @@ -119,7 +119,7 @@ public class Config { @Bean
public LocalContainerEntityManagerFactoryBean entityManagerFactory(DataSource dataSource,
@Value("${hibernate.hbm2ddl.auto}") String hbm2ddl,
- @Value("${hibernate.showSql}") boolean showSql,
+ @Value("${hibernate.showSql:false}") boolean showSql,
@Value("${hibernate.dialect}") String dialect) {
LocalContainerEntityManagerFactoryBean x = new LocalContainerEntityManagerFactoryBean();
x.setDataSource(dataSource);
|