Packages

c

org.beangle.data.hibernate.id

SeqPerTableStyleGenerator

class SeqPerTableStyleGenerator extends SequenceStyleGenerator with Logging

按照表明进行命名序列
依据命名模式进行,默认模式seq_{table}
该生成器可以

1)具有较好的数据库移植性,支持没有sequence的数据库。
2)可以通过设置进行优化
3)可以按照表名进行自动命名序列名,模式seq_{table}

Linear Supertypes
Logging, SequenceStyleGenerator, Configurable, BulkInsertionCapableIdentifierGenerator, PersistentIdentifierGenerator, ExportableProducer, IdentifierGenerator, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SeqPerTableStyleGenerator
  2. Logging
  3. SequenceStyleGenerator
  4. Configurable
  5. BulkInsertionCapableIdentifierGenerator
  6. PersistentIdentifierGenerator
  7. ExportableProducer
  8. IdentifierGenerator
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SeqPerTableStyleGenerator()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def buildDatabaseStructure(arg0: Type, arg1: Properties, arg2: JdbcEnvironment, arg3: Boolean, arg4: QualifiedName, arg5: Int, arg6: Int): DatabaseStructure
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  6. def buildSequenceStructure(arg0: Type, arg1: Properties, arg2: JdbcEnvironment, arg3: QualifiedName, arg4: Int, arg5: Int): DatabaseStructure
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  7. def buildTableStructure(arg0: Type, arg1: Properties, arg2: JdbcEnvironment, arg3: QualifiedName, arg4: Int, arg5: Int): DatabaseStructure
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  8. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  9. def configure(arg0: Type, arg1: Properties, arg2: ServiceRegistry): Unit
    Definition Classes
    SequenceStyleGenerator → Configurable
    Annotations
    @throws(classOf[org.hibernate.MappingException])
  10. def determineAdjustedIncrementSize(arg0: String, arg1: Int): Int
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  11. def determineBulkInsertionIdentifierGenerationSelectFragment(arg0: Dialect): String
    Definition Classes
    SequenceStyleGenerator → BulkInsertionCapableIdentifierGenerator
  12. def determineIncrementSize(arg0: Properties): Int
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  13. def determineInitialValue(arg0: Properties): Int
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  14. def determineOptimizationStrategy(arg0: Properties, arg1: Int): String
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  15. def determineSequenceName(params: Properties, dialect: Dialect, jdbcEnv: JdbcEnvironment, serviceRegistry: ServiceRegistry): QualifiedName
    Attributes
    protected
    Definition Classes
    SeqPerTableStyleGenerator → SequenceStyleGenerator
  16. def determineValueColumnName(arg0: Properties, arg1: JdbcEnvironment): Identifier
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def generate(arg0: SharedSessionContractImplementor, arg1: AnyRef): Serializable
    Definition Classes
    SequenceStyleGenerator → IdentifierGenerator
    Annotations
    @throws(classOf[org.hibernate.HibernateException])
  20. def generatorKey(): AnyRef
    Definition Classes
    SequenceStyleGenerator → PersistentIdentifierGenerator
  21. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. def getDatabaseStructure(): DatabaseStructure
    Definition Classes
    SequenceStyleGenerator
  23. def getIdentifierType(): Type
    Definition Classes
    SequenceStyleGenerator
  24. def getOptimizer(): Optimizer
    Definition Classes
    SequenceStyleGenerator
  25. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  26. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  27. def isPhysicalSequence(arg0: JdbcEnvironment, arg1: Boolean): Boolean
    Attributes
    protected[org.hibernate.id.enhanced]
    Definition Classes
    SequenceStyleGenerator
  28. val logger: Logger
    Attributes
    protected
    Definition Classes
    Logging
  29. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  30. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  31. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  32. def registerExportables(arg0: Database): Unit
    Definition Classes
    SequenceStyleGenerator → ExportableProducer
  33. var sequencePrefix: String
  34. def sqlCreateStrings(arg0: Dialect): Array[String]
    Definition Classes
    SequenceStyleGenerator → PersistentIdentifierGenerator
    Annotations
    @throws(classOf[org.hibernate.HibernateException])
  35. def sqlDropStrings(arg0: Dialect): Array[String]
    Definition Classes
    SequenceStyleGenerator → PersistentIdentifierGenerator
    Annotations
    @throws(classOf[org.hibernate.HibernateException])
  36. def supportsBulkInsertionIdentifierGeneration(): Boolean
    Definition Classes
    SequenceStyleGenerator → BulkInsertionCapableIdentifierGenerator
  37. def supportsJdbcBatchInserts(): Boolean
    Definition Classes
    IdentifierGenerator
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. def toString(): String
    Definition Classes
    AnyRef → Any
  40. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  41. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated @deprecated
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Logging

Inherited from SequenceStyleGenerator

Inherited from Configurable

Inherited from BulkInsertionCapableIdentifierGenerator

Inherited from PersistentIdentifierGenerator

Inherited from ExportableProducer

Inherited from IdentifierGenerator

Inherited from AnyRef

Inherited from Any

Ungrouped