Issue Details (XML | Word | Printable)

Key: JDBC-286
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Mark Rotteveel
Reporter: Mark Rotteveel
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jaybird JCA/JDBC Driver

DPB and SPB format are different

Created: 02/Dec/12 10:27 AM   Updated: 21/Feb/13 08:08 PM
Component/s: Services API
Affects Version/s: None
Fix Version/s: Jaybird 2.2.2, Jaybird 3.0

Time Tracking:
Not Specified

Issue Links:
Relate
 


 Description  « Hide
The fix for JDBC-285 opens a whole new set of problems: apparently the SPB and DPB formats are not the same: in DPB the length is always prefixed, while in SPB that is only done for strings, this causes a GDS Exception. 335544562. unrecognized service parameter block. Strangely enough this only seems to occur with the JNI implementation

 All   Comments   Work Log   Change History   Version Control   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Mark Rotteveel added a comment - 02/Dec/12 10:41 AM
This problem was already fixed in the wire protocol implementation, which has a separate implementation to write the arguments without length.

Mark Rotteveel added a comment - 02/Dec/12 01:08 PM
Committed fix to trunk and 2.2 branch