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
f4cd3842
Commit
f4cd3842
authored
Jan 11, 2021
by
Quxl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x
parent
532b380d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
Desc.java
src/main/java/com/egolm/common/jdbc/dialect/bean/Desc.java
+15
-13
No files found.
src/main/java/com/egolm/common/jdbc/dialect/bean/Desc.java
View file @
f4cd3842
...
...
@@ -45,6 +45,7 @@ public class Desc {
if
(!
Modifier
.
isStatic
(
mod
)
&&
!
Modifier
.
isFinal
(
mod
))
{
String
fieldName
=
field
.
getName
();
String
columnName
=
null
;
if
(!
field
.
isAnnotationPresent
(
Transient
.
class
))
{
if
(
field
.
isAnnotationPresent
(
Column
.
class
))
{
Column
column
=
field
.
getAnnotation
(
Column
.
class
);
String
columnAnnoName
=
column
.
name
();
...
...
@@ -64,6 +65,7 @@ public class Desc {
all_column_names
.
add
(
columnName
);
}
}
}
this
.
name
=
tableName
;
this
.
fieldNames
=
all_field_names
.
toArray
(
new
String
[
all_field_names
.
size
()]);
this
.
columnNames
=
all_column_names
.
toArray
(
new
String
[
all_column_names
.
size
()]);
...
...
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