This is an automated email from the ASF dual-hosted git repository.

wuweijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere-elasticjob.git


The following commit(s) were added to refs/heads/master by this push:
     new b7f2bf2  [Refactor] Refactor MySQL jdbc Driver and make the example 
description more accurate (#2028)
b7f2bf2 is described below

commit b7f2bf275afd2c36456e0f00bfe5b74622b2d6e5
Author: springmonster <[email protected]>
AuthorDate: Wed Dec 29 12:45:42 2021 +0800

    [Refactor] Refactor MySQL jdbc Driver and make the example description more 
accurate (#2028)
    
    Co-authored-by: kuanghc1 <[email protected]>
---
 examples/README.md                                                    | 4 ++--
 .../org/apache/shardingsphere/elasticjob/lite/example/JavaMain.java   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/examples/README.md b/examples/README.md
index c55f6e2..7b1c17e 100644
--- a/examples/README.md
+++ b/examples/README.md
@@ -1,5 +1,5 @@
 # ElasticJob Example
 
-ElasticJob 2.x example.
+ElasticJob 3.x example.
 
-Example for 1.x please see tags in 
`https://github.com/elasticjob/elastic-job/tree/${tag}/elastic-job-example`
+Example for 1.x and 2.x please see tags in 
`https://github.com/elasticjob/elastic-job/tree/${tag}/elastic-job-example`
diff --git 
a/examples/elasticjob-example-lite-java/src/main/java/org/apache/shardingsphere/elasticjob/lite/example/JavaMain.java
 
b/examples/elasticjob-example-lite-java/src/main/java/org/apache/shardingsphere/elasticjob/lite/example/JavaMain.java
index 18fa802..19d3a82 100644
--- 
a/examples/elasticjob-example-lite-java/src/main/java/org/apache/shardingsphere/elasticjob/lite/example/JavaMain.java
+++ 
b/examples/elasticjob-example-lite-java/src/main/java/org/apache/shardingsphere/elasticjob/lite/example/JavaMain.java
@@ -51,7 +51,7 @@ public final class JavaMain {
     private static final String JOB_NAMESPACE = "elasticjob-example-lite-java";
     
     // switch to MySQL by yourself
-//    private static final String EVENT_RDB_STORAGE_DRIVER = 
"com.mysql.jdbc.Driver";
+//    private static final String EVENT_RDB_STORAGE_DRIVER = 
"com.mysql.cj.jdbc.Driver";
 //    private static final String EVENT_RDB_STORAGE_URL = 
"jdbc:mysql://localhost:3306/elastic_job_log";
     
     private static final String EVENT_RDB_STORAGE_DRIVER = "org.h2.Driver";

Reply via email to