You can find the full source code for this website in the Seam package in the directory /examples/wiki. It is licensed under the LGPL.
| Online: | 23 Members of 4546 |
| Forum: Seam Users |
14. Aug 2008, 12:21 CET | Link |
Hi,
is it possible (with JPA or Hibernate) to define a sequence for a JPA-entity's attribute that is not the primary key?
All I found so far was the @GeneratedValue annotation. But the JPA Api-Doc says that it may only be used in conjunction with @Id ...
Thanks!