Posted Monday, October 2, 2006 @ 08:23:51
I have this code below which is loading a list from hibernate into quicktable, everything seems to work find up until it gets to the refreshDataObject method then the program just stops. I do not receive any error messages the program just stops running. Any ideas i was thinking maybe there is an error i am not catching but i can't seem to find it. As nothing prints to the console at all, the program just stops and does nothing.
SessionFactory sessionFactory = new Configuration().configure("\\InventoryChecker\\hibernate.cfg.xml").buildSessionFactory();
Session session = null;
session = sessionFactory.openSession();
List products = session.createQuery("from Inventory").list();
try{
int size = products.size();
dBTble.refreshDataObject(products, null);
}catch(Exception e){
System.err.println("Zee3Inventory.common.ProdSrchPnl.fillDataTable():" + e.toString());
e.printStackTrace();
}