Codota Logo
SimpleValueBinder.setVersion
Code IndexAdd Codota to your IDE (free)

How to use
setVersion
method
in
org.hibernate.cfg.annotations.SimpleValueBinder

Best Java code snippets using org.hibernate.cfg.annotations.SimpleValueBinder.setVersion (Showing top 4 results out of 315)

  • Common ways to obtain SimpleValueBinder
private void myMethod () {
SimpleValueBinder s =
  • Codota Iconnew SimpleValueBinder()
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

private static void setVersionInformation(XProperty property, PropertyBinder propertyBinder) {
  propertyBinder.getSimpleValueBinder().setVersion( true );
  if(property.isAnnotationPresent( Source.class )) {
    Source source = property.getAnnotation( Source.class );
    propertyBinder.getSimpleValueBinder().setTimestampVersionType( source.value().typeName() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate.core

private static void setVersionInformation(XProperty property, PropertyBinder propertyBinder) {
  propertyBinder.getSimpleValueBinder().setVersion( true );
  if(property.isAnnotationPresent( Source.class )) {
    Source source = property.getAnnotation( Source.class );
    propertyBinder.getSimpleValueBinder().setTimestampVersionType( source.value().typeName() );
  }
}
origin: org.hibernate/com.springsource.org.hibernate

private static void setVersionInformation(XProperty property, PropertyBinder propertyBinder) {
  propertyBinder.getSimpleValueBinder().setVersion( true );
  if(property.isAnnotationPresent( Source.class )) {
    Source source = property.getAnnotation( Source.class );
    propertyBinder.getSimpleValueBinder().setTimestampVersionType( source.value().typeName() );
  }
}
origin: org.hibernate/hibernate-annotations

propertyBinder.setColumns( columns );
Property prop = propertyBinder.makePropertyValueAndBind();
propertyBinder.getSimpleValueBinder().setVersion( true );
rootClass.setVersion( prop );
org.hibernate.cfg.annotationsSimpleValueBindersetVersion

Popular methods of SimpleValueBinder

  • <init>
  • fillSimpleValue
  • make
  • setColumns
  • setExplicitType
  • setPersistentClassName
  • setPropertyName
  • setReturnedClassName
  • setType
  • validate
  • getTemporalType
  • isVersion
  • getTemporalType,
  • isVersion,
  • linkWithValue,
  • setKey,
  • setMappings,
  • setReferencedEntityName,
  • setTable,
  • getEnumType,
  • setTimestampVersionType

Popular in Java

  • Creating JSON documents from java classes using gson
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getSystemService (Context)
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Timer (java.util)
    A facility for threads to schedule tasks for future execution in a background thread. Tasks may be s
  • Annotation (javassist.bytecode.annotation)
    The annotation structure.An instance of this class is returned bygetAnnotations() in AnnotationsAttr
  • Runner (org.openjdk.jmh.runner)
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