Commit 9ba9ff7c36fb4e98bb9da6742a0c19055e598312
1 parent
b476f3ea
Exists in
master
Ajuste para inserção da entidade no Glassfish
Showing
1 changed file
with
3 additions
and
0 deletions
Show diff stats
archetype/jsf-jpa/src/main/resources/archetype-resources/src/main/java/domain/Bookmark.java
... | ... | @@ -14,6 +14,9 @@ public class Bookmark implements Serializable { |
14 | 14 | |
15 | 15 | private static final long serialVersionUID = 1L; |
16 | 16 | |
17 | + /* | |
18 | + * If you are using Glassfish then remove the strategy attribute | |
19 | + */ | |
17 | 20 | @Id |
18 | 21 | @GeneratedValue(strategy = SEQUENCE) |
19 | 22 | private Long id; | ... | ... |