728x90
/////////////////XML///////////////////
<select id="epr.common.selectOid" parameterClass="java.lang.String" resultClass="java.lang.String">
<![CDATA[
SELECT TEST_FUNCTION(#tableName#) FROM DUAL
]]>
</select>
320x100
꼭 기억안나서 몇번 삽질을 하고서 됨~ 왕짜증~
/////////////////DAO/////////////////////
public String getOid(String tableName) throws Exception {
return (String) selectByPk( "epr.common.selectOid", tableName );
}
320x100
'IT > Java' 카테고리의 다른 글
java.lang.NumberFormatException: For input string "?" (0) | 2021.05.21 |
---|---|
replaceAll또는 split 썼을때 java.util.regex.PatternSyntaxException: Dangling meta character '+' near index 0 발생 (0) | 2021.05.21 |
텍스트 포멧 코딩~ (0) | 2021.05.17 |
The error occurred while applying a parameter map (0) | 2021.05.17 |
파일 읽어들일때 라인넘버 추가하는법~ (0) | 2021.05.17 |