I have two java been. i have to pass these two class as the parameter in the sql query in the Mybatis. for ex: two classes are class A{}//some setters and getters class B{}//some setters and getters
My DAO is interface ABC{ public void selectSomeData(A a,B b); }
now my query in the mybatis is
SELECT * from TableName WHERE ColumnName1= A.someproperty AND ColumnName2=B.some_property.
Ads