Class PerformanceTest

java.lang.Object
org.fastnate.generator.test.AbstractEntitySqlGeneratorTest
org.fastnate.generator.test.performance.PerformanceTest

public class PerformanceTest extends AbstractEntitySqlGeneratorTest
Tests the performance against the currently configured test database.
Author:
Tobias Liefke
  • Constructor Details

    • PerformanceTest

      public PerformanceTest()
  • Method Details

    • getGeneratorProperties

      protected Properties getGeneratorProperties()
      Description copied from class: AbstractEntitySqlGeneratorTest
      Properties for configuring the generator.
      Overrides:
      getGeneratorProperties in class AbstractEntitySqlGeneratorTest
      Returns:
      the test specific properties for the generator
    • testFastnateBulk

      @Test public void testFastnateBulk() throws SQLException
      Tests the performance of fastnate with the PostgreSqlBulkWriter.
      Throws:
      SQLException - if there is a problem with the SQL
    • testFastnateConnected

      @Test public void testFastnateConnected() throws SQLException
      Tests the performance of fastnate with the ConnectedStatementsWriter.
      Throws:
      SQLException - if there is a problem with the SQL
    • testFastnatePrebuild

      @Test public void testFastnatePrebuild() throws SQLException
      Tests the performance of fastnate with predefined SQL.
      Throws:
      SQLException - if there is a problem with the SQL
    • testJpa

      @Test public void testJpa()
      Tests the performance of the JPA library.