This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download jgit.sh from here: https://eclipse.org/jgit/download/ | |
(Yes -> it's a file with a .sh extension and we want to work in Windows, but download it!) | |
2. Rename the downloaded file to something easier to deal with. E.g. "jgit.sh" | |
3. Create a new file called jgit.bat and stick it in the same folder as jgit.sh. | |
4. Type the following into the jgit.bat file: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns db-test.core | |
(:require [clojure.java.jdbc :as j]) | |
(use [korma.db]) | |
(use [korma.core]) | |
(:gen-class)) | |
(defn setup-connection [] | |
(def oracle-db {:classname "oracle.jdbc.odbc.OracleDriver" | |
:subprotocol "oracle" | |
:subname "thin:@//remotehost:1521/derpina1" |