kopos / ifsc

Clojure based web server for providing IFSC details based on Razorpay's IFSC
Eclipse Public License 2.0
0 stars 0 forks source link

{"errorCode":null,"errorString":null,"message":"Table \"BNK_IFSC\" not found; SQL statement:\nSELECT * FROM bnk_ifsc WHERE ifsc = ? [42102-194]"} #1

Open kopos opened 4 years ago

kopos commented 4 years ago

When running the standalone java -jar *-standalone.jar the API is returning the error

{"errorCode":null,"errorString":null,"message":"Table \"BNK_IFSC\" not found; SQL statement:\nSELECT * FROM bnk_ifsc WHERE ifsc = ? [42102-194]"}
kopos commented 4 years ago

RC: https://stackoverflow.com/questions/15975339/package-and-use-embedded-database-h2-db-file-inside-a-jar

Workaround: Copy the ifsc.db files in the same directory as the jar.

Would be nice to have the db embedded inside the jar.