craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > Non-Database mode - Dataobjects/EJB/Hibernate/File/Array/Vector Post New Topic   Post A Reply
Strange freezing of app after calling dBTble.refreshDataObje... printer friendly version
next newest post | next oldest post
Author Messages
ethnarch
Private

Gender: Unspecified
Location:
Registered: Oct 2006
Status: Offline
Posts: 3

Click here to see the profile for ethnarch Send email to ethnarch Send private message to ethnarch Find more posts by ethnarch Edit or delete this message Reply w/Quote
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();
}

ethnarch
Private

Gender: Unspecified
Location:
Registered: Oct 2006
Status: Offline
Posts: 3

Click here to see the profile for ethnarch Send email to ethnarch Send private message to ethnarch Find more posts by ethnarch Edit or delete this message Reply w/Quote
Posted Monday, October 2, 2006 @ 09:05:08  

nevermind i feel really stupid, the popup window was behind the ide window, i should have looked for that.
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios