use of org.springframework.boot.autoconfigure.jdbc.DataSourceProperties in project taskana by Taskana.
the class RestConfiguration method dataSourceProperties.
@Bean
@Primary
@ConfigurationProperties(prefix = "datasource")
public DataSourceProperties dataSourceProperties() {
DataSourceProperties props = new DataSourceProperties();
props.setUrl("jdbc:h2:mem:taskana;IGNORECASE=TRUE;LOCK_MODE=0;INIT=CREATE SCHEMA IF NOT EXISTS TASKANA");
return props;
}
Aggregations