public class SequenceManagerMSSQLGuidImpl extends AbstractSequenceManager
PROPERTY_AUTO_NAMING
Constructor and Description |
---|
SequenceManagerMSSQLGuidImpl(PersistenceBroker broker)
Constructor used by
SequenceManagerFactory |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getUniqueValue(FieldDescriptor field)
Returns a unique object for the given field attribute.
|
afterStore, calculateSequenceName, getBrokerForClass, getConfigurationProperties, getConfigurationProperty, getPlatform, setConfigurationProperties, setConfigurationProperty, setReferenceFKs, useAutoNaming
public SequenceManagerMSSQLGuidImpl(PersistenceBroker broker)
SequenceManagerFactory
broker
- PB instance to perform the
id generation.public java.lang.Object getUniqueValue(FieldDescriptor field) throws SequenceManagerException
AbstractSequenceManager
field
.
The returned object is unique accross all tables in the extent
of class the field belongs to.getUniqueValue
in interface SequenceManager
getUniqueValue
in class AbstractSequenceManager
SequenceManagerException
(C) 2002 - 2005 Apache Software Foundation
All rights reserved. Published under the Apache License 2.0.
http://db.apache.org/ojb
Version: 1.0.4, 2005-12-30