Skip to content

ARTEMIS-1613 Integrating JDBC into CLI (create print-data and exp)#1781

Closed
clebertsuconic wants to merge 1 commit into
apache:masterfrom
clebertsuconic:jdbc
Closed

ARTEMIS-1613 Integrating JDBC into CLI (create print-data and exp)#1781
clebertsuconic wants to merge 1 commit into
apache:masterfrom
clebertsuconic:jdbc

Conversation

@clebertsuconic
Copy link
Copy Markdown
Contributor

No description provided.

@clebertsuconic clebertsuconic force-pushed the jdbc branch 3 times, most recently from 17a1877 to 392f965 Compare January 17, 2018 16:47
@jbertram
Copy link
Copy Markdown
Contributor

I think it's worth clarifying the specific purpose of Derby in the documentation. My understanding here is that Derby is being packaged for demonstration purposes only and shouldn't be used as a production JDBC implementation.

@clebertsuconic clebertsuconic force-pushed the jdbc branch 3 times, most recently from d14aa5b to bf0c5fe Compare January 18, 2018 15:57
<!-- The most efficient persistent layer for Artemis is the file-store,
however if you require a database please refer to your database provider
for any database specific questions.
We don't endorse any specific JDBC provider. Derby is provided by default for demonstration purposes. -->
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this comment since we won't package Derby?

// Default JDBC Driver class name
private static String DEFAULT_JDBC_DRIVER_CLASS_NAME = null;
// Default JDBC Driver class name, derby by default just for demo purposes
private static String DEFAULT_JDBC_DRIVER_CLASS_NAME = "org.apache.derby.jdbc.EmbeddedDriver";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be null since we won't be packaging Derby?


if (jdbc) {
if (jdbcURL == null) {
jdbcURL = "jdbc:derby:" + getInstance().getAbsolutePath() + "/data/derby/db;create=true";
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be left null as well rather than defaulting to Derby?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope.. .lets not complicate things even further? :)

The config will be defaulted to Derby if no parameters.. then the user can install derby. it's a nice experience out of box. easy to install. easy to run.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jbertram I want to keep this as is.. with some default to be used.

@asfgit asfgit closed this in 10f1e12 Jan 19, 2018
@clebertsuconic clebertsuconic deleted the jdbc branch January 22, 2018 21:26
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