congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
HibernatePersistenceProviderAdaptor.addAnnotationScanner
Code IndexAdd Tabnine to your IDE (free)

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

Best Java code snippets using org.jboss.as.jpa.hibernate3.HibernatePersistenceProviderAdaptor.addAnnotationScanner (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.hibernate3HibernatePersistenceProviderAdaptoraddAnnotationScanner

Javadoc

Use reflection to see if we are using Hibernate 3.3.x or older (which doesn't have the org.hibernate.ejb.packaging.Scanner class)

Popular methods of HibernatePersistenceProviderAdaptor

  • putPropertyIfAbsent

Popular in Java

  • Making http requests using okhttp
  • findViewById (Activity)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • getExternalFilesDir (Context)
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • Table (org.hibernate.mapping)
    A relational table
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registry of org.quartz.Job
  • 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