Clojure DB Connection -


i new clojure. have defined datasource in weblogic 11. have below in code. neither getting error/exception nor able connect database.

(def cms-apacdb {:name "apaccmsinterfacedatasource"}) (defn update-or-insert-apacitem [table-name {cms-content-id :cms_content_id :as cms-item}] (with-connection cms-apacdb   (update-or-insert-values     table-name     ["cms_content_id = ?" cms-content-id]     (assoc cms-item :updated (now)))) 

any highly appreciated.


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -