Codota Logo
TypeSafeActivator.applyCallbackListeners
Code IndexAdd Codota to your IDE (free)

How to use
applyCallbackListeners
method
in
org.hibernate.cfg.beanvalidation.TypeSafeActivator

Best Java code snippets using org.hibernate.cfg.beanvalidation.TypeSafeActivator.applyCallbackListeners (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
LocalDateTime l =
  • Codota Iconnew LocalDateTime()
  • Codota IconLocalDateTime.now()
  • Codota IconDateTimeFormatter formatter;String text;formatter.parseLocalDateTime(text)
  • Smart code suggestions by Codota
}
origin: hibernate/hibernate-orm

@SuppressWarnings("UnusedDeclaration")
public static void activate(ActivationContext activationContext) {
  final ValidatorFactory factory;
  try {
    factory = getValidatorFactory( activationContext );
  }
  catch (IntegrationException e) {
    if ( activationContext.getValidationModes().contains( ValidationMode.CALLBACK ) ) {
      throw new IntegrationException( "Bean Validation provider was not available, but 'callback' validation was requested", e );
    }
    if ( activationContext.getValidationModes().contains( ValidationMode.DDL ) ) {
      throw new IntegrationException( "Bean Validation provider was not available, but 'ddl' validation was requested", e );
    }
    LOG.debug( "Unable to acquire Bean Validation ValidatorFactory, skipping activation" );
    return;
  }
  applyRelationalConstraints( factory, activationContext );
  applyCallbackListeners( factory, activationContext );
}
origin: org.hibernate.orm/hibernate-core

@SuppressWarnings("UnusedDeclaration")
public static void activate(ActivationContext activationContext) {
  final ValidatorFactory factory;
  try {
    factory = getValidatorFactory( activationContext );
  }
  catch (IntegrationException e) {
    if ( activationContext.getValidationModes().contains( ValidationMode.CALLBACK ) ) {
      throw new IntegrationException( "Bean Validation provider was not available, but 'callback' validation was requested", e );
    }
    if ( activationContext.getValidationModes().contains( ValidationMode.DDL ) ) {
      throw new IntegrationException( "Bean Validation provider was not available, but 'ddl' validation was requested", e );
    }
    LOG.debug( "Unable to acquire Bean Validation ValidatorFactory, skipping activation" );
    return;
  }
  applyRelationalConstraints( factory, activationContext );
  applyCallbackListeners( factory, activationContext );
}
org.hibernate.cfg.beanvalidationTypeSafeActivatorapplyCallbackListeners

Popular methods of TypeSafeActivator

  • applyConstraints
  • applyDDL
  • applyDigits
  • applyLength
  • applyMax
  • applyMin
  • applyNotNull
  • applySize
  • findPropertyByName
  • getValidatorFactory
  • applySQLCheck
  • applyRelationalConstraints
  • applySQLCheck,
  • applyRelationalConstraints,
  • resolveProvidedFactory,
  • getColumn,
  • isComposite

Popular in Java

  • Finding current android device location
  • startActivity (Activity)
  • setContentView (Activity)
  • orElseThrow (Optional)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • ResourceBundle (java.util)
    Resource bundles contain locale-specific objects. When your program needs a locale-specific resource
  • TreeMap (java.util)
    A Red-Black tree based NavigableMap implementation. The map is sorted according to the Comparable of
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