[Android SDK] “SugarORM” not saving objects issue (1.3.1 and below)

Just for you guys to save time:
SugarORM does not insert new entries on DB when “id” field is set to a non-existent value. Tested on versions 1.3.1, 1.3, 1.2.

This code won’t work:

for(int i=1; i<5; ++i) {
CustomerAddressDBEntry addrDB = new CustomerAddressDBEntry(addr);
addrDB.setId(new Long(i));
addrDB.setStreet("Test St. #" + i);
addrDB.save();
}

No CustomerAddressDBEntry object will be saved.
This second example works, because "id" field is set to null:

for(int i=1; i<5; ++i) {
CustomerAddressDBEntry addrDB = new CustomerAddressDBEntry(addr);
addrDB.setStreet("Test St. #" + i);
addrDB.save();
}

4 entries were saved this time.