http://issues.apache.org/bugzilla/show_bug.cgi?id=26913
the need for a non-transactional counter aka sequence is claimed. As all relational databases more or less have features that would allow for such a concept want propose a new interface for Slide 2.1 that stores might implement to pass sequenced number to Slide:
public interface SequenceStore {
public boolean isSupported(); // necessary to do dynamic checking
public void createSequence(String sequenceName);
public long next(String sequenceName);
}A store supports sequences when it implements this interface and isSupported() returns true. This double checking allows the store to dynamically check if the physical persistent store (e.g. RDBMS etc.) really supports it by doing a request.
Comments and opinions, please!
Oliver
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
