Comments (6)
2 is a valid arity for db-do-prepared-return-keys
in clojure.java.jdbc
version 0.6.1
, which is the dependency in conman. It is also valid in clojure.java.jdbc
version 0.5.8
, which is what HugSQL 0.4.7
currently pulls in. So, this leads me to think that you must have an earlier version of clojure.java.jdbc
sneaking in from somewhere.
Can you do a lein deps :tree
to look at all of your dependencies?
from hugsql.
After removing most of the irrelevant dependencies, this is the result:
[conman "0.5.8"]
[com.carouselapps/to-jdbc-uri "0.5.0"]
[com.layerware/hugsql "0.4.7"]
[com.layerware/hugsql-adapter-clojure-java-jdbc "0.4.7"]
[com.layerware/hugsql-core "0.4.7"]
[com.layerware/hugsql-adapter "0.4.7"]
[com.zaxxer/HikariCP "2.4.6"]
[org.slf4j/slf4j-api "1.7.16"]
[hikari-cp "1.7.0"]
[org.tobereplaced/lettercase "1.0.0"]
[prismatic/schema "1.0.4"]
[environ "1.0.2"]
[mount "0.1.10"]
[mysql/mysql-connector-java "5.1.38"]
[org.clojure/clojure "1.8.0"]
[org.clojure/java.jdbc "0.6.2-alpha2"]
[org.clojure/tools.nrepl "0.2.12" :scope "test"]
I tried using multiple different versions of jdbc
myself, including 0.5.8
and 0.4.7
, since I did not see it being referenced from elsewhere. However, that did not help.
from hugsql.
Please provide the entire stack trace.
Also, maybe try a lein clean
if you haven't already.
from hugsql.
Hmm...I've been unable to recreate this issue creating a new luminus app with mysql and conman 0.5.8
, hugsql 0.4.7
, clojure.java.jdbc 0.6.1
, so I'm not sure what's different about your environment that might be causing this.
from hugsql.
lein clean
fixed the problem. I had used a very old version of the JDBC connector earlier, and forgot to run that command after changing the version number (I thought that restarting the repl would do that automatically as it also downloads missing dependencies, but apparently not). My apologies and thank you for your help!
from hugsql.
Glad you figured it out! I've been bit by similar old deps needing a lein clean
before, so I feel your pain. :)
from hugsql.
Related Issues (20)
- Way to get generated SQL without executing? HOT 1
- Add support for next.jdbc.sql/insert-multi! HOT 1
- Avoid calling apply in 'hugsql.adapter.clojure-java-jdbc' HOT 5
- Incorrect Arities Shown in Docs for def-fb-fns HOT 1
- HugSql fails during AOT compilation with depstar HOT 4
- Switch to newer groupId of next.jdbc dependency in hugsql-adapter-next-jdbc HOT 1
- How to use a function from the database? HOT 2
- Migration fails if a comment is present on line with semicolon HOT 2
- Babashka support HOT 2
- No comments in doc on mobile? HOT 1
- Using classpath resource sql functions breaks cider HOT 3
- Hugsql 0.5.3 still requires SQL files on uberjar compilation (with leiningen) HOT 1
- strange key with jsonb HOT 3
- Should hugsql switch to next.jdbc by default ? HOT 2
- Cannot look up by UUID HOT 2
- Bulk update? HOT 1
- Inline parameters
- Doesn't work with AOT compilation
- Migrations DSL HOT 2
- Non positional insert-multi HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hugsql.