-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
[WIP] Initial work on DBMSProcessor batch entry insertion into ENTRY table #5814
Merged
tobiasdiez
merged 31 commits into
JabRef:master
from
abepolk:batch_DBMSProcessor_entries
Feb 19, 2020
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
e701c62
Initial work on DBMSProcessor entry insertion into ENTRY table
abepolk a5bfc87
Change syntax for Oracle multi-row insert SQL statement
abepolk 3027c54
Merge branch 'master' into batch_DBMSProcessor_entries
abepolk ae9d53c
Run tests also when source files changed
tobiasdiez ed675a2
Add to comment about Oracle
abepolk 4e80030
Assume ResultSet is in order for setting shared IDs
abepolk 67fdf27
Add insertEntry for DBMSProcessor tests and fix PostgresSQLProcessor
abepolk 8aaf774
Fix SQL typo
abepolk bbc81ab
Separate table drops in Oracle tests
abepolk 74ab816
Merge remote-tracking branch 'fork/fix_fields_sql' into fix_fields_sql
abepolk 17de560
Remove CI tests that were added in branch
abepolk 5f23e03
Work on unit test for DBMSProcessor insertEntries
abepolk 402a9cc
Fix bug in DBMSProcessorTest and simplify DBMSProcessor.FilterForBibE…
abepolk a37129a
Remove Oracle connection bug with wrong port
abepolk 94a75cd
Add Oracle insertIntoEntryTable
abepolk fbf1d33
Oracle connection fix - taken from fix_fields_sql branch
abepolk dbbfe00
Fix typo bug
abepolk a5ab4e5
Clean up code
abepolk 2279464
Remove commented blocks
abepolk 926473a
Remove comment about needing a test that probably isn't necessary
abepolk 9d5960f
Manually merge fix_fields_sql OracleProcessor (just add method)
abepolk a2fcb77
Merge fix_fields_sql
abepolk 3bdf2d8
Emphasize todo
abepolk 85f9196
setSharedID into OracleProcessor entry table method
abepolk 245c48e
Add shared id to preparedEntryStatement
abepolk 79d8354
Make Oracle insertIntoEntryTable iterative - pasted from master - not…
abepolk c315838
Add fields to fields table in parallel
abepolk c073b8f
Merge master
abepolk 934acb2
Reset test trace length
abepolk bd32ecd
Fix checkStyle
abepolk 99191ff
Revert port setting
tobiasdiez File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not sure, but this looks odd to me with the String[]
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This just indicates the column where we want to put the auto-generated keys. See https://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#prepareStatement(java.lang.String,%20int[])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I looked into Stack Overflow and the Oracle JDBC driver source code and it looks like the Oracle JDBC doesn't support
getGeneratedKeys
onINSERT ALL
statements. So I'll have to find another way of getting the shared IDs.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OMG. This sounds like we should really drop Oracle support. There is no need for Oracle in 2020, is it? - Postgres is the way to go, isn't it?
We should IMHO also drop MySQL support as it does not offer automatic updates on changes on the server.