How does that return the value of test_seq.nextval? (The question posed by the original poster.)
If we’re just exploring the ways to set a column using a sequence object, here are 3:
- Use custom SQL template as adam319 notes above.
- Use insert SQL template and specify seq.nextval as the value.
- Define a trigger on the DB table to set the column to seq.netxtval.
But if the caller needs to know the value of the sequence then one of the other suggestions in previous posts would need to be used.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB