You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@linkis.apache.org by pe...@apache.org on 2021/12/07 14:19:53 UTC
[incubator-linkis] branch dev-1.0.3 updated: Update BmlProjectDao.java
This is an automated email from the ASF dual-hosted git repository.
peacewong pushed a commit to branch dev-1.0.3
in repository https://gitbox.apache.org/repos/asf/incubator-linkis.git
The following commit(s) were added to refs/heads/dev-1.0.3 by this push:
new 61a0ec0 Update BmlProjectDao.java
new c962ece Merge pull request #1155 from wayson20/patch-1
61a0ec0 is described below
commit 61a0ec020a0f4d3d3466f6c669a74425d5fe3261
Author: wayson20 <wa...@users.noreply.github.com>
AuthorDate: Sat Dec 4 13:00:37 2021 +0800
Update BmlProjectDao.java
add backticks, enhance compatibility include MySQL 8.0.3+
---
.../src/main/java/org/apache/linkis/bml/dao/BmlProjectDao.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/dao/BmlProjectDao.java b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/dao/BmlProjectDao.java
index dec394f..1a675da 100644
--- a/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/dao/BmlProjectDao.java
+++ b/linkis-public-enhancements/linkis-bml/linkis-bml-server/src/main/java/org/apache/linkis/bml/dao/BmlProjectDao.java
@@ -27,7 +27,7 @@ import java.util.List;
public interface BmlProjectDao {
- @Insert("insert ignore into linkis_ps_bml_project(name, system, source, description, creator, enabled, create_time) " +
+ @Insert("insert ignore into linkis_ps_bml_project(name, `system`, source, description, creator, enabled, create_time) " +
"values(#{bmlProject.name}, #{bmlProject.system}, #{bmlProject.source}, #{bmlProject.description}, " +
"#{bmlProject.creator}, #{bmlProject.enabled}, #{bmlProject.createTime})")
@Options(useGeneratedKeys = true, keyProperty = "bmlProject.id", keyColumn = "id")
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@linkis.apache.org
For additional commands, e-mail: commits-help@linkis.apache.org