Skip to content
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

jdbc: DataSource support #175

Closed
nicktorwald opened this issue May 6, 2019 · 0 comments · Fixed by #183
Closed

jdbc: DataSource support #175

nicktorwald opened this issue May 6, 2019 · 0 comments · Fixed by #183
Labels
Milestone

Comments

@nicktorwald
Copy link

JDBC 4.2 API Compliance says:

It must implement the DataSource interface with the exception of the following optional methods: getParentLogger.

This issue consists of two major parts:

  • DataSource interface implementation (excluding getParentLogger)
  • DataSource properties in term of JavaBeans spec (for short, getter/setter for each property it supports).

The following table describes the standard DataSource properties:

Property Name Type Description
databaseName String name of a particular database on a server
dataSourceName String a data source name;
description String description of this data source
networkProtocol String network protocol used to communicate with the server
password String a database password
portNumber int port number where a server is listening for requests
roleName String the initial SQL rolename
serverName String database server name
user String user’s account name

See more JDBC 4.2 Spec, paragraph 9.6.

@nicktorwald nicktorwald added this to the JDBC MVP milestone May 6, 2019
nicktorwald added a commit that referenced this issue May 8, 2019
Implement the DataSource interface to be more compatible with JDBC spec.

Add JDBC standard and Tarantool specific properties (getters/setters) to
follow enterprise features (according to JavaBeans spec).

Closes: #175
nicktorwald added a commit that referenced this issue May 19, 2019
Implement the DataSource interface to be more compatible with JDBC spec.

Add JDBC standard and Tarantool specific properties (getters/setters) to
follow enterprise features (according to JavaBeans spec).

Fix a JDBC URL scheme. Now correct scheme has the format like
'jdbc:tarantool://' where `tarantool` is JDBC sub-protocol. Old scheme
version `tarantool://` was not JDBC-compatible.

Closes: #175
nicktorwald added a commit that referenced this issue May 20, 2019
Implement the DataSource interface to be more compatible with JDBC spec.

Add JDBC standard and Tarantool specific properties (getters/setters) to
follow enterprise features (according to JavaBeans spec).

Fix a JDBC URL scheme. Now correct scheme has the format like
'jdbc:tarantool://' where `tarantool` is JDBC sub-protocol. Old scheme
version `tarantool://` was not JDBC-compatible.

Closes: #175
nicktorwald added a commit that referenced this issue May 21, 2019
Implement the DataSource interface to be more compatible with JDBC spec.

Add JDBC standard and Tarantool specific properties (getters/setters) to
follow enterprise features (according to JavaBeans spec).

Fix a JDBC URL scheme. Now correct scheme has the format like
'jdbc:tarantool://' where `tarantool` is JDBC sub-protocol. Old scheme
version `tarantool://` was not JDBC-compatible.

Closes: #175
nicktorwald added a commit that referenced this issue May 21, 2019
Implement the DataSource interface to be more compatible with JDBC spec.

Add JDBC standard and Tarantool specific properties (getters/setters) to
follow enterprise features (according to JavaBeans spec).

Fix a JDBC URL scheme. Now correct scheme has the format like
'jdbc:tarantool://' where `tarantool` is JDBC sub-protocol. Old scheme
version `tarantool://` was not JDBC-compatible.

Closes: #175
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant