embulk-output-oracle 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -50
- data/build.gradle +1 -0
- data/classpath/embulk-output-jdbc-0.5.0.jar +0 -0
- data/classpath/embulk-output-oracle-0.5.0.jar +0 -0
- data/src/main/java/org/embulk/output/oracle/DirectBatchInsert.java +16 -14
- data/src/main/java/org/embulk/output/oracle/OracleOutputConnection.java +5 -5
- data/src/main/java/org/embulk/output/oracle/oci/ColumnDefinition.java +39 -15
- data/src/main/java/org/embulk/output/oracle/oci/OCI.java +125 -133
- data/src/main/java/org/embulk/output/oracle/oci/OCIWrapper.java +403 -33
- data/src/main/java/org/embulk/output/oracle/oci/RowBuffer.java +39 -40
- data/src/main/java/org/embulk/output/oracle/oci/TableDefinition.java +17 -3
- data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTest.java +2 -2
- data/src/test/java/org/embulk/output/oracle/OracleOutputPluginTestImpl.java +38 -143
- data/src/test/resources/{data → oracle/data}/test1/test1.csv +0 -0
- data/src/test/resources/{yml → oracle/yml}/test-insert-direct-direct-method.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert-direct-empty.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert-direct-oci-method-split.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert-direct-oci-method.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert-direct.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert-empty.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-insert.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-replace-empty.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-replace-long-name-multibyte.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-replace-long-name.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-replace-oci-method.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-replace.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-string-timestamp.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-truncate-insert-oci-method.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-truncate-insert.yml +1 -1
- data/src/test/resources/{yml → oracle/yml}/test-url.yml +1 -1
- metadata +21 -38
- data/classpath/embulk-output-jdbc-0.4.5.jar +0 -0
- data/classpath/embulk-output-oracle-0.4.5.jar +0 -0
- data/lib/embulk/linux_x64/libembulk-output-oracle.so +0 -0
- data/lib/embulk/win_x64/embulk-output-oracle.dll +0 -0
- data/src/main/cpp/common/dir-path-load.cpp +0 -425
- data/src/main/cpp/common/dir-path-load.h +0 -37
- data/src/main/cpp/common/embulk-output-oracle.cpp +0 -195
- data/src/main/cpp/common/org_embulk_output_oracle_oci_OCI.h +0 -77
- data/src/main/cpp/linux/build.sh +0 -21
- data/src/main/cpp/win/build.bat +0 -32
- data/src/main/cpp/win/dllmain.cpp +0 -25
- data/src/main/cpp/win/embulk-output-oracle.sln +0 -39
- data/src/main/cpp/win/embulk-output-oracle.vcxproj +0 -176
- data/src/test/cpp/common/embulk-output-oracle-test.cpp +0 -69
- data/src/test/cpp/linux/build.sh +0 -19
- data/src/test/cpp/win/build.bat +0 -29
- data/src/test/cpp/win/embulk-output-oracle-test.vcxproj +0 -155
- data/src/test/java/org/embulk/output/tester/EmbulkPluginTester.java +0 -79
- data/src/test/resources/dummy.txt +0 -1
@@ -1,77 +0,0 @@
|
|
1
|
-
/* DO NOT EDIT THIS FILE - it is machine generated */
|
2
|
-
#include <jni.h>
|
3
|
-
/* Header for class org_embulk_output_oracle_oci_OCI */
|
4
|
-
|
5
|
-
#ifndef _Included_org_embulk_output_oracle_oci_OCI
|
6
|
-
#define _Included_org_embulk_output_oracle_oci_OCI
|
7
|
-
#ifdef __cplusplus
|
8
|
-
extern "C" {
|
9
|
-
#endif
|
10
|
-
/*
|
11
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
12
|
-
* Method: createContext
|
13
|
-
* Signature: ()[B
|
14
|
-
*/
|
15
|
-
JNIEXPORT jbyteArray JNICALL Java_org_embulk_output_oracle_oci_OCI_createContext
|
16
|
-
(JNIEnv *, jobject);
|
17
|
-
|
18
|
-
/*
|
19
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
20
|
-
* Method: getLasetMessage
|
21
|
-
* Signature: ([B)[B
|
22
|
-
*/
|
23
|
-
JNIEXPORT jbyteArray JNICALL Java_org_embulk_output_oracle_oci_OCI_getLasetMessage
|
24
|
-
(JNIEnv *, jobject, jbyteArray);
|
25
|
-
|
26
|
-
/*
|
27
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
28
|
-
* Method: open
|
29
|
-
* Signature: ([BLjava/lang/String;Ljava/lang/String;Ljava/lang/String;)Z
|
30
|
-
*/
|
31
|
-
JNIEXPORT jboolean JNICALL Java_org_embulk_output_oracle_oci_OCI_open
|
32
|
-
(JNIEnv *, jobject, jbyteArray, jstring, jstring, jstring);
|
33
|
-
|
34
|
-
/*
|
35
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
36
|
-
* Method: prepareLoad
|
37
|
-
* Signature: ([BLorg/embulk/output/oracle/oci/TableDefinition;)Z
|
38
|
-
*/
|
39
|
-
JNIEXPORT jboolean JNICALL Java_org_embulk_output_oracle_oci_OCI_prepareLoad
|
40
|
-
(JNIEnv *, jobject, jbyteArray, jobject);
|
41
|
-
|
42
|
-
/*
|
43
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
44
|
-
* Method: loadBuffer
|
45
|
-
* Signature: ([B[BI)Z
|
46
|
-
*/
|
47
|
-
JNIEXPORT jboolean JNICALL Java_org_embulk_output_oracle_oci_OCI_loadBuffer
|
48
|
-
(JNIEnv *, jobject, jbyteArray, jbyteArray, jint);
|
49
|
-
|
50
|
-
/*
|
51
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
52
|
-
* Method: commit
|
53
|
-
* Signature: ([B)Z
|
54
|
-
*/
|
55
|
-
JNIEXPORT jboolean JNICALL Java_org_embulk_output_oracle_oci_OCI_commit
|
56
|
-
(JNIEnv *, jobject, jbyteArray);
|
57
|
-
|
58
|
-
/*
|
59
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
60
|
-
* Method: rollback
|
61
|
-
* Signature: ([B)Z
|
62
|
-
*/
|
63
|
-
JNIEXPORT jboolean JNICALL Java_org_embulk_output_oracle_oci_OCI_rollback
|
64
|
-
(JNIEnv *, jobject, jbyteArray);
|
65
|
-
|
66
|
-
/*
|
67
|
-
* Class: org_embulk_output_oracle_oci_OCI
|
68
|
-
* Method: close
|
69
|
-
* Signature: ([B)V
|
70
|
-
*/
|
71
|
-
JNIEXPORT void JNICALL Java_org_embulk_output_oracle_oci_OCI_close
|
72
|
-
(JNIEnv *, jobject, jbyteArray);
|
73
|
-
|
74
|
-
#ifdef __cplusplus
|
75
|
-
}
|
76
|
-
#endif
|
77
|
-
#endif
|
data/src/main/cpp/linux/build.sh
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
# gcc, g++ and Oracle Instant Client Basic and 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
|
-
mkdir -p ../../../../lib/embulk/linux_x64
|
20
|
-
|
21
|
-
gcc -fPIC -I. -I"$JAVA_HOME/include" -I"$JAVA_HOME/include/linux" -I"$OCI_PATH/sdk/include" -I../../../main/cpp/common -L"$OCI_PATH" -shared ../../../main/cpp/common/embulk-output-oracle.cpp ../../../main/cpp/common/dir-path-load.cpp -locci -lclntsh -lstdc++ -o ../../../../lib/embulk/linux_x64/libembulk-output-oracle.so
|
data/src/main/cpp/win/build.bat
DELETED
@@ -1,32 +0,0 @@
|
|
1
|
-
@ECHO OFF
|
2
|
-
|
3
|
-
REM Visual Studio and Oracle Instant Client SDK are requred.
|
4
|
-
REM You should set the environment variable 'PATH' to CL.exe(x86_amd64) of Visual Studio.
|
5
|
-
|
6
|
-
IF "%JAVA_HOME%" == "" (
|
7
|
-
ECHO "You should set the environment variable 'JAVA_HOME'."
|
8
|
-
EXIT /B 1
|
9
|
-
)
|
10
|
-
|
11
|
-
|
12
|
-
IF "%OCI_SDK_PATH%" == "" (
|
13
|
-
ECHO "You should set the environment variable 'OCI_SDK_PATH'."
|
14
|
-
EXIT /B 1
|
15
|
-
)
|
16
|
-
|
17
|
-
IF "%MSVC_PATH%" == "" (
|
18
|
-
ECHO "You should set the environment variable 'MSVC_PATH'."
|
19
|
-
ECHO "For example : SET MSVC_PATH=C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC"
|
20
|
-
EXIT /B 1
|
21
|
-
)
|
22
|
-
|
23
|
-
IF "%MSSDK_PATH%" == "" (
|
24
|
-
ECHO "You should set the environment variable 'MSSDK_PATH'."
|
25
|
-
ECHO "For example : SET MSSDK_PATH=C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A"
|
26
|
-
EXIT /B 1
|
27
|
-
)
|
28
|
-
|
29
|
-
|
30
|
-
MKDIR ..\..\..\..\lib\embulk\win_x64
|
31
|
-
|
32
|
-
CL /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.cpp ..\common\dir-path-load.cpp dllmain.cpp /link /LIBPATH:"%MSVC_PATH%\lib\amd64" /LIBPATH:"%MSSDK_PATH%\Lib\x64" /LIBPATH:"%OCI_SDK_PATH%\lib\msvc" /INCREMENTAL:NO /NOLOGO /LIBPATH:"%OCI_SDK_PATH%\lib\msvc" /OUT:"..\..\..\..\lib\embulk\win_x64\embulk-output-oracle.dll" /DLL "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" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /DYNAMICBASE /NXCOMPAT /MACHINE:X64 /ERRORREPORT:QUEUE
|
@@ -1,25 +0,0 @@
|
|
1
|
-
#pragma once
|
2
|
-
|
3
|
-
#include <SDKDDKVer.h>
|
4
|
-
|
5
|
-
#define WIN32_LEAN_AND_MEAN
|
6
|
-
|
7
|
-
#include <windows.h>
|
8
|
-
|
9
|
-
|
10
|
-
BOOL APIENTRY DllMain( HMODULE hModule,
|
11
|
-
DWORD ul_reason_for_call,
|
12
|
-
LPVOID lpReserved
|
13
|
-
)
|
14
|
-
{
|
15
|
-
switch (ul_reason_for_call)
|
16
|
-
{
|
17
|
-
case DLL_PROCESS_ATTACH:
|
18
|
-
case DLL_THREAD_ATTACH:
|
19
|
-
case DLL_THREAD_DETACH:
|
20
|
-
case DLL_PROCESS_DETACH:
|
21
|
-
break;
|
22
|
-
}
|
23
|
-
return TRUE;
|
24
|
-
}
|
25
|
-
|
@@ -1,39 +0,0 @@
|
|
1
|
-
|
2
|
-
Microsoft Visual Studio Solution File, Format Version 11.00
|
3
|
-
# Visual Studio 2010
|
4
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "embulk-output-oracle", "embulk-output-oracle.vcxproj", "{2284D821-588E-419F-8790-F5BCC12F93BD}"
|
5
|
-
EndProject
|
6
|
-
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "embulk-output-oracle-test", "..\..\..\test\cpp\win\embulk-output-oracle-test.vcxproj", "{C14B433B-122A-4BDB-BF50-0673A57E5716}"
|
7
|
-
ProjectSection(ProjectDependencies) = postProject
|
8
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD} = {2284D821-588E-419F-8790-F5BCC12F93BD}
|
9
|
-
EndProjectSection
|
10
|
-
EndProject
|
11
|
-
Global
|
12
|
-
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
13
|
-
Debug|Win32 = Debug|Win32
|
14
|
-
Debug|x64 = Debug|x64
|
15
|
-
Release|Win32 = Release|Win32
|
16
|
-
Release|x64 = Release|x64
|
17
|
-
EndGlobalSection
|
18
|
-
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
19
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Debug|Win32.ActiveCfg = Debug|Win32
|
20
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Debug|Win32.Build.0 = Debug|Win32
|
21
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Debug|x64.ActiveCfg = Debug|x64
|
22
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Debug|x64.Build.0 = Debug|x64
|
23
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Release|Win32.ActiveCfg = Release|Win32
|
24
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Release|Win32.Build.0 = Release|Win32
|
25
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Release|x64.ActiveCfg = Release|x64
|
26
|
-
{2284D821-588E-419F-8790-F5BCC12F93BD}.Release|x64.Build.0 = Release|x64
|
27
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Debug|Win32.ActiveCfg = Debug|Win32
|
28
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Debug|Win32.Build.0 = Debug|Win32
|
29
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Debug|x64.ActiveCfg = Debug|x64
|
30
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Debug|x64.Build.0 = Debug|x64
|
31
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Release|Win32.ActiveCfg = Release|Win32
|
32
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Release|Win32.Build.0 = Release|Win32
|
33
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Release|x64.ActiveCfg = Release|x64
|
34
|
-
{C14B433B-122A-4BDB-BF50-0673A57E5716}.Release|x64.Build.0 = Release|x64
|
35
|
-
EndGlobalSection
|
36
|
-
GlobalSection(SolutionProperties) = preSolution
|
37
|
-
HideSolutionNode = FALSE
|
38
|
-
EndGlobalSection
|
39
|
-
EndGlobal
|
@@ -1,176 +0,0 @@
|
|
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
|
-
<PropertyGroup Label="Globals">
|
22
|
-
<ProjectGuid>{2284D821-588E-419F-8790-F5BCC12F93BD}</ProjectGuid>
|
23
|
-
<Keyword>Win32Proj</Keyword>
|
24
|
-
<RootNamespace>embulkoutputoracle</RootNamespace>
|
25
|
-
<ProjectName>embulk-output-oracle</ProjectName>
|
26
|
-
</PropertyGroup>
|
27
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
|
28
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
29
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
30
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
31
|
-
<CharacterSet>Unicode</CharacterSet>
|
32
|
-
</PropertyGroup>
|
33
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
34
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
35
|
-
<UseDebugLibraries>true</UseDebugLibraries>
|
36
|
-
<CharacterSet>Unicode</CharacterSet>
|
37
|
-
</PropertyGroup>
|
38
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
39
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
40
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
41
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
42
|
-
<CharacterSet>Unicode</CharacterSet>
|
43
|
-
</PropertyGroup>
|
44
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
|
45
|
-
<ConfigurationType>DynamicLibrary</ConfigurationType>
|
46
|
-
<UseDebugLibraries>false</UseDebugLibraries>
|
47
|
-
<WholeProgramOptimization>true</WholeProgramOptimization>
|
48
|
-
<CharacterSet>Unicode</CharacterSet>
|
49
|
-
</PropertyGroup>
|
50
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
|
51
|
-
<ImportGroup Label="ExtensionSettings">
|
52
|
-
</ImportGroup>
|
53
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
54
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
55
|
-
</ImportGroup>
|
56
|
-
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
|
57
|
-
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
|
58
|
-
</ImportGroup>
|
59
|
-
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|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)'=='Release|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
|
-
<PropertyGroup Label="UserMacros" />
|
66
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
67
|
-
<LinkIncremental>true</LinkIncremental>
|
68
|
-
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
69
|
-
</PropertyGroup>
|
70
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
71
|
-
<LinkIncremental>true</LinkIncremental>
|
72
|
-
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
73
|
-
</PropertyGroup>
|
74
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
75
|
-
<LinkIncremental>false</LinkIncremental>
|
76
|
-
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
77
|
-
</PropertyGroup>
|
78
|
-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
79
|
-
<LinkIncremental>false</LinkIncremental>
|
80
|
-
<OutDir>$(SolutionDir)$(Configuration)\</OutDir>
|
81
|
-
</PropertyGroup>
|
82
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
83
|
-
<ClCompile>
|
84
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
85
|
-
<WarningLevel>Level3</WarningLevel>
|
86
|
-
<Optimization>Disabled</Optimization>
|
87
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;EMBULKOUTPUTORACLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
88
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
89
|
-
</ClCompile>
|
90
|
-
<Link>
|
91
|
-
<SubSystem>Windows</SubSystem>
|
92
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
93
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
94
|
-
<OutputFile>..\..\..\..\lib\$(TargetName)$(TargetExt)</OutputFile>
|
95
|
-
</Link>
|
96
|
-
</ItemDefinitionGroup>
|
97
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
98
|
-
<ClCompile>
|
99
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
100
|
-
<WarningLevel>Level3</WarningLevel>
|
101
|
-
<Optimization>Disabled</Optimization>
|
102
|
-
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;EMBULKOUTPUTORACLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
103
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
104
|
-
</ClCompile>
|
105
|
-
<Link>
|
106
|
-
<SubSystem>Windows</SubSystem>
|
107
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
108
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
109
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
110
|
-
<OutputFile>..\..\..\..\lib\embulk\win_x64\$(TargetName)$(TargetExt)</OutputFile>
|
111
|
-
</Link>
|
112
|
-
</ItemDefinitionGroup>
|
113
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
114
|
-
<ClCompile>
|
115
|
-
<WarningLevel>Level3</WarningLevel>
|
116
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
117
|
-
<Optimization>MaxSpeed</Optimization>
|
118
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
119
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
120
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;EMBULKOUTPUTORACLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
121
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
122
|
-
</ClCompile>
|
123
|
-
<Link>
|
124
|
-
<SubSystem>Windows</SubSystem>
|
125
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
126
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
127
|
-
<OptimizeReferences>true</OptimizeReferences>
|
128
|
-
<OutputFile>..\..\..\..\lib\$(TargetName)$(TargetExt)</OutputFile>
|
129
|
-
</Link>
|
130
|
-
</ItemDefinitionGroup>
|
131
|
-
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
132
|
-
<ClCompile>
|
133
|
-
<WarningLevel>Level3</WarningLevel>
|
134
|
-
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
135
|
-
<Optimization>MaxSpeed</Optimization>
|
136
|
-
<FunctionLevelLinking>true</FunctionLevelLinking>
|
137
|
-
<IntrinsicFunctions>true</IntrinsicFunctions>
|
138
|
-
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;EMBULKOUTPUTORACLE_EXPORTS;%(PreprocessorDefinitions)</PreprocessorDefinitions>
|
139
|
-
<AdditionalIncludeDirectories>$(OCI_SDK_PATH)\include;$(JAVA_HOME)\include;$(JAVA_HOME)\include\win32;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
|
140
|
-
</ClCompile>
|
141
|
-
<Link>
|
142
|
-
<SubSystem>Windows</SubSystem>
|
143
|
-
<GenerateDebugInformation>true</GenerateDebugInformation>
|
144
|
-
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
145
|
-
<OptimizeReferences>true</OptimizeReferences>
|
146
|
-
<AdditionalLibraryDirectories>$(OCI_SDK_PATH)\lib\msvc;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
|
147
|
-
<AdditionalDependencies>oci.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
148
|
-
<OutputFile>..\..\..\..\lib\embulk\win_x64\$(TargetName)$(TargetExt)</OutputFile>
|
149
|
-
</Link>
|
150
|
-
</ItemDefinitionGroup>
|
151
|
-
<ItemGroup>
|
152
|
-
<ClCompile Include="..\common\dir-path-load.cpp" />
|
153
|
-
<ClCompile Include="..\common\embulk-output-oracle.cpp" />
|
154
|
-
<ClCompile Include="dllmain.cpp">
|
155
|
-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">false</CompileAsManaged>
|
156
|
-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">false</CompileAsManaged>
|
157
|
-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
|
158
|
-
</PrecompiledHeader>
|
159
|
-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
|
160
|
-
</PrecompiledHeader>
|
161
|
-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</CompileAsManaged>
|
162
|
-
<CompileAsManaged Condition="'$(Configuration)|$(Platform)'=='Release|x64'">false</CompileAsManaged>
|
163
|
-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
|
164
|
-
</PrecompiledHeader>
|
165
|
-
<PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
|
166
|
-
</PrecompiledHeader>
|
167
|
-
</ClCompile>
|
168
|
-
</ItemGroup>
|
169
|
-
<ItemGroup>
|
170
|
-
<ClInclude Include="..\common\dir-path-load.h" />
|
171
|
-
<ClInclude Include="..\common\org_embulk_output_oracle_oci_OCI.h" />
|
172
|
-
</ItemGroup>
|
173
|
-
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
|
174
|
-
<ImportGroup Label="ExtensionTargets">
|
175
|
-
</ImportGroup>
|
176
|
-
</Project>
|
@@ -1,69 +0,0 @@
|
|
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, 832},
|
14
|
-
//{"ID", SQLT_CHR, 8, 832},
|
15
|
-
{"NUM", SQLT_INT, 4, 832},
|
16
|
-
//{"NUM", SQLT_CHR, 12, 832},
|
17
|
-
{"VALUE1", SQLT_CHR, 60, 832},
|
18
|
-
{"VALUE2", SQLT_CHR, 60, 832},
|
19
|
-
{"VALUE3", SQLT_CHR, 60, 832},
|
20
|
-
{"VALUE4", SQLT_CHR, 60, 832},
|
21
|
-
{"VALUE5", SQLT_CHR, 60, 832},
|
22
|
-
{"VALUE6", SQLT_CHR, 60, 832},
|
23
|
-
{"VALUE7", SQLT_CHR, 60, 832},
|
24
|
-
{"VALUE8", SQLT_CHR, 60, 832},
|
25
|
-
{"VALUE9", SQLT_CHR, 60, 832},
|
26
|
-
{"VALUE10", SQLT_CHR, 60, 832},
|
27
|
-
{NULL, 0, 0, 832}
|
28
|
-
};
|
29
|
-
if (embulk_output_oracle_prepareDirPathStream(context, "EXAMPLE", 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
DELETED
@@ -1,19 +0,0 @@
|
|
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
DELETED
@@ -1,29 +0,0 @@
|
|
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
|
-
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 +0,0 @@
|
|
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
|
-
</Project>
|