I have installed postgresql enterprise DB and created some tables

In one of the example. I see the following code.

import org.apache.ibatis.session.SqlSession; ..... SqlSession session = sessionFactory.openSession(); ..... List list = session.selectList("findAllData-Data", params); 

What it does? findAllData-Data means what? I have only created tables in postgresql, but I don't see the table name in above code

1

1 Answer

Check up the documentation for selectList

"findAllData-Data" is the unique identifier matching the statement to use. Statements are usually defined in some mapper .xml file or in newer versions in annotation of a class, so grep your code for findAllData-Data in order to find the definition.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.