Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Z
ZhangKuan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
张宽
ZhangKuan
Commits
9d3414cc
Commit
9d3414cc
authored
Jan 21, 2017
by
胡小根
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coding
parent
fd602bef
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
8 deletions
+9
-8
clean_mybatis_generated.sh
clean_mybatis_generated.sh
+0
-0
pom.xml
pom.xml
+4
-4
mysqlGeneratorConfig.xml
web/src/main/resources/mybatis/mysqlGeneratorConfig.xml
+5
-4
No files found.
clean_mybatis_generated.sh
100644 → 100755
View file @
9d3414cc
File mode changed from 100644 to 100755
pom.xml
View file @
9d3414cc
...
...
@@ -4,8 +4,8 @@
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
com.haomostudio.SeekTruth
Backend
</groupId>
<artifactId>
SeekTruth
Backend
</artifactId>
<groupId>
com.haomostudio.SeekTruth
</groupId>
<artifactId>
SeekTruth
</artifactId>
<packaging>
pom
</packaging>
<version>
0.0.1-SNAPSHOT
</version>
<modules>
...
...
@@ -515,8 +515,8 @@
<artifactId>
mybatis-generator-maven-plugin
</artifactId>
<version>
1.3.5
</version>
<configuration>
<
!--<configurationFile>${basedir}/src/main/resources/mybatis/mysqlGeneratorConfig.xml</configurationFile>--
>
<
configurationFile>
${basedir}/src/main/resources/mybatis/oracleGeneratorConfig.xml
</configurationFile
>
<
configurationFile>
${basedir}/src/main/resources/mybatis/mysqlGeneratorConfig.xml
</configurationFile
>
<
!--<configurationFile>${basedir}/src/main/resources/mybatis/oracleGeneratorConfig.xml</configurationFile>--
>
<verbose>
true
</verbose>
<overwrite>
true
</overwrite>
</configuration>
...
...
web/src/main/resources/mybatis/mysqlGeneratorConfig.xml
View file @
9d3414cc
...
...
@@ -4,16 +4,17 @@
"http://mybatis.org/dtd/mybatis-generator-config_1_0.dtd">
<generatorConfiguration>
<classPathEntry
location=
"/Users/hxgqh/.m2/repository/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar"
/>
<!--<classPathEntry location="/Users/hxgqh/.m2/repository/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar" />-->
<classPathEntry
location=
"/Users/hm20160509/.m2/repository/mysql/mysql-connector-java/5.1.38/mysql-connector-java-5.1.38.jar"
/>
<context
id=
"mysqlTables"
targetRuntime=
"MyBatis3"
>
<plugin
type=
"org.mybatis.generator.plugins.RowBoundsPlugin"
/>
<plugin
type=
"org.mybatis.generator.plugins.ToStringPlugin"
/>
<jdbcConnection
driverClass=
"com.mysql.jdbc.Driver"
connectionURL=
"jdbc:mysql://
localhost:3306/zhuluoxi
"
userId=
"
root
"
password=
"
123456
"
/>
connectionURL=
"jdbc:mysql://
www.situdata.com:3306/seektruth
"
userId=
"
seektruth
"
password=
"
$ecur1ty
"
/>
<!-- 指定生成的类型为java类型,避免数据库中number等类型字段 -->
<javaTypeResolver>
...
...
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