Hi, all.
I need to use SequenceGenerator for WTPart in java code.
I have tried setNumber(SequenceGenerator.generateValue("WTPARTID_seq")) but result was not i expected to see.
Now i am trying setNumber(SequenceGenerator.generateValue("{GEN:wt.enterprise.SequenceGenerator:WTPARTID_seq:10:0}")) but it throws SQLServerException: Index 1 out of range.
Can anyone give me working sample?
Thanks.