Register / Login
Win a copy of
Java Mock Exams (software)
this week in the
Programmer Certification (OCPJP)
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
Object Relational Mapping
query using hibernate creteria
posted 5 years ago
I want to write the following query using criteria :
select MSG from QA_TEST2 mc, CB_CHATLOG cc where mc.ROOM_ID = cc.ROOMID;
where MSG is a column in table CB_CHATLOG. ROOM_ID is neither the primary nor foreign key of QA_TEST2 and same goes for ROOMID in case of table CB_CHATLOG.
What changes would I need to do in the POJOs of the respective tables, if any ?
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
Constructor not found error
Efficient Method for comparison
help needed hibernate fetching strategy
Applet and JDBC
Treat .js file as .jsp