Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
d0c83c3d
Commit
d0c83c3d
authored
Jul 15, 2020
by
ls1947
Browse files
change encoded key column to text
parent
83a2ea29
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-jpa/src/main/java/edu/kit/scc/webreg/entity/SshPubKeyEntity.java
View file @
d0c83c3d
...
...
@@ -7,10 +7,13 @@ import javax.persistence.Column;
import
javax.persistence.Entity
;
import
javax.persistence.EnumType
;
import
javax.persistence.Enumerated
;
import
javax.persistence.Lob
;
import
javax.persistence.ManyToOne
;
import
javax.persistence.OneToMany
;
import
javax.persistence.Table
;
import
org.hibernate.annotations.Type
;
@Entity
(
name
=
"SshPubKeyEntity"
)
@Table
(
name
=
"ssh_pub_key"
)
public
class
SshPubKeyEntity
extends
AbstractBaseEntity
{
...
...
@@ -32,7 +35,9 @@ public class SshPubKeyEntity extends AbstractBaseEntity {
@Column
(
name
=
"key_type"
,
length
=
32
)
private
String
keyType
;
@Column
(
name
=
"encoded_key"
,
length
=
8192
)
@Column
(
name
=
"encoded_key"
)
@Lob
@Type
(
type
=
"org.hibernate.type.TextType"
)
private
String
encodedKey
;
@Column
(
name
=
"comment"
,
length
=
1024
)
...
...
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