Re: clojure.java.jdbc bug?

2015-05-08 Thread Alain Picard
On Friday, 8 May 2015 13:48:25 UTC+10, Sean Corfield wrote: Different database drivers handle different data types in different ways. You’ve extended the protocol to convert Clojure’s BigInt to a string which may work for you, but won’t necessarily work for everyone. That’s why the

Re: clojure.java.jdbc bug?

2015-05-08 Thread Sean Corfield
BTW, your tone comes across as rather snarky which isn’t going to make people want to assist you. If you have concrete, constructive suggestions to make, and you care enough to create a JIRA account and create a ticket for broader discussion, you’re likely to find your comments taken more

clojure.java.jdbc bug?

2015-05-07 Thread Alain Picard
Dear fellow clojurians, The following behaviour seems (to me) rather odd. This succeeds: gocatch.job.job (clojure.java.jdbc/query *database* [select * from Job where id = ? (long 90)]) ({:tip 200, :vehicle-type TAXI, :passenger-id 43a4a489e18e09cade321fc6d5b7817f63293e58,

Re: clojure.java.jdbc bug?

2015-05-07 Thread Sean Corfield
On May 7, 2015, at 8:46 PM, Alain Picard al...@gocatch.com wrote: I was aware of that Jira installation, so perhaps I didn't make myself clear, but I'm not keen on having to go create yet another account in order to be able to report a bug. That seems unfriendly, to me. Well, all Clojure

Re: clojure.java.jdbc bug?

2015-05-07 Thread Andy Fingerhut
You can find a link to the JIRA bug tracker for most or all Clojure contrib libraries on their corresponding github pages, and Google is pretty good at finding those. Here is java.jdbc's: http://dev.clojure.org/jira/browse/JDBC Andy On Thu, May 7, 2015 at 6:44 PM, Alain Picard al...@gocatch.com

Re: clojure.java.jdbc bug?

2015-05-07 Thread Sean Corfield
Different database drivers handle different data types in different ways. You’ve extended the protocol to convert Clojure’s BigInt to a string which may work for you, but won’t necessarily work for everyone. That’s why the protocols are provided. See the documentation about them, here:

Re: clojure.java.jdbc bug?

2015-05-07 Thread Alain Picard
On Friday, 8 May 2015 13:38:02 UTC+10, Andy Fingerhut wrote: You can find a link to the JIRA bug tracker for most or all Clojure contrib libraries on their corresponding github pages, and Google is pretty good at finding those. Here is java.jdbc's: