Advertisement
Guest User

Untitled

a guest
Sep 8th, 2017
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. <jdbc:initialize-database>
  2. <jdbc:script location="classpath:/org/springframework/batch/core/schema-drop-postgresql.sql"/>
  3. <jdbc:script location="classpath:/org/springframework/batch/core/schema-postgresql.sql"/>
  4. </jdbc:initialize-database>
  5.  
  6. <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close">
  7. <property name="driverClassName" value="org.postgresql.Driver"/>
  8. <property name="url" value="jdbc:postgresql://localhost:5432/database?currentSchema=public"/>
  9. <property name="username" value="******"/>
  10. <property name="password" value="******"/>
  11. </bean>
  12.  
  13. Done executing SQL script from class path resource [org/springframework/batch/core/schema-drop-postgresql.sql] in 107 ms.
  14. 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