HibernateManager.getInstance().save(musteriHareketi);
}
public static void addMusteriBorc(Cari cari, double borc) {
Cari musteri = (Cari) HibernateManager.getInstance()
.getObjectWithUniqueColumn(Cari.class, "id", cari.getId(),
false);
musteri.setMusteriBorc(musteri.getMusteriBorc() + borc);
HibernateManager.getInstance().update(musteri);
}