Reputation: 65
I am trying to make a springboot webservice for as400 db2 with gradle. I have a webservice for sql with grdle. What changes should I make to connect it to DB2400??
Upvotes: 0
Views: 2368
Reputation: 1
Check my case, there my code works and there are all the configurations. The code has a problem with the saves and it is because of the transactions, which I have tried to fix. But check if your db2 doesn't have this transaction problem: error when doing an insert or an update with springboot and a database bd2 as400 ibm
Upvotes: 0
Reputation: 5229
Get the JDBC driver here:
https://www-03.ibm.com/systems/power/software/i/toolbox/downloads.html
Gradle dependency for the driver:
// https://mvnrepository.com/artifact/net.sf.jt400/jt400
compile group: 'net.sf.jt400', name: 'jt400', version: '9.4'
The FAQ which includes the driver class name etc can be found here:
https://www-03.ibm.com/systems/power/software/i/toolbox/faq/jdbc.html
Upvotes: 0