how can i display the database data to an jtable(dynamic) in the swings!
- by harish0510
we are using hibernate in business layer,but the task is,
by using the jtable in swings to display the dynamic data(swings) from the database.
code:
Criteria criteria=session.createCriteria(User.class);
//here user.class is pojo class in hibernate.
List studentlist= criteria.list();
System.out.println("records"+studentlist);
here the data is showing in hibernate console, but how to represent that data in the format of "jtable".