Skip to content

#75 - Add support for MySQL using jasync-mysql #84

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

Closed
wants to merge 4 commits into from

Conversation

mp911de
Copy link
Member

@mp911de mp911de commented Mar 27, 2019

We now support MySQL through the jasync-mysql driver that exposes its asynchronous functionality through a R2DBC wrapper implementation.

Jasync uses for now its own exceptions. We also introduced support for anonymous bind markers which use ordinal binding an a static placeholder.


Related ticket: #75.

@mp911de mp911de requested a review from schauder March 27, 2019 11:59
mp911de added 4 commits April 2, 2019 16:05
Anonymous indexed bind markers come with a static placeholder symbol for all parameter occurrences and they are bound by index.
We now support MySQL through the jasync-mysql driver that exposes its asynchronous functionality through a R2DBC wrapper implementation.

Jasync uses for now its own exceptions.
Unify connection creation by providing JDBC URL. Obtain R2DBC ConnectionFactory using connection factory discovery.
schauder pushed a commit that referenced this pull request Apr 17, 2019
Anonymous indexed bind markers come with a static placeholder symbol for all parameter occurrences and they are bound by index.

Original pull request: #84.
schauder pushed a commit that referenced this pull request Apr 17, 2019
We now support MySQL through the jasync-mysql driver that exposes its asynchronous functionality through a R2DBC wrapper implementation.

Jasync uses for now its own exceptions.

Original pull request: #84.
schauder pushed a commit that referenced this pull request Apr 17, 2019
Unify connection creation by providing JDBC URL. Obtain R2DBC ConnectionFactory using connection factory discovery.

Original pull request: #84.
schauder added a commit that referenced this pull request Apr 17, 2019
Clarified code a little.

Added a warning to `AnonymousBindMarkers`:

 Anonymous bind markers are problematic because the have to appear in generated SQL in the same order they get generated.
 This might cause challenges in the future with complex generate statements.
 For example those containing subselects which limit the freedom of arranging bind markers.

Original pull request: #84.
@schauder
Copy link
Contributor

That is merged.

Thanks.

@schauder schauder closed this Apr 17, 2019
@schauder schauder deleted the issue/75-mysql branch April 18, 2019 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants