Tabnine Logo
HibernatePersistenceProviderAdaptor.putPropertyIfAbsent
Code IndexAdd Tabnine to your IDE (free)

How to use
putPropertyIfAbsent
method
in
org.jboss.as.jpa.hibernate3.HibernatePersistenceProviderAdaptor

Best Java code snippets using org.jboss.as.jpa.hibernate3.HibernatePersistenceProviderAdaptor.putPropertyIfAbsent (Showing top 2 results out of 315)

origin: org.jipijapa/jipijapa-hibernate3

@Override
public void addProviderProperties(Map properties, PersistenceUnitMetadata pu) {
  putPropertyIfAbsent(pu, properties, Environment.TRANSACTION_MANAGER_STRATEGY, JBossAppServerJtaPlatform.class.getName());
  putPropertyIfAbsent(pu, properties, Configuration.USE_NEW_ID_GENERATOR_MAPPINGS, "true");
  addAnnotationScanner(pu);
}
origin: org.jboss.as/jboss-as-jpa-hibernate3

@Override
public void addProviderProperties(Map properties, PersistenceUnitMetadata pu) {
  putPropertyIfAbsent(pu, properties, Environment.TRANSACTION_MANAGER_STRATEGY, JBossAppServerJtaPlatform.class.getName());
  putPropertyIfAbsent(pu, properties, Configuration.USE_NEW_ID_GENERATOR_MAPPINGS, "true");
  addAnnotationScanner(pu);
}
org.jboss.as.jpa.hibernate3HibernatePersistenceProviderAdaptorputPropertyIfAbsent

Popular methods of HibernatePersistenceProviderAdaptor

  • addAnnotationScanner
    Use reflection to see if we are using Hibernate 3.3.x or older (which doesn't have the org.hibernate

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • putExtra (Intent)
  • startActivity (Activity)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • Stack (java.util)
    Stack is a Last-In/First-Out(LIFO) data structure which represents a stack of objects. It enables u
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ThreadPoolExecutor (java.util.concurrent)
    An ExecutorService that executes each submitted task using one of possibly several pooled threads, n
  • Reference (javax.naming)
  • 14 Best Plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now