Fork me on GitHub
#sql
<
2017-11-15
>
Mattias Didriksson15:11:51

Hi, I apologize if this is the wrong forum for this - however I have a problem calling stored procedures on Oracle DB. I have tried to look around a bit and everyone seem to be doing it like in this example: https://gist.github.com/frankvilhelmsen/5362434 This doesnt seem to work in newer versions of clojure.jdbc as with-db-connection will give me PersistentArrayMap? Anyone here called stored procedures that can help me out?

gdeer8116:11:22

I haven't but if you give me the dependency information for your project I might be able to reproduce it and see whats going on

seancorfield17:11:39

@mattias.didriksson I maintain java.jdbc so I can try to help. You'll have to share your code because I don't follow what you said about with-db-connection...

seancorfield17:11:47

(jdbc/with-db-connection [db spec]
  ... (.prepareCall (jdbc/get-connection db) ...) ...)
should probably work?