congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
PersistenceExtensionFeatureResolver.shouldCreateSchema
Code IndexAdd Tabnine to your IDE (free)

How to use
shouldCreateSchema
method
in
org.jboss.arquillian.persistence.core.metadata.PersistenceExtensionFeatureResolver

Best Java code snippets using org.jboss.arquillian.persistence.core.metadata.PersistenceExtensionFeatureResolver.shouldCreateSchema (Showing top 3 results out of 315)

origin: arquillian/arquillian-extension-persistence

public void createSchema(@Observes(precedence = 10) EventContext<BeforePersistenceTest> context) {
  final BeforePersistenceTest beforePersistenceTest = context.getEvent();
  if (persistenceExtensionFeatureResolver.get().shouldCreateSchema() && !schemaCreated(beforePersistenceTest)) {
    final Collection<SqlScriptResourceDescriptor> schemaDescriptors =
      SqlScriptProvider.createProviderForCreateSchemaScripts(beforePersistenceTest.getTestClass(),
        configuration.get()).getDescriptors(beforePersistenceTest.getTestClass());
    if (!schemaDescriptors.isEmpty()) {
      executeScriptsEvent.fire(new ExecuteScripts(beforePersistenceTest, schemaDescriptors));
    }
  }
  context.proceed();
}
origin: org.jboss.arquillian.extension/arquillian-persistence-core

public void createSchema(@Observes(precedence = 10) EventContext<BeforePersistenceTest> context)
{
 final BeforePersistenceTest beforePersistenceTest = context.getEvent();
 if (persistenceExtensionFeatureResolver.get().shouldCreateSchema() && !schemaCreated(beforePersistenceTest))
 {
   final Collection<SqlScriptResourceDescriptor> schemaDescriptors = SqlScriptProvider.createProviderForCreateSchemaScripts(beforePersistenceTest.getTestClass(), configuration.get()).getDescriptors(beforePersistenceTest.getTestClass());
   if (!schemaDescriptors.isEmpty())
   {
    executeScriptsEvent.fire(new ExecuteScripts(beforePersistenceTest, schemaDescriptors));
   }
 }
 context.proceed();
}
origin: org.jboss.arquillian.extension/arquillian-persistence-impl

public void createSchema(@Observes(precedence = 10) EventContext<BeforePersistenceTest> context)
{
 final BeforePersistenceTest beforePersistenceTest = context.getEvent();
 if (persistenceExtensionFeatureResolver.get().shouldCreateSchema() && !schemaCreated(beforePersistenceTest))
 {
   final Collection<SqlScriptResourceDescriptor> schemaDescriptors = SqlScriptProvider.createProviderForCreateSchemaScripts(beforePersistenceTest.getTestClass(), configuration.get()).getDescriptors(beforePersistenceTest.getTestClass());
   if (!schemaDescriptors.isEmpty())
   {
    executeScriptsEvent.fire(new ExecuteScripts(beforePersistenceTest, schemaDescriptors));
   }
 }
 context.proceed();
}
org.jboss.arquillian.persistence.core.metadataPersistenceExtensionFeatureResolvershouldCreateSchema

Popular methods of PersistenceExtensionFeatureResolver

  • <init>
  • getCleanupStrategy
  • getCleanupTestPhase
  • getDataSeedStrategy
  • getDataSourceName
  • shouldCleanup
  • shouldCleanupAfter
  • shouldCleanupBefore
  • shouldCustomScriptBeAppliedAfterTestRequested
  • shouldCustomScriptBeAppliedBeforeTestRequested
  • shouldSeedData
  • shouldVerifyDataAfterTest
  • shouldSeedData,
  • shouldVerifyDataAfterTest

Popular in Java

  • Reading from database using SQL prepared statement
  • getExternalFilesDir (Context)
  • addToBackStack (FragmentTransaction)
  • setScale (BigDecimal)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • 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
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • LoggerFactory (org.slf4j)
    The LoggerFactory is a utility class producing Loggers for various logging APIs, most notably for lo
  • 21 Best Atom Packages for 2021
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