Get the next sequence using an Oracle thread-safe sequenceparamname Name is the name of the oracle sequence.returnthe next sequence Sequence sequence = new Sequence(); sequence.setName(name); sequence = (Sequence) getSqlMapTemplate().executeQueryForObject("oracleSequence", sequence); return sequence.getNextId();
Sequence sequence = new Sequence(); sequence.setName(name); sequence = (Sequence) getSqlMapTemplate().executeQueryForObject("oracleSequence", sequence); return sequence.getNextId();