congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
Optimizer.applyIncrementSizeToSourceValues
Code IndexAdd Tabnine to your IDE (free)

How to use
applyIncrementSizeToSourceValues
method
in
org.hibernate.id.enhanced.Optimizer

Best Java code snippets using org.hibernate.id.enhanced.Optimizer.applyIncrementSizeToSourceValues (Showing top 11 results out of 315)

origin: hibernate/hibernate-orm

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: hibernate/hibernate-orm

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate.orm/hibernate-core

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate/com.springsource.org.hibernate.core

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate/com.springsource.org.hibernate.core

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate/com.springsource.org.hibernate

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate/com.springsource.org.hibernate

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: org.hibernate.orm/hibernate-core

@Override
public void prepare(Optimizer optimizer) {
  applyIncrementSizeToSourceValues = optimizer.applyIncrementSizeToSourceValues();
}
origin: hibernate/hibernate-ogm

private IntegralDataTypeHolder doWorkInCurrentTransactionIfAny(SharedSessionContractImplementor session) {
  IdSourceKey key = getGeneratorKey( session );
  Number nextValue = gridDialect.nextValue(
      new NextValueRequest(
          key,
          optimizer.applyIncrementSizeToSourceValues() ? incrementSize : 1,
          initialValue
      )
  );
  IntegralDataTypeHolder value = IdentifierGeneratorHelper.getIntegralDataTypeHolder( identifierType.getReturnedClass() );
  value.initialize( nextValue.longValue() );
  return value;
}
origin: com.github.mg365/mg-common

try {
  final IntegralDataTypeHolder updateValue = value.copy();
  if (idGenerator.getOptimizer().applyIncrementSizeToSourceValues()) {
    updateValue.add(incrementSize);
  } else {
origin: com.github.mg365/mg-common

try {
  final IntegralDataTypeHolder updateValue = value.copy();
  if (idGenerator.getOptimizer().applyIncrementSizeToSourceValues()) {
    updateValue.add(incrementSize);
  } else {
org.hibernate.id.enhancedOptimizerapplyIncrementSizeToSourceValues

Javadoc

Are increments to be applied to the values stored in the underlying value source?

Popular methods of Optimizer

  • generate
    Generate an identifier value accounting for this specific optimization.
  • getLastSourceValue
    A common means to access the last value obtained from the underlying source. This is intended for te

Popular in Java

  • Start an intent from android
  • getApplicationContext (Context)
  • setScale (BigDecimal)
  • addToBackStack (FragmentTransaction)
  • HttpServer (com.sun.net.httpserver)
    This class implements a simple HTTP server. A HttpServer is bound to an IP address and port number a
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Dictionary (java.util)
    Note: Do not use this class since it is obsolete. Please use the Map interface for new implementatio
  • LinkedList (java.util)
    Doubly-linked list implementation of the List and Dequeinterfaces. Implements all optional list oper
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Collectors (java.util.stream)
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now