Codota Logo
Optimizer.applyIncrementSizeToSourceValues
Code IndexAdd Codota 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)

  • Common ways to obtain Optimizer
private void myMethod () {
Optimizer o =
  • Codota IconClass returnClass;new NoopOptimizer(returnClass, incrementSize)
  • Smart code suggestions by Codota
}
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

  • Reading from database using SQL prepared statement
  • getSharedPreferences (Context)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • getSupportFragmentManager (FragmentActivity)
    Return the FragmentManager for interacting with fragments associated with this activity.
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • DecimalFormat (java.text)
    DecimalFormat is a concrete subclass ofNumberFormat that formats decimal numbers. It has a variety o
  • MessageFormat (java.text)
    MessageFormat provides a means to produce concatenated messages in language-neutral way. Use this to
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now