[osmosis-dev] [solved] duplicate key value violates unique constraint

Brett Henderson brett at bretth.com
Fri Apr 5 03:37:38 UTC 2013


On 4 April 2013 07:52, Martin Schafran <martin at ampelmeter.com> wrote:

> **
>
> solved.
>
> I see you already changed all id (bigint) related numbers to long and all
> id related methods (Prepared)Statement.setInt to setLong.
>
>
>
>
> https://github.com/brettch/osmosis/blob/master/osmosis-apidb/src/main/java/org/openstreetmap/osmosis/apidb/v0_6/ApidbWriter.java
>
>
Great result, I didn't know what the problem was :-)

Osmosis 0.43 has just been released which includes that fix.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130405/11c62739/attachment.html>


More information about the osmosis-dev mailing list