I am trying to connect to a DB2 database using JDBC. The JDBC connection is successful, but the moment query is executed, it returns exception. On further analysis, following error is returned:
Error code - -30025 Localized Error message -> ;DSN12015:*:V12R1M502;0600;0002
Checking the error code on IBM docs, it said something about setting APPL COMPAT LEVEL to BIND/REBIND etc which made no sense to me as I am new to SQL like DB2.
I am trying to operate the above on my personal laptop with Windows 10.
Anybody who can guide me around this would be a great help !
Same error (404) is returned when the same is run Eclipse in server using Tomcat.