Skip to content

Support open and connection to memory DB based on given bytes #1352

@wyalchemy

Description

@wyalchemy

Is your feature request related to a problem? Please describe.
N/A. The is just an enhancement request to JDBC driver.

Describe the solution you'd like
Currently the driver seems does not support open and connect to a memeory DB which is based on given byte[] (The byte[] comes from already ready DB content from somewhere else. With which, the DB is ready to query), but only support open and connect to brand new memory DB(it is empty, has nothing in it yet).
We have an application which already reads DB content as byte[] already and the size is OK to be in memory. We expect we can directly use that already ready bytes to open the DB and connect to it to do query.
The existing code about open an DB from file or other source does get related byte[] and then open it. But just no public interface to directly support open DB and connect to it based on given byte[]. I guess support open and connect to a memory DB based on existing byte[] should be easy.

Describe alternatives you've considered
No

Additional context
NO

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement:JDBCEnhancement specific to the JDBC standardimpacts:JNIHas impact on JNI C code

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions