
JDBC BigInt Error
Reported by Mark Cotner | May 9th, 2010 @ 09:37 PM | in 1.1
I've recreated the issue here: http://pastie.org/953064
Ruby understands the bigint, the db understands the bigint, but JDBC(or perhaps JRuby) chokes on it.
A trace is in the pastie. I'm using . . .
do_jdbc (0.10.1)
dm-core (0.10.2)
Which appear to be the most current. There is supposed to be another dm release this week. I'll watch for it and test to see if the issue still exists.
Comments and changes to this ticket
-
Dan Kubb (dkubb) May 9th, 2010 @ 11:21 PM
- State changed from new to unconfirmed
- Assigned user set to Alex Coles
-
Dan Kubb (dkubb) May 9th, 2010 @ 11:52 PM
I'm pretty sure this problem is independent of DataMapper. It looks to be a DataObjects problem.
Of course I recommend using the latest DM if possible, but I would watch the DO repository and when this is resolved, use your test case to ensure it's resolved.
-
Mark Cotner May 10th, 2010 @ 12:35 PM
Didn't realize DO was a completely separate project. Can you direct me to where I can open a DO ticket? It seems to be disabled on Github.
-
Dan Kubb (dkubb) May 10th, 2010 @ 08:40 PM
Oh, we share the same tracker atm just because DM and DO people overlap alot, and the projects grew up together. You can use each without the other though. Plus it's not always obvious to end users where the problems lie.
The original comment was just to let you know that the forthcoming DM release will probably not address the problem on it's own.
-
Dan Kubb (dkubb) May 23rd, 2010 @ 09:35 PM
- Assigned user changed from Alex Coles to Dirkjan Bussink
@Dirkjan: Would you mind looking into this? I assigned to Alex a couple of weeks ago, but I think he's been busy lately and hasn't been able to look at it.
-
Dan Kubb (dkubb) September 2nd, 2010 @ 01:07 AM
- State changed from unconfirmed to confirmed
- Assigned user changed from Dirkjan Bussink to Alex Coles
I can confirm this is an issue. The dm-migration specs currently fail for MySQL and PostgreSQL with JRuby because of this problem.
Not sure who to assign this to since Alex and Dirkjan both don't seem to be available. I'll give Alex a try again in case he's available.
@Alex: if you can't handle this do you have any suggestions for people involved in the project that might be able to look into it?
-
Dan Kubb (dkubb) September 8th, 2010 @ 11:51 AM
@pietia: if you run the edge dm-migrations specs under JRuby do you see the specs that are marked as pending?
-
Mark Cotner January 5th, 2011 @ 02:54 AM
@pietia: Can you verify if this is still an issue with the tests Dan mentioned?
I've updated my gems locally and will retest as well.
'njoy, Mark
-
Mark Cotner January 6th, 2011 @ 08:14 AM
Tried again with the latest JRuby and dm-core. Still having this issue.
'njoy, Mark
-
-
Mark Cotner January 30th, 2011 @ 12:37 PM
- Assigned user changed from Alex Coles to Dan Kubb (dkubb)
While making sure this was a DM/DO issue and not related to JDBC/JRuby I tried DBI/JDBC and the big ints work fine. This is definitely an issue with DM/DO.
Any news on this? I'm a fairly patient person, but this was reported almost a year ago.
'njoy, Mark
-
Dirkjan Bussink January 30th, 2011 @ 12:45 PM
Looks like this is something I already looked at quite some time ago but forgot to ask for feedback whether it fixes it or not here: https://github.com/datamapper/do/commit/3455ab4914a86fa816d7deccca3...
I just released new versions of DO gems, could you please try if these new versions fix your issue? If not, please let me know.
-
Martin Gamsjaeger (snusnu) January 30th, 2011 @ 01:20 PM
I just ran dm-migration specs on jruby using DO 0.10.3 and all adapters are green.
-
Mark Cotner January 31st, 2011 @ 03:44 AM
Very nice. 0.10.3 works for me. If you haven't already you can close the ticket.
Thank you for looking into this.
'njoy, Mark
-
Martin Gamsjaeger (snusnu) January 31st, 2011 @ 04:10 AM
- State changed from confirmed to resolved
- Milestone set to 1.1
- Milestone order changed from 0 to 0
-
Martin Gamsjaeger (snusnu) January 31st, 2011 @ 06:40 AM
- Assigned user changed from Dan Kubb (dkubb) to Dirkjan Bussink
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »