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

How to use
makeNamespace
method
in
org.hibernate.boot.model.relational.Database

Best Java code snippets using org.hibernate.boot.model.relational.Database.makeNamespace (Showing top 6 results out of 315)

origin: hibernate/hibernate-orm

public Namespace locateNamespace(Identifier catalogName, Identifier schemaName) {
  if ( catalogName == null && schemaName == null ) {
    return getDefaultNamespace();
  }
  final Namespace.Name name = new Namespace.Name( catalogName, schemaName );
  Namespace namespace = namespaceMap.get( name );
  if ( namespace == null ) {
    namespace = makeNamespace( name );
  }
  return namespace;
}
origin: hibernate/hibernate-orm

public Namespace adjustDefaultNamespace(Identifier catalogName, Identifier schemaName) {
  final Namespace.Name name = new Namespace.Name( catalogName, schemaName );
  if ( implicitNamespace.getName().equals( name ) ) {
    return implicitNamespace;
  }
  Namespace namespace = namespaceMap.get( name );
  if ( namespace == null ) {
    namespace = makeNamespace( name );
  }
  implicitNamespace = namespace;
  return implicitNamespace;
}
origin: hibernate/hibernate-orm

public Database(MetadataBuildingOptions buildingOptions, JdbcEnvironment jdbcEnvironment) {
  this.serviceRegistry = buildingOptions.getServiceRegistry();
  this.jdbcEnvironment = jdbcEnvironment;
  this.physicalNamingStrategy = buildingOptions.getPhysicalNamingStrategy();
  this.dialect = determineDialect( buildingOptions );
  this.implicitNamespace = makeNamespace(
      new Namespace.Name(
          toIdentifier( buildingOptions.getMappingDefaults().getImplicitCatalogName() ),
          toIdentifier( buildingOptions.getMappingDefaults().getImplicitSchemaName() )
      )
  );
}
origin: org.hibernate.orm/hibernate-core

public MappedNamespace locateNamespace(NamespaceName name) {
  if ( name.getCatalog() == null && name.getSchema() == null ) {
    return getDefaultNamespace();
  }
  return namespaceMap.computeIfAbsent(
      name,
      n -> makeNamespace( name )
  );
}
origin: org.hibernate.orm/hibernate-core

public MappedNamespace adjustDefaultNamespace(Identifier catalogName, Identifier schemaName) {
  final NamespaceName name = new NamespaceName( catalogName, schemaName );
  if ( implicitNamespace.getName().equals( name ) ) {
    return implicitNamespace;
  }
  MappedNamespace namespace = namespaceMap.get( name );
  if ( namespace == null ) {
    namespace = makeNamespace( name );
  }
  implicitNamespace = namespace;
  return implicitNamespace;
}
origin: org.hibernate.orm/hibernate-core

public Database(MetadataBuildingOptions buildingOptions, JdbcEnvironment jdbcEnvironment) {
  this.jdbcEnvironment = jdbcEnvironment;
  this.dialect = determineDialect( buildingOptions );
  this.implicitNamespace = makeNamespace(
      new NamespaceName(
          toIdentifier( buildingOptions.getMappingDefaults().getImplicitCatalogName() ),
          toIdentifier( buildingOptions.getMappingDefaults().getImplicitSchemaName() )
      )
  );
}
org.hibernate.boot.model.relationalDatabasemakeNamespace

Popular methods of Database

  • getNamespaces
  • getDefaultNamespace
  • getJdbcEnvironment
  • getDialect
  • locateNamespace
  • <init>
  • addAuxiliaryDatabaseObject
  • getAuxiliaryDatabaseObjects
  • adjustDefaultNamespace
  • determineDialect
  • getInitCommands
  • toIdentifier
    Wrap the raw name of a database object in it's Identifier form accounting for quoting from any of: *
  • getInitCommands,
  • toIdentifier,
  • getPhysicalNamingStrategy,
  • getServiceRegistry

Popular in Java

  • Creating JSON documents from java classes using gson
  • requestLocationUpdates (LocationManager)
  • setScale (BigDecimal)
  • findViewById (Activity)
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • TreeMap (java.util)
    Walk the nodes of the tree left-to-right or right-to-left. Note that in descending iterations, next
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • Top PhpStorm plugins
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