Skip to content

Commit f3c017d

Browse files
committed
Fix error when passing object owner
1 parent 41164b4 commit f3c017d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/utplsql/api/FileMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public static Array buildFileMappingArray(
4040
int paramIdx = 0;
4141
callableStatement.registerOutParameter(++paramIdx, OracleTypes.ARRAY, CustomTypes.UT_FILE_MAPPINGS);
4242

43-
if (mapperOptions.getRegexPattern() == null) {
43+
if (mapperOptions.getObjectOwner() == null) {
4444
callableStatement.setNull(++paramIdx, Types.VARCHAR);
4545
} else {
4646
callableStatement.setString(++paramIdx, mapperOptions.getObjectOwner());

0 commit comments

Comments
 (0)