Skip to content

port jdbc examples to hsqldb #765

@sammefford

Description

@sammefford

We created four jdbc cookbook examples: BulkLoadFromJdbcRaw, BulkLoadFromJdbcWithJoins, BulkLoadFromJdbcWithSimpleJoins, and IncrementalLoadFromJdbc. We used mysql (mariadb) to present a real-world scenario of migrating data between relational and MarkLogic.

We also created unit test wrappers for them so we can ensure the cookbook examples work against the latest client & server.: BulkLoadFromJdbcRawTest, BulkLoadFromJdbcWithJoinsTest, BulkLoadFromJdbcWithSimpleJoinsTest, and IncrementalLoadFromJdbcTest. However, that would require our Jenkins and regression environments to install mysql. Rather than do that, let's try hsqldb since it can run embedded in the JVM. Ideally, we'd run the tests off some data in src/main/resources/. I'd like the code to work unmodified against mysql and hsqldb if possible.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions