Issue Details (XML | Word | Printable)

Key: JDBC-495
Type: Improvement Improvement
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

Load character sets on-demand, not on initialization

Created: 25/May/17 09:51 AM   Updated: 05/Jun/17 01:14 PM
Component/s: JDBC driver
Affects Version/s: Jaybird 3.0.0
Fix Version/s: Jaybird 3.0.1, Jaybird 3.1

Environment:  Excelsior Jet


 Description  « Hide
As reported by Hugo Larson on Firebird-java, when using Jaybird 3 in a (large) application compiled with Excelsior Jet, the initialization of the default EncodingFactory can take a long time if not all character sets are included in the compiled application (about 500ms per missing character set).

I have not been able to reproduce this behavior in Java applications running in a 'normal' JVM, but it might be worthwhile to change the character set handling to initialize on first use of a character set (if possible).

Note that including the missing character sets in the compiled Excelsior Jet application makes it fast again.

 All   Comments   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
There are no subversion log entries for this issue yet.