Hi all, i came to know that IN clause with variable as a argument is not supported in EJB. i have written session bean to search the DB using JDBC.So i get the result set.But in previous cases of Add,Modify,View...i display the results in JTable as remote interfaces. i have two possible solutions here. 1) For every row of reultset ,use the findByPrimaryKey method and get the remote interfaces and store them in JTable. but if i use this,i have to go to the database again and again for the already collected data.
2) Create the diff table model to use the custom objects returned from result set. but i have to handle two diff objects in the JTable,which will complicate further operations.
suggest me a good solution.
Thanks Siva
They worship nothing. They say it's because nothing is worth fighting for. Like this tiny ad:
Gift giving made easy with the permaculture playing cards