Skip to content Skip to sidebar Skip to footer

How To Map Query For Ibatis With Parameterized Column In Select Clause?

I want to have a method that finds a certain value from a column of a particular table in the database, where the name of the column is passed in as a parameter. So the Java method

Solution 1:

Use an alias in the SQL query. That should solve the problem of mapping the result back to java.


Post a Comment for "How To Map Query For Ibatis With Parameterized Column In Select Clause?"