I am using sequences to generate all of my pks using PostgreSQL 8.1.3. This
was working fine until I upgraded to 4.0.4.GA from 4.0.4.CR2.
Now none of my sequences are not working on some 70+ entities.
They are being assiged from some other source. Probably the default stragety.
After restarting the application. It seems a new pool of pks is grabbed in a
block of 50, but my sequences are not affected.
My application is quite dependent on these sequences working as I had them set
up.
See annotation code below.
| @Entity
| @Table(name="t_size")
| public class Size implements Serializable {
|
| private Long id;
| @Id @GeneratedValue( strategy=GenerationType.SEQUENCE,
generator="seq_size")
| @SequenceGenerator(name="seq_size", sequenceName="seq_size" )
| public Long getId() { return this.id; }
| public void setId(Long id) { this.id = id; }
| ....
| }
|
This is a total show stopper and I must resolve ASAP.
Any assistance would be greatly appreciated...........
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3948157#3948157
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3948157
-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user