Added missing parameter

Signed-off-by: Jim Martens <github@2martens.de>
This commit is contained in:
2017-04-19 15:24:43 +02:00
parent a124303c7f
commit 582df275b9

View File

@ -484,6 +484,7 @@ public class ORM {
pstmt.setInt(4, estate.getStreetNumber()); pstmt.setInt(4, estate.getStreetNumber());
pstmt.setInt(5, estate.getSquareArea()); pstmt.setInt(5, estate.getSquareArea());
pstmt.setInt(6, estate.getAgent()); pstmt.setInt(6, estate.getAgent());
pstmt.setInt(7, estate.getId());
if (estate instanceof House) { if (estate instanceof House) {
House house = (House) estate; House house = (House) estate;