File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
src/main/java/org/utplsql/api Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change 33
44import oracle .jdbc .OracleConnection ;
55import oracle .jdbc .OracleTypes ;
6+ import org .slf4j .Logger ;
7+ import org .slf4j .LoggerFactory ;
68
79import java .sql .*;
810import java .util .ArrayList ;
1113
1214public final class FileMapper {
1315
16+ private static final Logger logger = LoggerFactory .getLogger (FileMapper .class );
17+
1418 private FileMapper () {
1519 }
1620
@@ -47,8 +51,14 @@ public static Array buildFileMappingArray(
4751 callableStatement .setString (++paramIdx , mapperOptions .getObjectOwner ());
4852 }
4953
54+ logger .debug ("Building fileMappingArray" );
55+ Object [] filePathsArray = mapperOptions .getFilePaths ().toArray ();
56+ for ( Object elem : filePathsArray ) {
57+ logger .debug ("Path: " + elem );
58+ }
59+
5060 callableStatement .setArray (
51- ++paramIdx , oraConn .createOracleArray (CustomTypes .UT_VARCHAR2_LIST , mapperOptions . getFilePaths (). toArray () ));
61+ ++paramIdx , oraConn .createOracleArray (CustomTypes .UT_VARCHAR2_LIST , filePathsArray ));
5262
5363 if (mapperOptions .getTypeMappings () == null ) {
5464 callableStatement .setNull (++paramIdx , Types .ARRAY , CustomTypes .UT_KEY_VALUE_PAIRS );
You can’t perform that action at this time.
0 commit comments