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
Post a Comment