Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
DBRepo
Manage
Activity
Members
Labels
Plan
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FAIR Data Austria DB Repository
DBRepo
Commits
d6a34b41
Commit
d6a34b41
authored
3 years ago
by
Cornelia Michlits
Browse files
Options
Downloads
Patches
Plain Diff
#84 add nested search
Former-commit-id:
5b475bbf
parent
1dda9d6d
No related branches found
No related tags found
1 merge request
!42
Fixed the query service tests
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
fda-metadata-db/entities/src/main/java/at/tuwien/entities/database/table/Table.java
+3
-0
3 additions, 0 deletions
...rc/main/java/at/tuwien/entities/database/table/Table.java
with
3 additions
and
0 deletions
fda-metadata-db/entities/src/main/java/at/tuwien/entities/database/table/Table.java
+
3
−
0
View file @
d6a34b41
...
@@ -7,6 +7,8 @@ import org.hibernate.annotations.GenericGenerator;
...
@@ -7,6 +7,8 @@ import org.hibernate.annotations.GenericGenerator;
import
org.springframework.data.annotation.CreatedDate
;
import
org.springframework.data.annotation.CreatedDate
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
org.springframework.data.annotation.LastModifiedDate
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Document
;
import
org.springframework.data.elasticsearch.annotations.Field
;
import
org.springframework.data.elasticsearch.annotations.FieldType
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
org.springframework.data.jpa.domain.support.AuditingEntityListener
;
import
javax.persistence.*
;
import
javax.persistence.*
;
...
@@ -61,6 +63,7 @@ public class Table {
...
@@ -61,6 +63,7 @@ public class Table {
@ToString
.
Include
@ToString
.
Include
@OneToMany
(
fetch
=
FetchType
.
EAGER
,
cascade
=
CascadeType
.
ALL
,
mappedBy
=
"table"
)
@OneToMany
(
fetch
=
FetchType
.
EAGER
,
cascade
=
CascadeType
.
ALL
,
mappedBy
=
"table"
)
@Field
(
type
=
FieldType
.
Nested
)
private
List
<
TableColumn
>
columns
;
private
List
<
TableColumn
>
columns
;
@Column
(
nullable
=
false
,
updatable
=
false
)
@Column
(
nullable
=
false
,
updatable
=
false
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment