Guest User

Untitled

a guest
Nov 2nd, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. That does not work. After some look around I found that I have to set the encryption password with the following command when the database connection is established from spring boot application properties file.
  2.  
  3. SET ENCRYPTION PASSWORD ='password'(This is DB2 specific)
  4.  
  5. I dont see any way of setting this in spring boot. I believe there must be a property defined in application.properties which would set this. Currently I am just passing db2 connection as per following
  6.  
  7. spring.datasource.url=url
  8. spring.datasource.username=username
  9. spring.datasource.password=password
  10. spring.datasource.driver-class-name=om.ibm.db2.jcc.DB2Driver
  11.  
  12. Any help is appreciated.
Add Comment
Please, Sign In to add comment