try:
| @Entity
| public class Tsperson implements Serializable {
| @Id
| @Column(name="TSPERSON_ID", nullable = false)
| @SequenceGenerator(name = "tsperson_sequence", sequenceName =
"SEQ_TSPERSON_ID")
| @GeneratedValue(strategy=GenerationType.SEQUENCE,
generator="tsperson_sequence")
| private Long tspersonId;
|
why do you need to flush data?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4025013#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...