aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/com/terminaldweller/doc/Doc.java
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-06-03 14:48:38 +0000
committerterminaldweller <thabogre@gmail.com>2022-06-03 14:48:38 +0000
commit6496bfe08c2c5bae024ae942ed743a5266b30e6d (patch)
tree542867a6236bc28362956bf307d96d1135335497 /src/main/java/com/terminaldweller/doc/Doc.java
parentwip (diff)
downloadmdrtl-6496bfe08c2c5bae024ae942ed743a5266b30e6d.tar.gz
mdrtl-6496bfe08c2c5bae024ae942ed743a5266b30e6d.zip
wip, the crud is working, now have to figure out how to update and save the actual text
Diffstat (limited to 'src/main/java/com/terminaldweller/doc/Doc.java')
-rw-r--r--src/main/java/com/terminaldweller/doc/Doc.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/main/java/com/terminaldweller/doc/Doc.java b/src/main/java/com/terminaldweller/doc/Doc.java
index c3fa72b..80247eb 100644
--- a/src/main/java/com/terminaldweller/doc/Doc.java
+++ b/src/main/java/com/terminaldweller/doc/Doc.java
@@ -1,10 +1,7 @@
package com.terminaldweller.doc;
import javax.persistence.Entity;
-import javax.persistence.GeneratedValue;
-import javax.persistence.GenerationType;
import javax.persistence.Id;
-import javax.persistence.SequenceGenerator;
import javax.persistence.Table;
/** The document class. */
@@ -12,8 +9,8 @@ import javax.persistence.Table;
@Table
public class Doc {
@Id
- @SequenceGenerator(name = "doc_sequence", sequenceName = "doc_sequence", allocationSize = 1)
- @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "doc_sequence")
+ // @SequenceGenerator(name = "doc_sequence", sequenceName = "doc_sequence", allocationSize = 1)
+ // @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "doc_sequence")
private Long id;
private String name;