Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Bulk Copy API for batch insert operation #686

Merged
merged 43 commits into from
Jun 27, 2018
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
b727aa0
Use Bulk Copy API for batch insert operation
peterbae Apr 20, 2018
52da9aa
Parse bug fixing and test added
peterbae Apr 27, 2018
5bb79a2
bug fix + additional tests
peterbae May 1, 2018
5cf28ad
change reflection for testing
peterbae May 1, 2018
59d29d7
more test changes
peterbae May 1, 2018
dc42708
Add parsing logic for -- comment
peterbae May 1, 2018
f67cad1
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae May 3, 2018
dca4cb5
refactoring
peterbae May 3, 2018
1c6a186
Merge branch 'dev' into batch-insert-improvement
cheenamalhotra May 3, 2018
80112c5
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae May 7, 2018
8ed14fe
Merge branch 'batch-insert-improvement' of https://github.com/peterba…
peterbae May 7, 2018
b67ccfb
Bug fix / testing change
peterbae May 8, 2018
a677b28
Reflect comment change
peterbae May 8, 2018
60b437e
Refactor two Bulk files into a common parent
peterbae May 25, 2018
8604ff4
javadoc changes
peterbae May 25, 2018
34d8bb1
fix problem with precision / scale
peterbae May 28, 2018
39060b7
fix issue with setting all to true
peterbae May 29, 2018
d80908e
make bamoo fixes
peterbae May 29, 2018
aa34276
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae May 30, 2018
8d044b1
undo some changes made to SQLServerConnection
peterbae May 30, 2018
70bea50
apply resource bundling changes
peterbae May 30, 2018
8b45a21
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae Jun 4, 2018
c204354
remove on_dw, and remove redundant fmtonly
peterbae Jun 5, 2018
f218fe3
formatting
peterbae Jun 5, 2018
3c5d023
Reformatting + adding more tests
peterbae Jun 6, 2018
dcd63d3
inherit the connection property in statement + fix issue with null / …
peterbae Jun 8, 2018
c322174
comment revisions
peterbae Jun 13, 2018
0700749
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae Jun 14, 2018
7dd2d42
Fixing logic / adding more tests
peterbae Jun 19, 2018
84acbb8
dont use test database in tests
peterbae Jun 19, 2018
38bcdc6
Change exception handling as per JDBC specs
peterbae Jun 20, 2018
b4d4b26
remove some comments
peterbae Jun 20, 2018
9b7f40c
reflect comments
peterbae Jun 22, 2018
c6f8011
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae Jun 22, 2018
405b47e
changed how logger works, refactored code in SQLServerBulkCommon due …
peterbae Jun 22, 2018
66c0b19
add more tests, make the prepared statement property go away
peterbae Jun 22, 2018
0b65647
Merge branch 'dev' into batch-insert-improvement
cheenamalhotra Jun 24, 2018
80b396a
Merge branch 'dev' of https://github.com/Microsoft/mssql-jdbc into ba…
peterbae Jun 25, 2018
d2d5d23
Merge branch 'batch-insert-improvement' of https://github.com/peterba…
peterbae Jun 25, 2018
2369bb2
Added getter/setter public for the useBulkCopyForBatchInsert connecti…
peterbae Jun 25, 2018
bae637c
Change implementation of child classes a bit
peterbae Jun 25, 2018
b8afb58
Fix bamboo problem + refactor test code
peterbae Jun 26, 2018
096d78e
Replace all connection and statements with try blocks
peterbae Jun 26, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/main/java/com/microsoft/sqlserver/jdbc/Parameter.java
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,10 @@ Object getValue(JDBCType jdbcType,
// statement level), cryptoMeta would be null.
return getterDTV.getValue(jdbcType, outScale, getterArgs, cal, typeInfo, cryptoMeta, tdsReader);
}

Object getSetterValue() {
return setterDTV.getSetterValue();
}

int getInt(TDSReader tdsReader) throws SQLServerException {
Integer value = (Integer) getValue(JDBCType.INTEGER, null, null, tdsReader);
Expand Down
Loading