A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Android Security Essentials Live Lessons
this week in the
Object Relational Mapping
Hibernate querying two tables using join
Joined: Jul 26, 2013
Jul 26, 2013 05:52:51
Hey guys I`m new in hibernate and in posting issues here too.
till now and used to code like
select * from apple as a join banana as b on b.color=a.color;
How to do this in hibernate using annotation mappings?
Joined: Jul 02, 2013
Jul 31, 2013 16:16:03
Annotate the basic hibernate class. any simple hibernate example would do.
Then either you can use hql to do your sql stuff.
I believe apple and banana has no real association (mean to say one2many or many2one o)?
So i believe in that case hql is way out.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: Hibernate querying two tables using join
getGeneratedKeys() causing exception
Oracle-jdbc : get a LONG column
JDBCExceptionReport and Hibernate
join problem in hibernate 3.x
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014