Issue Details (XML | Word | Printable)

Key: DBMIGRATION-4
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Fabrizio Giustina
Reporter: Danilo Ghirardelli
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
DBMigration

Excel Configuration Task doesn't insert correct Long values.

Created: 22/Mar/10 11:10   Updated: 31/Mar/10 22:10   Resolved: 31/Mar/10 22:10
Component/s: None
Affects Version/s: 2.0.7
Fix Version/s: 2.0.8

File Attachments: 1. Text File ExcelLong.patch (0.9 kB) 22/Mar/10 11:10 - Danilo Ghirardelli



 Description  « Hide

If you try to use Excel configuration task to insert java Long numbers, they are all truncated to Integer.MAX_VALUE. Try with something like 14000000003 and see.
The attached patch solves this problem, changing the value reader from int to long. This won't affect existing integer values.



Danilo Ghirardelli added a comment - 22/Mar/10 11:14

I already committed the patch, you can close the issue if you accept the fix.