Hi All,
I am having two tables A and B. A is having its primary key x which is a foreign key to B. My hql is like
Select something From A a join a.somename
added mapping with A mapping file is
<many-to-one name="somename" class="B" column="x">
Pojo is having setter,getter of B class with is having name as somename.
But its generated sql is :
Select something from A a inner join B b on a.primary key of A = b.primary key of B
I want the primary key of A only in the queries left join part.
I am new to the technology. If AnyOne can resolve my problem, I will be thankful to him.
Thanks In Advance,
Gopal
|