Tabnine Logo
ImplicitUniqueKeyNameSource.getUserProvidedIdentifier
Code IndexAdd Tabnine to your IDE (free)

How to use
getUserProvidedIdentifier
method
in
org.hibernate.boot.model.naming.ImplicitUniqueKeyNameSource

Best Java code snippets using org.hibernate.boot.model.naming.ImplicitUniqueKeyNameSource.getUserProvidedIdentifier (Showing top 2 results out of 315)

origin: hibernate/hibernate-orm

@Override
public Identifier determineUniqueKeyName(ImplicitUniqueKeyNameSource source) {
  Identifier userProvidedIdentifier = source.getUserProvidedIdentifier();
  return userProvidedIdentifier != null ? userProvidedIdentifier : toIdentifier(
      NamingHelper.withCharset( source.getBuildingContext().getBuildingOptions().getSchemaCharset() ).generateHashedConstraintName(
          "UK",
          source.getTableName(),
          source.getColumnNames()
      ),
      source.getBuildingContext()
  );
}
origin: org.hibernate.orm/hibernate-core

@Override
public Identifier determineUniqueKeyName(ImplicitUniqueKeyNameSource source) {
  Identifier userProvidedIdentifier = source.getUserProvidedIdentifier();
  return userProvidedIdentifier != null ? userProvidedIdentifier : toIdentifier(
      NamingHelper.withCharset( source.getBuildingContext().getBuildingOptions().getSchemaCharset() ).generateHashedConstraintName(
          "UK",
          source.getTableName(),
          source.getColumnNames()
      ),
      source.getBuildingContext()
  );
}
org.hibernate.boot.model.namingImplicitUniqueKeyNameSourcegetUserProvidedIdentifier

Popular methods of ImplicitUniqueKeyNameSource

  • getColumnNames
  • getTableName
  • getBuildingContext

Popular in Java

  • Reactive rest calls using spring rest template
  • putExtra (Intent)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • scheduleAtFixedRate (Timer)
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • BufferedReader (java.io)
    Wraps an existing Reader and buffers the input. Expensive interaction with the underlying reader is
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • Top plugins for Android Studio
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