
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.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.