Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
C
common
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
曲欣亮
common
Commits
4152889d
Commit
4152889d
authored
Jul 31, 2019
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
38334d5a
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
328 additions
and
453 deletions
+328
-453
AbstractDialect.java
...n/java/com/egolm/common/jdbc/dialect/AbstractDialect.java
+0
-344
Dialect.java
src/main/java/com/egolm/common/jdbc/dialect/Dialect.java
+325
-106
MySqlDialect.java
...main/java/com/egolm/common/jdbc/dialect/MySqlDialect.java
+1
-1
OracleDialect.java
...ain/java/com/egolm/common/jdbc/dialect/OracleDialect.java
+1
-1
SqlServerDialect.java
.../java/com/egolm/common/jdbc/dialect/SqlServerDialect.java
+1
-1
No files found.
src/main/java/com/egolm/common/jdbc/dialect/AbstractDialect.java
deleted
100644 → 0
View file @
38334d5a
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/common/jdbc/dialect/Dialect.java
View file @
4152889d
This diff is collapsed.
Click to expand it.
src/main/java/com/egolm/common/jdbc/dialect/MySqlDialect.java
View file @
4152889d
...
@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
...
@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @author 曲欣亮
* @since 2012-12-14
* @since 2012-12-14
*/
*/
public
class
MySqlDialect
extends
Abstract
Dialect
{
public
class
MySqlDialect
implements
Dialect
{
public
static
final
String
FMT_MYSQL_TIME
=
"%Y-%m-%d %H:%i:%s"
;
public
static
final
String
FMT_MYSQL_TIME
=
"%Y-%m-%d %H:%i:%s"
;
public
static
final
String
FMT_MYSQL_DATE
=
"%Y-%m-%d"
;
public
static
final
String
FMT_MYSQL_DATE
=
"%Y-%m-%d"
;
...
...
src/main/java/com/egolm/common/jdbc/dialect/OracleDialect.java
View file @
4152889d
...
@@ -13,7 +13,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
...
@@ -13,7 +13,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @author 曲欣亮
* @since 2012-12-14
* @since 2012-12-14
*/
*/
public
class
OracleDialect
extends
Abstract
Dialect
{
public
class
OracleDialect
implements
Dialect
{
public
static
final
String
FMT_ORACLE_TIME
=
"yyyy-mm-dd hh24:mi:ss"
;
public
static
final
String
FMT_ORACLE_TIME
=
"yyyy-mm-dd hh24:mi:ss"
;
public
static
final
String
FMT_ORACLE_DATE
=
"yyyy-mm-dd"
;
public
static
final
String
FMT_ORACLE_DATE
=
"yyyy-mm-dd"
;
...
...
src/main/java/com/egolm/common/jdbc/dialect/SqlServerDialect.java
View file @
4152889d
...
@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
...
@@ -14,7 +14,7 @@ import com.egolm.common.jdbc.dialect.bean.Desc;
* @author 曲欣亮
* @author 曲欣亮
* @since 2012-12-14
* @since 2012-12-14
*/
*/
public
class
SqlServerDialect
extends
Abstract
Dialect
{
public
class
SqlServerDialect
implements
Dialect
{
public
static
final
String
FMT_SQLSERVER_TIME
=
"120"
;
public
static
final
String
FMT_SQLSERVER_TIME
=
"120"
;
public
static
final
String
FMT_SQLSERVER_DATE
=
"23"
;
public
static
final
String
FMT_SQLSERVER_DATE
=
"23"
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment