Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <jdbc:initialize-database>
- <jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-postgresql.sql"/>
- <jdbc:script location="classpath:/org/springframework/batch/core/schema-postgresql.sql"/>
- </jdbc:initialize-database>
- <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
- <property name="driverClassName" value="org.postgresql.Driver"/>
- <property name="url" value="jdbc:postgresql://localhost:5432/database?currentSchema=public"/>
- <property name="username" value="******"/>
- <property name="password" value="******"/>
- </bean>
- Done executing SQL script from class path resource [org/springframework/batch/core/schema-drop-postgresql.sql] in 107 ms.
- Done executing SQL script from class path resource [org/springframework/batch/core/schema-postgresql.sql] in 266 ms.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement