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 3
3
4
4
import oracle .jdbc .OracleConnection ;
5
5
import oracle .jdbc .OracleTypes ;
6
+ import org .slf4j .Logger ;
7
+ import org .slf4j .LoggerFactory ;
6
8
7
9
import java .sql .*;
8
10
import java .util .ArrayList ;
11
13
12
14
public final class FileMapper {
13
15
16
+ private static final Logger logger = LoggerFactory .getLogger (FileMapper .class );
17
+
14
18
private FileMapper () {
15
19
}
16
20
@@ -47,8 +51,14 @@ public static Array buildFileMappingArray(
47
51
callableStatement .setString (++paramIdx , mapperOptions .getObjectOwner ());
48
52
}
49
53
54
+ logger .debug ("Building fileMappingArray" );
55
+ Object [] filePathsArray = mapperOptions .getFilePaths ().toArray ();
56
+ for ( Object elem : filePathsArray ) {
57
+ logger .debug ("Path: " + elem );
58
+ }
59
+
50
60
callableStatement .setArray (
51
- ++paramIdx , oraConn .createOracleArray (CustomTypes .UT_VARCHAR2_LIST , mapperOptions . getFilePaths (). toArray () ));
61
+ ++paramIdx , oraConn .createOracleArray (CustomTypes .UT_VARCHAR2_LIST , filePathsArray ));
52
62
53
63
if (mapperOptions .getTypeMappings () == null ) {
54
64
callableStatement .setNull (++paramIdx , Types .ARRAY , CustomTypes .UT_KEY_VALUE_PAIRS );
You can’t perform that action at this time.
0 commit comments