embulk-output-oracle 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +160 -160
- data/build.gradle +6 -6
- data/classpath/{embulk-output-jdbc-0.4.0.jar → embulk-output-jdbc-0.4.1.jar} +0 -0
- data/classpath/{embulk-output-oracle-0.4.0.jar → embulk-output-oracle-0.4.1.jar} +0 -0
- data/lib/embulk/output/oracle.rb +3 -3
- data/src/main/cpp/common/dir-path-load.cpp +424 -424
- data/src/main/cpp/common/dir-path-load.h +36 -36
- data/src/main/cpp/common/embulk-output-oracle.cpp +196 -196
- data/src/main/cpp/common/org_embulk_output_oracle_oci_OCI.h +77 -77
- data/src/main/cpp/linux/build.sh +21 -21
- data/src/main/cpp/win/build.bat +31 -31
- data/src/main/cpp/win/dllmain.cpp +25 -25
- data/src/main/cpp/win/embulk-output-oracle.sln +39 -39
- data/src/main/cpp/win/embulk-output-oracle.vcxproj +175 -175
- data/src/main/java/org/embulk/output/OracleOutputPlugin.java +153 -153
- data/src/main/java/org/embulk/output/oracle/DirectBatchInsert.java +290 -290
- data/src/main/java/org/embulk/output/oracle/InsertMethod.java +8 -8
- data/src/main/java/org/embulk/output/oracle/OracleCharset.java +32 -32
- data/src/main/java/org/embulk/output/oracle/OracleOutputConnection.java +165 -165
- data/src/main/java/org/embulk/output/oracle/OracleOutputConnector.java +49 -49
- data/src/main/java/org/embulk/output/oracle/TimestampFormat.java +37 -37
- data/src/main/java/org/embulk/output/oracle/oci/ColumnDefinition.java +26 -26
- data/src/main/java/org/embulk/output/oracle/oci/OCI.java +139 -139
- data/src/main/java/org/embulk/output/oracle/oci/OCIManager.java +64 -64
- data/src/main/java/org/embulk/output/oracle/oci/OCIWrapper.java +96 -96
- data/src/main/java/org/embulk/output/oracle/oci/RowBuffer.java +105 -105
- data/src/main/java/org/embulk/output/oracle/oci/TableDefinition.java +24 -24
- data/src/test/cpp/common/embulk-output-oracle-test.cpp +69 -69
- data/src/test/cpp/linux/build.sh +19 -19
- data/src/test/cpp/win/build.bat +28 -28
- data/src/test/cpp/win/embulk-output-oracle-test.vcxproj +154 -154
- data/src/test/java/org/embulk/input/filesplit/LocalFileSplitInputPlugin.java +187 -187
- data/src/test/java/org/embulk/input/filesplit/PartialFile.java +49 -49
- data/src/test/java/org/embulk/input/filesplit/PartialFileInputStream.java +154 -154
- data/src/test/java/org/embulk/output/oracle/ChildFirstClassLoader.java +42 -42
- data/src/test/java/org/embulk/output/oracle/EmbulkPluginTester.java +124 -120
- data/src/test/java/org/embulk/output/oracle/EmptyConfigSource.java +105 -100
- data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java +38 -14
- data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTestImpl.java +540 -484
- data/src/test/java/org/embulk/output/oracle/TimestampFormatTest.java +57 -57
- data/src/test/resources/data/test1/test1.csv +3 -3
- data/src/test/resources/yml/test-insert-direct-direct-method.yml +26 -0
- data/src/test/resources/yml/test-insert-direct-empty.yml +25 -0
- data/src/test/resources/yml/{test-insert-oci-split.yml → test-insert-direct-oci-method-split.yml} +28 -28
- data/src/test/resources/yml/{test-insert-oci.yml → test-insert-direct-oci-method.yml} +28 -28
- data/src/test/resources/yml/test-insert-direct.yml +25 -26
- data/src/test/resources/yml/test-insert-empty.yml +27 -0
- data/src/test/resources/yml/test-insert.yml +27 -25
- data/src/test/resources/yml/test-replace-empty.yml +31 -0
- data/src/test/resources/yml/test-replace-long-name-multibyte.yml +31 -31
- data/src/test/resources/yml/test-replace-long-name.yml +31 -31
- data/src/test/resources/yml/test-replace.yml +31 -31
- data/src/test/resources/yml/test-string-timestamp.yml +28 -28
- data/src/test/resources/yml/test-url.yml +24 -24
- metadata +10 -6
@@ -1,69 +1,69 @@
|
|
1
|
-
#include <stdio.h>
|
2
|
-
#include <string.h>
|
3
|
-
#include <dir-path-load.h>
|
4
|
-
|
5
|
-
|
6
|
-
static int test(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, const char *db, const char *user, const char *pass, const char *csvFileName)
|
7
|
-
{
|
8
|
-
if (embulk_output_oracle_prepareDirPathCtx(context, db, user, pass)) {
|
9
|
-
return OCI_ERROR;
|
10
|
-
}
|
11
|
-
|
12
|
-
EMBULK_OUTPUT_ORACLE_OCI_COL_DEF colDefs[] = {
|
13
|
-
{"ID", SQLT_INT, 4},
|
14
|
-
//{"ID", SQLT_CHR, 8},
|
15
|
-
{"NUM", SQLT_INT, 4},
|
16
|
-
//{"NUM", SQLT_CHR, 12},
|
17
|
-
{"VALUE1", SQLT_CHR, 60},
|
18
|
-
{"VALUE2", SQLT_CHR, 60},
|
19
|
-
{"VALUE3", SQLT_CHR, 60},
|
20
|
-
{"VALUE4", SQLT_CHR, 60},
|
21
|
-
{"VALUE5", SQLT_CHR, 60},
|
22
|
-
{"VALUE6", SQLT_CHR, 60},
|
23
|
-
{"VALUE7", SQLT_CHR, 60},
|
24
|
-
{"VALUE8", SQLT_CHR, 60},
|
25
|
-
{"VALUE9", SQLT_CHR, 60},
|
26
|
-
{"VALUE10", SQLT_CHR, 60},
|
27
|
-
{NULL, 0, 0}
|
28
|
-
};
|
29
|
-
if (embulk_output_oracle_prepareDirPathStream(context, "EXAMPLE", 832, colDefs)) {
|
30
|
-
return OCI_ERROR;
|
31
|
-
}
|
32
|
-
|
33
|
-
if (embulk_output_oracle_loadCSV(context, colDefs, csvFileName)) {
|
34
|
-
return OCI_ERROR;
|
35
|
-
}
|
36
|
-
|
37
|
-
if (embulk_output_oracle_commitDirPath(context)) {
|
38
|
-
return OCI_ERROR;
|
39
|
-
}
|
40
|
-
|
41
|
-
return OCI_SUCCESS;
|
42
|
-
}
|
43
|
-
|
44
|
-
|
45
|
-
int main(int argc, char* argv[])
|
46
|
-
{
|
47
|
-
sword major_version;
|
48
|
-
sword minor_version;
|
49
|
-
sword update_num;
|
50
|
-
sword patch_num;
|
51
|
-
sword port_update_num;
|
52
|
-
OCIClientVersion(&major_version, &minor_version, &update_num, &patch_num, &port_update_num);
|
53
|
-
printf("OCI client version = %d.%d.%d.%d.%d\r\n", major_version, minor_version, update_num, patch_num, port_update_num);
|
54
|
-
|
55
|
-
if (argc < 5) {
|
56
|
-
printf("embulk-output-oracle-test <db> <user> <password> <csv file name>\r\n");
|
57
|
-
return OCI_ERROR;
|
58
|
-
}
|
59
|
-
|
60
|
-
EMBULK_OUTPUT_ORACLE_OCI_CONTEXT context;
|
61
|
-
memset(&context, 0, sizeof(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT));
|
62
|
-
int result = test(&context, argv[1], argv[2], argv[3], argv[4]);
|
63
|
-
if (result == OCI_ERROR) {
|
64
|
-
printf("%s\r\n", context.message);
|
65
|
-
}
|
66
|
-
embulk_output_oracle_freeDirPathHandles(&context);
|
67
|
-
return result;
|
68
|
-
}
|
69
|
-
|
1
|
+
#include <stdio.h>
|
2
|
+
#include <string.h>
|
3
|
+
#include <dir-path-load.h>
|
4
|
+
|
5
|
+
|
6
|
+
static int test(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT *context, const char *db, const char *user, const char *pass, const char *csvFileName)
|
7
|
+
{
|
8
|
+
if (embulk_output_oracle_prepareDirPathCtx(context, db, user, pass)) {
|
9
|
+
return OCI_ERROR;
|
10
|
+
}
|
11
|
+
|
12
|
+
EMBULK_OUTPUT_ORACLE_OCI_COL_DEF colDefs[] = {
|
13
|
+
{"ID", SQLT_INT, 4},
|
14
|
+
//{"ID", SQLT_CHR, 8},
|
15
|
+
{"NUM", SQLT_INT, 4},
|
16
|
+
//{"NUM", SQLT_CHR, 12},
|
17
|
+
{"VALUE1", SQLT_CHR, 60},
|
18
|
+
{"VALUE2", SQLT_CHR, 60},
|
19
|
+
{"VALUE3", SQLT_CHR, 60},
|
20
|
+
{"VALUE4", SQLT_CHR, 60},
|
21
|
+
{"VALUE5", SQLT_CHR, 60},
|
22
|
+
{"VALUE6", SQLT_CHR, 60},
|
23
|
+
{"VALUE7", SQLT_CHR, 60},
|
24
|
+
{"VALUE8", SQLT_CHR, 60},
|
25
|
+
{"VALUE9", SQLT_CHR, 60},
|
26
|
+
{"VALUE10", SQLT_CHR, 60},
|
27
|
+
{NULL, 0, 0}
|
28
|
+
};
|
29
|
+
if (embulk_output_oracle_prepareDirPathStream(context, "EXAMPLE", 832, colDefs)) {
|
30
|
+
return OCI_ERROR;
|
31
|
+
}
|
32
|
+
|
33
|
+
if (embulk_output_oracle_loadCSV(context, colDefs, csvFileName)) {
|
34
|
+
return OCI_ERROR;
|
35
|
+
}
|
36
|
+
|
37
|
+
if (embulk_output_oracle_commitDirPath(context)) {
|
38
|
+
return OCI_ERROR;
|
39
|
+
}
|
40
|
+
|
41
|
+
return OCI_SUCCESS;
|
42
|
+
}
|
43
|
+
|
44
|
+
|
45
|
+
int main(int argc, char* argv[])
|
46
|
+
{
|
47
|
+
sword major_version;
|
48
|
+
sword minor_version;
|
49
|
+
sword update_num;
|
50
|
+
sword patch_num;
|
51
|
+
sword port_update_num;
|
52
|
+
OCIClientVersion(&major_version, &minor_version, &update_num, &patch_num, &port_update_num);
|
53
|
+
printf("OCI client version = %d.%d.%d.%d.%d\r\n", major_version, minor_version, update_num, patch_num, port_update_num);
|
54
|
+
|
55
|
+
if (argc < 5) {
|
56
|
+
printf("embulk-output-oracle-test <db> <user> <password> <csv file name>\r\n");
|
57
|
+
return OCI_ERROR;
|
58
|
+
}
|
59
|
+
|
60
|
+
EMBULK_OUTPUT_ORACLE_OCI_CONTEXT context;
|
61
|
+
memset(&context, 0, sizeof(EMBULK_OUTPUT_ORACLE_OCI_CONTEXT));
|
62
|
+
int result = test(&context, argv[1], argv[2], argv[3], argv[4]);
|
63
|
+
if (result == OCI_ERROR) {
|
64
|
+
printf("%s\r\n", context.message);
|
65
|
+
}
|
66
|
+
embulk_output_oracle_freeDirPathHandles(&context);
|
67
|
+
return result;
|
68
|
+
}
|
69
|
+
|
data/src/test/cpp/linux/build.sh
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
# gcc, g++ and Oracle Instant Client SDK are requred.
|
2
|
-
#
|
3
|
-
# ln libocci.so.x.x libocci.so
|
4
|
-
# ln libclntsh.so.x.x libclntsh.so
|
5
|
-
#
|
6
|
-
|
7
|
-
if [ "$JAVA_HOME" = "" ]
|
8
|
-
then
|
9
|
-
echo "You should set the environment variable 'JAVA_HOME'."
|
10
|
-
exit 1
|
11
|
-
fi
|
12
|
-
|
13
|
-
if [ "$OCI_PATH" = "" ]
|
14
|
-
then
|
15
|
-
echo "You should set the environment variable 'OCI_PATH'."
|
16
|
-
exit 1
|
17
|
-
fi
|
18
|
-
|
19
|
-
gcc -I. -I"$JAVA_HOME/include" -I"$OCI_PATH/sdk/include" -I../../../main/cpp/common -L"$OCI_PATH" ../common/embulk-output-oracle-test.cpp ../../../main/cpp/common/embulk-output-oracle.cpp ../../../main/cpp/common/dir-path-load.cpp -locci -lclntsh -lstdc++ -o embulk-output-oracle-test
|
1
|
+
# gcc, g++ and Oracle Instant Client SDK are requred.
|
2
|
+
#
|
3
|
+
# ln libocci.so.x.x libocci.so
|
4
|
+
# ln libclntsh.so.x.x libclntsh.so
|
5
|
+
#
|
6
|
+
|
7
|
+
if [ "$JAVA_HOME" = "" ]
|
8
|
+
then
|
9
|
+
echo "You should set the environment variable 'JAVA_HOME'."
|
10
|
+
exit 1
|
11
|
+
fi
|
12
|
+
|
13
|
+
if [ "$OCI_PATH" = "" ]
|
14
|
+
then
|
15
|
+
echo "You should set the environment variable 'OCI_PATH'."
|
16
|
+
exit 1
|
17
|
+
fi
|
18
|
+
|
19
|
+
gcc -I. -I"$JAVA_HOME/include" -I"$OCI_PATH/sdk/include" -I../../../main/cpp/common -L"$OCI_PATH" ../common/embulk-output-oracle-test.cpp ../../../main/cpp/common/embulk-output-oracle.cpp ../../../main/cpp/common/dir-path-load.cpp -locci -lclntsh -lstdc++ -o embulk-output-oracle-test
|
data/src/test/cpp/win/build.bat
CHANGED
@@ -1,29 +1,29 @@
|
|
1
|
-
@ECHO OFF
|
2
|
-
|
3
|
-
REM You should set the environment variable 'PATH' to CL.exe(x86_amd64) of Visual Studio.
|
4
|
-
|
5
|
-
IF "%JAVA_HOME%" == "" (
|
6
|
-
ECHO "You should set the environment variable 'JAVA_HOME'."
|
7
|
-
EXIT /B 1
|
8
|
-
)
|
9
|
-
|
10
|
-
|
11
|
-
IF "%OCI_SDK_PATH%" == "" (
|
12
|
-
ECHO "You should set the environment variable 'OCI_SDK_PATH'."
|
13
|
-
EXIT /B 1
|
14
|
-
)
|
15
|
-
|
16
|
-
IF "%MSVC_PATH%" == "" (
|
17
|
-
ECHO "You should set the environment variable 'MSVC_PATH'."
|
18
|
-
ECHO "For example : SET MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"
|
19
|
-
EXIT /B 1
|
20
|
-
)
|
21
|
-
|
22
|
-
IF "%MSSDK_PATH%" == "" (
|
23
|
-
ECHO "You should set the environment variable 'MSSDK_PATH'."
|
24
|
-
ECHO "For example : SET MSSDK_PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"
|
25
|
-
EXIT /B 1
|
26
|
-
)
|
27
|
-
|
28
|
-
|
1
|
+
@ECHO OFF
|
2
|
+
|
3
|
+
REM You should set the environment variable 'PATH' to CL.exe(x86_amd64) of Visual Studio.
|
4
|
+
|
5
|
+
IF "%JAVA_HOME%" == "" (
|
6
|
+
ECHO "You should set the environment variable 'JAVA_HOME'."
|
7
|
+
EXIT /B 1
|
8
|
+
)
|
9
|
+
|
10
|
+
|
11
|
+
IF "%OCI_SDK_PATH%" == "" (
|
12
|
+
ECHO "You should set the environment variable 'OCI_SDK_PATH'."
|
13
|
+
EXIT /B 1
|
14
|
+
)
|
15
|
+
|
16
|
+
IF "%MSVC_PATH%" == "" (
|
17
|
+
ECHO "You should set the environment variable 'MSVC_PATH'."
|
18
|
+
ECHO "For example : SET MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"
|
19
|
+
EXIT /B 1
|
20
|
+
)
|
21
|
+
|
22
|
+
IF "%MSSDK_PATH%" == "" (
|
23
|
+
ECHO "You should set the environment variable 'MSSDK_PATH'."
|
24
|
+
ECHO "For example : SET MSSDK_PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"
|
25
|
+
EXIT /B 1
|
26
|
+
)
|
27
|
+
|
28
|
+
|
29
29
|
CL /I"..\..\..\main\cpp\common" /I"%MSSDK_PATH%\Include" /I"%MSVC_PATH%\include" /I"%OCI_SDK_PATH%\include" /I"%JAVA_HOME%\include" /I"%JAVA_HOME%\include\win32" /Zi /nologo /W3 /WX- /O2 /Oi /GL /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_USRDLL" /D "EMBULKOUTPUTORACLE_EXPORTS" /D "_WINDLL" /D "_UNICODE" /D "UNICODE" /Gm- /EHsc /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Gd /errorReport:queue ..\common\embulk-output-oracle-test.cpp ..\..\..\main\cpp\common\dir-path-load.cpp /link /LIBPATH:"%MSVC_PATH%\lib\amd64" /LIBPATH:"%MSSDK_PATH%\Lib\x64" /LIBPATH:"%OCI_SDK_PATH%\lib\msvc" /INCREMENTAL:NO /NOLOGO /LIBPATH:"C:\Oracle\instantclient_12_1\x64\sdk\lib\msvc" "oci.lib" "kernel32.lib" "user32.lib" "gdi32.lib" "winspool.lib" "comdlg32.lib" "advapi32.lib" "shell32.lib" "ole32.lib" "oleaut32.lib" "uuid.lib" "odbc32.lib" "odbccp32.lib" /ALLOWISOLATION /SUBSYSTEM:CONSOLE /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ERRORREPORT:QUEUE
|
@@ -1,155 +1,155 @@
|
|
1
|
-
<?xml version="1.0" encoding="utf-8"?>
|
2
|
-
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
-
<ItemGroup Label="ProjectConfigurations">
|
4
|
-
<ProjectConfiguration Include="Debug|Win32">
|
5
|
-
<Configuration>Debug</Configuration>
|
6
|
-
<Platform>Win32</Platform>
|
7
|
-
</ProjectConfiguration>
|
8
|
-
<ProjectConfiguration Include="Debug|x64">
|
9
|
-
<Configuration>Debug</Configuration>
|
10
|
-
<Platform>x64</Platform>
|
11
|
-
</ProjectConfiguration>
|
12
|
-
<ProjectConfiguration Include="Release|Win32">
|
13
|
-
<Configuration>Release</Configuration>
|
14
|
-
<Platform>Win32</Platform>
|
15
|
-
</ProjectConfiguration>
|
16
|
-
<ProjectConfiguration Include="Release|x64">
|
17
|
-
<Configuration>Release</Configuration>
|
18
|
-
<Platform>x64</Platform>
|
19
|
-
</ProjectConfiguration>
|
20
|
-
</ItemGroup>
|
21
|
-
<ItemGroup>
|
22
|
-
<ClInclude Include="..\..\..\main\cpp\common\dir-path-load.h" />
|
23
|
-
</ItemGroup>
|
24
|
-
<ItemGroup>
|
25
|
-
<ClCompile Include="..\..\..\main\cpp\common\dir-path-load.cpp" />
|
26
|
-
<ClCompile Include="..\common\embulk-output-oracle-test.cpp" />
|
27
|
-
</ItemGroup>
|
28
|
-
<PropertyGroup Label="Globals">
|
29
|
-
<ProjectGuid>{C14B433B-122A-4BDB-BF50-0673A57E5716}</ProjectGuid>
|
30
|
-
<Keyword>Win32Proj</Keyword>
|
31
|
-
<RootNamespace>embulkoutputoracletest</RootNamespace>
|
32
|
-
</PropertyGroup>
|
33
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
34
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
35
|
-
<ConfigurationType>Application</ConfigurationType>
|
36
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
37
|
-
<CharacterSet>Unicode</CharacterSet>
|
38
|
-
</PropertyGroup>
|
39
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
40
|
-
<ConfigurationType>Application</ConfigurationType>
|
41
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
42
|
-
<CharacterSet>Unicode</CharacterSet>
|
43
|
-
</PropertyGroup>
|
44
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
45
|
-
<ConfigurationType>Application</ConfigurationType>
|
46
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
47
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
48
|
-
<CharacterSet>Unicode</CharacterSet>
|
49
|
-
</PropertyGroup>
|
50
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
51
|
-
<ConfigurationType>Application</ConfigurationType>
|
52
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
53
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
54
|
-
<CharacterSet>Unicode</CharacterSet>
|
55
|
-
</PropertyGroup>
|
56
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
57
|
-
<ImportGroup Label="ExtensionSettings">
|
58
|
-
</ImportGroup>
|
59
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
60
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
61
|
-
</ImportGroup>
|
62
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
63
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
64
|
-
</ImportGroup>
|
65
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
66
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
67
|
-
</ImportGroup>
|
68
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
69
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
70
|
-
</ImportGroup>
|
71
|
-
<PropertyGroup Label="UserMacros" />
|
72
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
73
|
-
<LinkIncremental>true</LinkIncremental>
|
74
|
-
</PropertyGroup>
|
75
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
76
|
-
<LinkIncremental>true</LinkIncremental>
|
77
|
-
</PropertyGroup>
|
78
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
79
|
-
<LinkIncremental>false</LinkIncremental>
|
80
|
-
</PropertyGroup>
|
81
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
82
|
-
<LinkIncremental>false</LinkIncremental>
|
83
|
-
</PropertyGroup>
|
84
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
85
|
-
<ClCompile>
|
86
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
87
|
-
<WarningLevel>Level3</WarningLevel>
|
88
|
-
<Optimization>Disabled</Optimization>
|
89
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
90
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
91
|
-
</ClCompile>
|
92
|
-
<Link>
|
93
|
-
<SubSystem>Console</SubSystem>
|
94
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
95
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
96
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
97
|
-
</Link>
|
98
|
-
</ItemDefinitionGroup>
|
99
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
100
|
-
<ClCompile>
|
101
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
102
|
-
<WarningLevel>Level3</WarningLevel>
|
103
|
-
<Optimization>Disabled</Optimization>
|
104
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
105
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
106
|
-
</ClCompile>
|
107
|
-
<Link>
|
108
|
-
<SubSystem>Console</SubSystem>
|
109
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
110
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
111
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
112
|
-
</Link>
|
113
|
-
</ItemDefinitionGroup>
|
114
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
115
|
-
<ClCompile>
|
116
|
-
<WarningLevel>Level3</WarningLevel>
|
117
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
118
|
-
<Optimization>MaxSpeed</Optimization>
|
119
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
120
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
121
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
122
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
123
|
-
</ClCompile>
|
124
|
-
<Link>
|
125
|
-
<SubSystem>Console</SubSystem>
|
126
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
127
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
128
|
-
<OptimizeReferences>true</OptimizeReferences>
|
129
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
130
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
131
|
-
</Link>
|
132
|
-
</ItemDefinitionGroup>
|
133
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
134
|
-
<ClCompile>
|
135
|
-
<WarningLevel>Level3</WarningLevel>
|
136
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
137
|
-
<Optimization>MaxSpeed</Optimization>
|
138
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
139
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
140
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
141
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
142
|
-
</ClCompile>
|
143
|
-
<Link>
|
144
|
-
<SubSystem>Console</SubSystem>
|
145
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
146
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
147
|
-
<OptimizeReferences>true</OptimizeReferences>
|
148
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
149
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
150
|
-
</Link>
|
151
|
-
</ItemDefinitionGroup>
|
152
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
153
|
-
<ImportGroup Label="ExtensionTargets">
|
154
|
-
</ImportGroup>
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
3
|
+
<ItemGroup Label="ProjectConfigurations">
|
4
|
+
<ProjectConfiguration Include="Debug|Win32">
|
5
|
+
<Configuration>Debug</Configuration>
|
6
|
+
<Platform>Win32</Platform>
|
7
|
+
</ProjectConfiguration>
|
8
|
+
<ProjectConfiguration Include="Debug|x64">
|
9
|
+
<Configuration>Debug</Configuration>
|
10
|
+
<Platform>x64</Platform>
|
11
|
+
</ProjectConfiguration>
|
12
|
+
<ProjectConfiguration Include="Release|Win32">
|
13
|
+
<Configuration>Release</Configuration>
|
14
|
+
<Platform>Win32</Platform>
|
15
|
+
</ProjectConfiguration>
|
16
|
+
<ProjectConfiguration Include="Release|x64">
|
17
|
+
<Configuration>Release</Configuration>
|
18
|
+
<Platform>x64</Platform>
|
19
|
+
</ProjectConfiguration>
|
20
|
+
</ItemGroup>
|
21
|
+
<ItemGroup>
|
22
|
+
<ClInclude Include="..\..\..\main\cpp\common\dir-path-load.h" />
|
23
|
+
</ItemGroup>
|
24
|
+
<ItemGroup>
|
25
|
+
<ClCompile Include="..\..\..\main\cpp\common\dir-path-load.cpp" />
|
26
|
+
<ClCompile Include="..\common\embulk-output-oracle-test.cpp" />
|
27
|
+
</ItemGroup>
|
28
|
+
<PropertyGroup Label="Globals">
|
29
|
+
<ProjectGuid>{C14B433B-122A-4BDB-BF50-0673A57E5716}</ProjectGuid>
|
30
|
+
<Keyword>Win32Proj</Keyword>
|
31
|
+
<RootNamespace>embulkoutputoracletest</RootNamespace>
|
32
|
+
</PropertyGroup>
|
33
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
34
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
35
|
+
<ConfigurationType>Application</ConfigurationType>
|
36
|
+
<UseDebugLibraries>true</UseDebugLibraries>
|
37
|
+
<CharacterSet>Unicode</CharacterSet>
|
38
|
+
</PropertyGroup>
|
39
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
40
|
+
<ConfigurationType>Application</ConfigurationType>
|
41
|
+
<UseDebugLibraries>true</UseDebugLibraries>
|
42
|
+
<CharacterSet>Unicode</CharacterSet>
|
43
|
+
</PropertyGroup>
|
44
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
45
|
+
<ConfigurationType>Application</ConfigurationType>
|
46
|
+
<UseDebugLibraries>false</UseDebugLibraries>
|
47
|
+
<WholeProgramOptimization>true</WholeProgramOptimization>
|
48
|
+
<CharacterSet>Unicode</CharacterSet>
|
49
|
+
</PropertyGroup>
|
50
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
51
|
+
<ConfigurationType>Application</ConfigurationType>
|
52
|
+
<UseDebugLibraries>false</UseDebugLibraries>
|
53
|
+
<WholeProgramOptimization>true</WholeProgramOptimization>
|
54
|
+
<CharacterSet>Unicode</CharacterSet>
|
55
|
+
</PropertyGroup>
|
56
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
57
|
+
<ImportGroup Label="ExtensionSettings">
|
58
|
+
</ImportGroup>
|
59
|
+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
60
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
61
|
+
</ImportGroup>
|
62
|
+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
63
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
64
|
+
</ImportGroup>
|
65
|
+
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
66
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
67
|
+
</ImportGroup>
|
68
|
+
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
|
69
|
+
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
70
|
+
</ImportGroup>
|
71
|
+
<PropertyGroup Label="UserMacros" />
|
72
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
73
|
+
<LinkIncremental>true</LinkIncremental>
|
74
|
+
</PropertyGroup>
|
75
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
76
|
+
<LinkIncremental>true</LinkIncremental>
|
77
|
+
</PropertyGroup>
|
78
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
79
|
+
<LinkIncremental>false</LinkIncremental>
|
80
|
+
</PropertyGroup>
|
81
|
+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
82
|
+
<LinkIncremental>false</LinkIncremental>
|
83
|
+
</PropertyGroup>
|
84
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
85
|
+
<ClCompile>
|
86
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
87
|
+
<WarningLevel>Level3</WarningLevel>
|
88
|
+
<Optimization>Disabled</Optimization>
|
89
|
+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
90
|
+
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
91
|
+
</ClCompile>
|
92
|
+
<Link>
|
93
|
+
<SubSystem>Console</SubSystem>
|
94
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
95
|
+
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
96
|
+
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
97
|
+
</Link>
|
98
|
+
</ItemDefinitionGroup>
|
99
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
100
|
+
<ClCompile>
|
101
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
102
|
+
<WarningLevel>Level3</WarningLevel>
|
103
|
+
<Optimization>Disabled</Optimization>
|
104
|
+
<PreprocessorDefinitions>WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
105
|
+
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
106
|
+
</ClCompile>
|
107
|
+
<Link>
|
108
|
+
<SubSystem>Console</SubSystem>
|
109
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
110
|
+
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
111
|
+
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
112
|
+
</Link>
|
113
|
+
</ItemDefinitionGroup>
|
114
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
115
|
+
<ClCompile>
|
116
|
+
<WarningLevel>Level3</WarningLevel>
|
117
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
118
|
+
<Optimization>MaxSpeed</Optimization>
|
119
|
+
<FunctionLevelLinking>true</FunctionLevelLinking>
|
120
|
+
<IntrinsicFunctions>true</IntrinsicFunctions>
|
121
|
+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
122
|
+
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
123
|
+
</ClCompile>
|
124
|
+
<Link>
|
125
|
+
<SubSystem>Console</SubSystem>
|
126
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
127
|
+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
128
|
+
<OptimizeReferences>true</OptimizeReferences>
|
129
|
+
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
130
|
+
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
131
|
+
</Link>
|
132
|
+
</ItemDefinitionGroup>
|
133
|
+
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
134
|
+
<ClCompile>
|
135
|
+
<WarningLevel>Level3</WarningLevel>
|
136
|
+
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
137
|
+
<Optimization>MaxSpeed</Optimization>
|
138
|
+
<FunctionLevelLinking>true</FunctionLevelLinking>
|
139
|
+
<IntrinsicFunctions>true</IntrinsicFunctions>
|
140
|
+
<PreprocessorDefinitions>WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
141
|
+
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;..\..\..\main\cpp\common</AdditionalIncludeDirectories>
|
142
|
+
</ClCompile>
|
143
|
+
<Link>
|
144
|
+
<SubSystem>Console</SubSystem>
|
145
|
+
<GenerateDebugInformation>true</GenerateDebugInformation>
|
146
|
+
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
147
|
+
<OptimizeReferences>true</OptimizeReferences>
|
148
|
+
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc</AdditionalLibraryDirectories>
|
149
|
+
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
150
|
+
</Link>
|
151
|
+
</ItemDefinitionGroup>
|
152
|
+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
153
|
+
<ImportGroup Label="ExtensionTargets">
|
154
|
+
</ImportGroup>
|
155
155
|
</Project>
|