I have configured a netezza db in spring . I have added the dependent nzjdbc.jar in the classpath
Spring config:
pom xml config
org.netezza
netezza
1.0
system
${basedir}/src/main/resources/lib/nzjdbc.jar
${basedir}/src/main/resources/lib
WEB-INF/lib
解决方案
Put the nzjdbc.jar in your local maven repository
mvn install:install-file -Dfile=netezza.jar -DgroupId=org.netezza -DartifactId=netezza -Dversion=1.0 -Dpackaging=jar
(execute this in the directory where the netezza.jar is located
And then use it like a normal dependency:
org.netezza
netezza
1.0