I've created table ip and created mapping files by wizards on NetBeans 8.2.
Thats the ip schema:

and added to hibernate config
<property name="connection.autocommit">true</property>
but when I'm trying to insert something to table query doesn't executes. On other tables it works.
Session session = HibernateUtil.getSessionFactory().openSession();
Ip info = new Ip();
info.setAsn("aaaa");
info.setCity("aaaa");
info.setCountry("aa");
info.setIp(213213);
info.setIsp("aaaa");
info.setLat(44.4);
info.setLon(55.5);
info.setOrg("aaaa");
info.setRegion("aaaa");
session.save(info);