-
-
Notifications
You must be signed in to change notification settings - Fork 23
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
Native OO API implementations #19
Open
vasiliy-yashkov
wants to merge
21
commits into
FirebirdSQL:master
Choose a base branch
from
vasiliy-yashkov:native_oo_batch
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Native OO API implementations #19
vasiliy-yashkov
wants to merge
21
commits into
FirebirdSQL:master
from
vasiliy-yashkov:native_oo_batch
Commits on Oct 29, 2018
-
New OO API interfaces implementations and tests for them. Classes are in a separate package org.firebirdsql.nativeoo.gds.ng by analogy with existing JNA implementations. Some batch interfaces (FbBatch, etc.) have been added to the wire layer and can be used for wire implementations. Connection through new interfaces is carried out through its own protocols: jdbc:firebirdsql:fboo: [embedded:|locale:|native:]. Interface FbInterface extends FbClientLibrary, while the library has only the definition of the interface IMaster. FbInterface was generated by modified cloop.
Vasiliy Yashkov committedOct 29, 2018 Configuration menu - View commit details
-
Copy full SHA for 0be6537 - Browse repository at this point
Copy the full SHA 0be6537View commit details
Commits on Dec 5, 2018
-
1. Removed FbException handling class. Now, to form an exception, the status vector is processed after native methods calls and an SQLException is generated. 2. Exception handling works with the specified database encoding. 3. Methods that do not have batches implementations throw FBDriverNotCapableException instead of SQLException. 4. The batch generation mechanisms is similar to the implementation of prepared statements: 4.1. The batch generates field descriptors based on the prepared statement. 4.2 If the batch is created from external metadata, then it makes field descriptors like a prepared statement. 4.3 The batch uses methods to set the request fields like a prepared statement. The conversion of data of these fields in this case is carried out by FBField class, which uses database encoding and other parameters. 5. Changed test class names. Instead of TestXXX, to XXXTest. 6. Using GdsTypeRule for native tests. 7. Minor bugs fixed.
Vasiliy Yashkov committedDec 5, 2018 Configuration menu - View commit details
-
Copy full SHA for 48a1188 - Browse repository at this point
Copy the full SHA 48a1188View commit details
Commits on Jan 28, 2020
-
Configuration menu - View commit details
-
Copy full SHA for f117647 - Browse repository at this point
Copy the full SHA f117647View commit details
Commits on Jan 30, 2020
-
Update native OO API implementation
1. Updated interfaces `FbInterface.java` in accordance with the current firebird 4 implementation. Removed old and unnecessary interface implementations. `fb_get_master_interface()` method moved from FbClientLibrary to separate old and new implementations. 2. Fixed setting `null` flag in message data of `IStatement` if the field data was `null`. 3. Removed excess imports of `org.firebirdsql.nativeoo.gds.ng.FbInterface` from `org.firebirdsql.gds` layer. 4. The batch parameter buffer now contains constants instead of the `FbBatch` interface. 5. Reimplemented event handling with old `isc_*` calls. 6. JNA deprecated function `loadLibrary` replaced by `load`. 7. Other corrections and additions related to main code of the driver.
Configuration menu - View commit details
-
Copy full SHA for ceb90bb - Browse repository at this point
Copy the full SHA ceb90bbView commit details
Commits on Jul 27, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 15b0855 - Browse repository at this point
Copy the full SHA 15b0855View commit details
Commits on Jul 28, 2020
-
Add versioning support of native interfaces and update existing class…
… implementations Additional changes: 1. Fix preparation of metadata when executing statement. 2. Add GDS type rule for new native support. 3. Replace SQL_DEC_FIXED with SQL_INT128. 4. Update gradle build config. 5. Add small comments.
Configuration menu - View commit details
-
Copy full SHA for c426c70 - Browse repository at this point
Copy the full SHA c426c70View commit details
Commits on Apr 14, 2022
-
Configuration menu - View commit details
-
Copy full SHA for e0d14ad - Browse repository at this point
Copy the full SHA e0d14adView commit details
Commits on Apr 15, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 7b1f4ac - Browse repository at this point
Copy the full SHA 7b1f4acView commit details
Commits on Jul 25, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 826f698 - Browse repository at this point
Copy the full SHA 826f698View commit details -
Update native OO API implementations
1. Update interfaces for `fbclient` library. 2. Fix memory allocation for error message. 3. Fix parsing of warnings from status vector. 4. Fix `free` call when closing statement. 5. Update and fix tests.
Configuration menu - View commit details
-
Copy full SHA for d79b0a5 - Browse repository at this point
Copy the full SHA d79b0a5View commit details
Commits on Sep 5, 2022
-
Configuration menu - View commit details
-
Copy full SHA for bf59522 - Browse repository at this point
Copy the full SHA bf59522View commit details -
Configuration menu - View commit details
-
Copy full SHA for f8f18e5 - Browse repository at this point
Copy the full SHA f8f18e5View commit details
Commits on Sep 12, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 5bb1b93 - Browse repository at this point
Copy the full SHA 5bb1b93View commit details -
Use
ReentrantLock
instead of synchronized object for native OO API ……implementations
Configuration menu - View commit details
-
Copy full SHA for a57ca08 - Browse repository at this point
Copy the full SHA a57ca08View commit details
Commits on May 31, 2023
-
Update implementation of native OO API
Move implementation to `jaybird-native` dependency.
Configuration menu - View commit details
-
Copy full SHA for c122329 - Browse repository at this point
Copy the full SHA c122329View commit details
Commits on Jun 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e874a6f - Browse repository at this point
Copy the full SHA e874a6fView commit details -
Use correct invalid descriptor field identifier for exception in case…
… of getting field
Configuration menu - View commit details
-
Copy full SHA for b4e6ade - Browse repository at this point
Copy the full SHA b4e6adeView commit details -
Configuration menu - View commit details
-
Copy full SHA for a6fdaba - Browse repository at this point
Copy the full SHA a6fdabaView commit details
Commits on Jun 7, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 63cd757 - Browse repository at this point
Copy the full SHA 63cd757View commit details -
Use
org.firebirdsql.jdbc.FirebirdBlob
as arguments when working wit……h blobs in native batch Also fix creation of `org.firebirdsql.jdbc.FBBlob` instances.
Configuration menu - View commit details
-
Copy full SHA for 11ee8f0 - Browse repository at this point
Copy the full SHA 11ee8f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0d55f0d - Browse repository at this point
Copy the full SHA 0d55f0dView commit details
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.