ODE
  1. ODE
  2. ODE-666

Migrate from Derby to H2 as the default embedded test database

    Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.4
    • Fix Version/s: 1.3.6, 1.3.7, 1.4
    • Component/s: None
    • Labels:
      None

      Issue Links

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        1401d 13h 29m 1 Tammo van Lessen 26/Jul/13 15:57
        Resolved Resolved Reopened Reopened
        740d 17h 19m 1 Sathwik Bantwal Premakumar 06/Aug/15 09:17
        Reopened Reopened In Progress In Progress
        47m 31s 1 Sathwik Bantwal Premakumar 06/Aug/15 10:04
        In Progress In Progress Resolved Resolved
        4d 1h 6m 1 Sathwik Bantwal Premakumar 10/Aug/15 11:10
        Sathwik Bantwal Premakumar made changes -
        Link This issue supercedes ODE-1034 [ ODE-1034 ]
        Sathwik Bantwal Premakumar made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-trunk-jdk6 #868 (See https://builds.apache.org/job/ODE-trunk-jdk6/868/)
        ODE-666: Rectified to pickup conf for H2 (sathwik: rev fb731a748e4c86496c8f2084f8f47bada96f556b)

        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java
        • axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-trunk-jdk6 #868 (See https://builds.apache.org/job/ODE-trunk-jdk6/868/ ) ODE-666 : Rectified to pickup conf for H2 (sathwik: rev fb731a748e4c86496c8f2084f8f47bada96f556b) bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-1.x #514 (See https://builds.apache.org/job/ODE-1.x/514/)
        ODE-666: Ported changes from trunk (sathwik: https://github.com/apache/ode/commit/28085edc2b1329235881f390bc38f36c28d3af5d)

        • axis2-war/src/test/java/org/apache/ode/axis2/SelectorsTest.java
        • bpel-test/src/main/java/org/apache/ode/test/BPELTestAbstract.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/Database.java
        • jbi/src/test/resources/jndi-entries.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/ODEConfigDirAware.java
        • bpel-store/src/main/java/org/apache/ode/store/hib/DbConfStoreConnectionFactory.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/SystemCronCleanupTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureHibTest.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/DerbyEmbeddedDB.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/DatabaseConnectionManager.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/InternalDB.java
        • dao-hibernate-db/build.xml
        • axis2/src/main/java/org/apache/ode/axis2/ODEServer.java
        • jbi/src/test/resources/EmptyRespJbiTest/smx.xml
        • axis2-war/src/test/webapp/WEB-INF/conf.jpa-h2/ode-axis2.properties
        • jbi/src/test/resources/RetireJbiTest/smx.xml
        • Rakefile
        • tasks/h2.rake
        • jbi/src/test/resources/smx-base.xml
        • bpel-epr/src/main/java/org/apache/ode/il/config/OdeConfigProperties.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanTestBase.java
        • jbi/src/test/resources/ExtVarJbiTest/smx.xml
        • bpel-test/src/main/resources/scheduler-schema.sql
        • axis2-war/src/test/java/org/apache/ode/axis2/ClusteredOutgoingTrafficTest.java
        • bpel-test/src/test/java/org/apache/ode/test/ExternalVariableTest.java
        • dependencies.rb
        • tasks/derby.rake
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultHibTest.java
        • bpel-runtime/src/test/java/org/apache/ode/bpel/engine/cron/CronSchedulerTest.java
        • jbi/src/test/resources/SpringPropertiesJbiTest/smx.xml
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java
        • jbi/src/test/resources/MagicSessionExternalJbiTest/smx.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessHibTest.java
        • jbi/src/test/resources/DigestJbiTest/smx.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
        • axis2-war/src/test/webapp/WEB-INF/conf.jpa-derby/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
        • dao-hibernate/src/test/java/org/apache/ode/daohib/bpel/BaseTestDAO.java
        • jbi/src/test/resources/MagicSessionJbiTest/smx.xml
        • axis2-war/src/main/webapp/WEB-INF/conf/ode-axis2.properties
        • jbi/src/test/resources/OnEventAlarmJbiTest/smx.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/BpelActivityTest.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/ExternalDB.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureTest.java
        • axis2-war/src/test/webapp/WEB-INF/conf.hib-h2/ode-axis2.properties
        • bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java
        • dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionFactoryImpl.java
        • axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties
        • jbi/src/test/resources/HelloWorldJbiTest/smx.xml
        • axis2-war/src/test/webapp/WEB-INF/conf.hib-derby/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/ProcessCronCleanupTest.java
        • jbi/src/test/java/org/apache/ode/jbi/JbiTestBase.java
        • bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java
        • jbi/src/test/resources/CommunicationJbiTest/smx.xml
        • jbi/src/main/java/org/apache/ode/jbi/OdeLifeCycle.java
        • bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
        • jbi/src/test/resources/ReplayerJbiTest/smx.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationUnicityTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultTest.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-1 .x #514 (See https://builds.apache.org/job/ODE-1.x/514/ ) ODE-666 : Ported changes from trunk (sathwik: https://github.com/apache/ode/commit/28085edc2b1329235881f390bc38f36c28d3af5d ) axis2-war/src/test/java/org/apache/ode/axis2/SelectorsTest.java bpel-test/src/main/java/org/apache/ode/test/BPELTestAbstract.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/Database.java jbi/src/test/resources/jndi-entries.xml axis2-war/src/test/java/org/apache/ode/axis2/ODEConfigDirAware.java bpel-store/src/main/java/org/apache/ode/store/hib/DbConfStoreConnectionFactory.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/SystemCronCleanupTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureHibTest.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/DerbyEmbeddedDB.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/DatabaseConnectionManager.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/InternalDB.java dao-hibernate-db/build.xml axis2/src/main/java/org/apache/ode/axis2/ODEServer.java jbi/src/test/resources/EmptyRespJbiTest/smx.xml axis2-war/src/test/webapp/WEB-INF/conf.jpa-h2/ode-axis2.properties jbi/src/test/resources/RetireJbiTest/smx.xml Rakefile tasks/h2.rake jbi/src/test/resources/smx-base.xml bpel-epr/src/main/java/org/apache/ode/il/config/OdeConfigProperties.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanTestBase.java jbi/src/test/resources/ExtVarJbiTest/smx.xml bpel-test/src/main/resources/scheduler-schema.sql axis2-war/src/test/java/org/apache/ode/axis2/ClusteredOutgoingTrafficTest.java bpel-test/src/test/java/org/apache/ode/test/ExternalVariableTest.java dependencies.rb tasks/derby.rake axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultHibTest.java bpel-runtime/src/test/java/org/apache/ode/bpel/engine/cron/CronSchedulerTest.java jbi/src/test/resources/SpringPropertiesJbiTest/smx.xml bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java jbi/src/test/resources/MagicSessionExternalJbiTest/smx.xml axis2-war/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessHibTest.java jbi/src/test/resources/DigestJbiTest/smx.xml axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java axis2-war/src/test/webapp/WEB-INF/conf.jpa-derby/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java dao-hibernate/src/test/java/org/apache/ode/daohib/bpel/BaseTestDAO.java jbi/src/test/resources/MagicSessionJbiTest/smx.xml axis2-war/src/main/webapp/WEB-INF/conf/ode-axis2.properties jbi/src/test/resources/OnEventAlarmJbiTest/smx.xml axis2-war/src/test/java/org/apache/ode/axis2/BpelActivityTest.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/ExternalDB.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureTest.java axis2-war/src/test/webapp/WEB-INF/conf.hib-h2/ode-axis2.properties bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionFactoryImpl.java axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties jbi/src/test/resources/HelloWorldJbiTest/smx.xml axis2-war/src/test/webapp/WEB-INF/conf.hib-derby/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/ProcessCronCleanupTest.java jbi/src/test/java/org/apache/ode/jbi/JbiTestBase.java bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java jbi/src/test/resources/CommunicationJbiTest/smx.xml jbi/src/main/java/org/apache/ode/jbi/OdeLifeCycle.java bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java jbi/src/test/resources/ReplayerJbiTest/smx.xml axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationUnicityTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultTest.java
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-trunk-jdk6 #867 (See https://builds.apache.org/job/ODE-trunk-jdk6/867/)
        ODE-666: Ported remaining testcases which were on HSQL to H2 (sathwik: rev 137429a43572e36334502ed3d88f6b023170a017)

        • scheduler-simple/src/test/resources/simplesched-h2.sql
        • bpel-runtime/src/test/java/org/apache/ode/bpel/extvar/jdbc/JdbcExternalVariableEngineTest.java
        • dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/SelectObjectTest.java
        • bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
        • scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/DelegateSupport.java
        • dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/InsertObjectTest.java
        • Rakefile
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-trunk-jdk6 #867 (See https://builds.apache.org/job/ODE-trunk-jdk6/867/ ) ODE-666 : Ported remaining testcases which were on HSQL to H2 (sathwik: rev 137429a43572e36334502ed3d88f6b023170a017) scheduler-simple/src/test/resources/simplesched-h2.sql bpel-runtime/src/test/java/org/apache/ode/bpel/extvar/jdbc/JdbcExternalVariableEngineTest.java dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/SelectObjectTest.java bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/DelegateSupport.java dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/InsertObjectTest.java Rakefile
        Sathwik Bantwal Premakumar made changes -
        Status Reopened [ 4 ] In Progress [ 3 ]
        Hide
        Hudson added a comment -

        SUCCESS: Integrated in ODE-1.x #511 (See https://builds.apache.org/job/ODE-1.x/511/)
        ODE-666: Ported remaining testcases which were on HSQL to H2 (sathwik: https://github.com/apache/ode/commit/37e7297da361ad7e4e46319c27ea3b8261a7adcf)

        • bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java
        • Rakefile
        • scheduler-simple/src/test/resources/simplesched-h2.sql
        • dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/InsertObjectTest.java
        • bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java
        • dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/SelectObjectTest.java
        • scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/GeronimoDelegateSupport.java
        • scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/DelegateSupport.java
        • bpel-runtime/src/test/java/org/apache/ode/bpel/extvar/jdbc/JdbcExternalVariableEngineTest.java
        Show
        Hudson added a comment - SUCCESS: Integrated in ODE-1 .x #511 (See https://builds.apache.org/job/ODE-1.x/511/ ) ODE-666 : Ported remaining testcases which were on HSQL to H2 (sathwik: https://github.com/apache/ode/commit/37e7297da361ad7e4e46319c27ea3b8261a7adcf ) bpel-store/src/main/java/org/apache/ode/store/ProcessStoreImpl.java Rakefile scheduler-simple/src/test/resources/simplesched-h2.sql dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/InsertObjectTest.java bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java dao-jpa-ojpa-derby/src/test/java/org/apache/ode/dao/jpa/test/SelectObjectTest.java scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/GeronimoDelegateSupport.java scheduler-simple/src/test/java/org/apache/ode/scheduler/simple/DelegateSupport.java bpel-runtime/src/test/java/org/apache/ode/bpel/extvar/jdbc/JdbcExternalVariableEngineTest.java
        Sathwik Bantwal Premakumar made changes -
        Fix Version/s 1.3.7 [ 12324967 ]
        Sathwik Bantwal Premakumar made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Rafal Rusin [ rrusin ] Sathwik Bantwal Premakumar [ sathwik ]
        Hide
        Sathwik Bantwal Premakumar added a comment -

        Some of the test cases are still on HSQL. Moving them to H2. These changes will go in to 1.3.7 and 1.4

        Show
        Sathwik Bantwal Premakumar added a comment - Some of the test cases are still on HSQL. Moving them to H2. These changes will go in to 1.3.7 and 1.4
        Hide
        Hudson added a comment -

        UNSTABLE: Integrated in ODE-trunk-jdk6 #805 (See https://builds.apache.org/job/ODE-trunk-jdk6/805/)
        ODE-666 Migrated to H2 for bpel-runtime tests and bpel-test. Also cleaned up the axis2-war h2 tests. (vanto: rev dec47e4ba34045de1194be09aa311c10b101bbb7)

        • axis2-war/src/test/webapp/WEB-INF/conf.hib-derby/ode-axis2.properties
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/DerbyEmbeddedDB.java
        • axis2-war/src/test/webapp/WEB-INF/conf.jpa-derby/ode-axis2.properties
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/EmbeddedDB.java
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiHibTest.java
        • dao-hibernate/src/test/java/org/apache/ode/daohib/bpel/BaseTestDAO.java
        • bpel-test/src/main/java/org/apache/ode/test/BPELTestAbstract.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/ProcessCronCleanupTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/DatabaseConnectionManager.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/InternalDB.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/Database.java
        • axis2-war/src/test/webapp/WEB-INF/conf.jpa-h2/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureHibTest.java
        • bpel-store/src/main/java/org/apache/ode/store/hib/DbConfStoreConnectionFactory.java
        • dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionFactoryImpl.java
        • bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/SystemCronCleanupTest.java
        • jbi/src/test/resources/smx-base.xml
        • dao-jpa-ojpa-derby/src/main/scripts/simplesched-h2.sql
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyTest.java
        • bpel-epr/src/main/java/org/apache/ode/il/config/OdeConfigProperties.java
        • axis2-war/src/main/webapp/WEB-INF/conf/ode-axis2.properties
        • axis2-war/src/test/maven2/ode-axis2.properties
        • tasks/h2.rake
        • axis2-war/src/test/java/org/apache/ode/axis2/ODEConfigDirAware.java
        • bpel-test/src/test/java/org/apache/ode/test/ExternalVariableTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/ClusteredOutgoingTrafficTest.java
        • axis2-war/src/test/webapp/WEB-INF/conf.hib-h2/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinHibTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/SelectorsTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyHibTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/BpelActivityTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java
        • bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java
        • axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationUnicityTest.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultHibTest.java
        • Rakefile
        • bpel-runtime/src/test/java/org/apache/ode/bpel/engine/cron/CronSchedulerTest.java
        • dao-jpa-ojpa-derby/src/main/descriptors/persistence.h2.xml
        • axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiTest.java
        • bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessHibTest.java
        • tasks/derby.rake
        • axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureTest.java
        Show
        Hudson added a comment - UNSTABLE: Integrated in ODE-trunk-jdk6 #805 (See https://builds.apache.org/job/ODE-trunk-jdk6/805/ ) ODE-666 Migrated to H2 for bpel-runtime tests and bpel-test. Also cleaned up the axis2-war h2 tests. (vanto: rev dec47e4ba34045de1194be09aa311c10b101bbb7) axis2-war/src/test/webapp/WEB-INF/conf.hib-derby/ode-axis2.properties bpel-epr/src/main/java/org/apache/ode/il/dbutil/DerbyEmbeddedDB.java axis2-war/src/test/webapp/WEB-INF/conf.jpa-derby/ode-axis2.properties bpel-epr/src/main/java/org/apache/ode/il/dbutil/EmbeddedDB.java axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiHibTest.java dao-hibernate/src/test/java/org/apache/ode/daohib/bpel/BaseTestDAO.java bpel-test/src/main/java/org/apache/ode/test/BPELTestAbstract.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/ProcessCronCleanupTest.java axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessTest.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/DatabaseConnectionManager.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/InternalDB.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/Database.java axis2-war/src/test/webapp/WEB-INF/conf.jpa-h2/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureHibTest.java bpel-store/src/main/java/org/apache/ode/store/hib/DbConfStoreConnectionFactory.java dao-hibernate/src/main/java/org/apache/ode/daohib/bpel/BpelDAOConnectionFactoryImpl.java bpel-store/src/test/java/org/apache/ode/store/hib/DaoTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/SystemCronCleanupTest.java jbi/src/test/resources/smx-base.xml dao-jpa-ojpa-derby/src/main/scripts/simplesched-h2.sql axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyTest.java bpel-epr/src/main/java/org/apache/ode/il/config/OdeConfigProperties.java axis2-war/src/main/webapp/WEB-INF/conf/ode-axis2.properties axis2-war/src/test/maven2/ode-axis2.properties tasks/h2.rake axis2-war/src/test/java/org/apache/ode/axis2/ODEConfigDirAware.java bpel-test/src/test/java/org/apache/ode/test/ExternalVariableTest.java axis2-war/src/test/java/org/apache/ode/axis2/ClusteredOutgoingTrafficTest.java axis2-war/src/test/webapp/WEB-INF/conf.hib-h2/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/management/InstanceManagementTest.java axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinHibTest.java axis2-war/src/test/java/org/apache/ode/axis2/SelectorsTest.java axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationJoinLazyHibTest.java axis2-war/src/test/java/org/apache/ode/axis2/BpelActivityTest.java axis2-war/src/test/java/org/apache/ode/axis2/Axis2TestBase.java bpel-runtime/src/test/java/org/apache/ode/bpel/runtime/MockBpelServer.java axis2-war/src/test/webapp/WEB-INF/conf/ode-axis2.properties axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationUnicityTest.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFaultHibTest.java Rakefile bpel-runtime/src/test/java/org/apache/ode/bpel/engine/cron/CronSchedulerTest.java dao-jpa-ojpa-derby/src/main/descriptors/persistence.h2.xml axis2-war/src/test/java/org/apache/ode/axis2/correlation/CorrelationMultiTest.java bpel-epr/src/main/java/org/apache/ode/il/dbutil/H2EmbeddedDB.java axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanSuccessHibTest.java tasks/derby.rake axis2-war/src/test/java/org/apache/ode/axis2/instancecleanup/CleanFailureTest.java
        Tammo van Lessen made changes -
        Summary Migrate from Derby to H2 as the default embedded database Migrate from Derby to H2 as the default embedded test database
        Tammo van Lessen made changes -
        Fix Version/s 1.3.6 [ 12323509 ]
        Tammo van Lessen made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Hide
        Tammo van Lessen added a comment - - edited

        this is fixed for trunk (1.4), at least for the test cases.

        Show
        Tammo van Lessen added a comment - - edited this is fixed for trunk (1.4), at least for the test cases.
        Tammo van Lessen made changes -
        Fix Version/s 1.4 [ 12315144 ]
        Fix Version/s 1.3.5 [ 12314243 ]
        Hide
        Rafal Rusin added a comment -

        Migrated axis2-war tests to h2

        ------------------------------------------------------------------------
        r959253 | rr | 2010-06-30 12:06:14 +0200 (śro) | 7 linii

        Expression namespace contexts memory optimization
        WSDL4J update
        SchemaCollection memory fix
        Resources cleanup
        Switched to H2 for axis-war tests
        Added h2 database creation

        Show
        Rafal Rusin added a comment - Migrated axis2-war tests to h2 ------------------------------------------------------------------------ r959253 | rr | 2010-06-30 12:06:14 +0200 (śro) | 7 linii Expression namespace contexts memory optimization WSDL4J update SchemaCollection memory fix Resources cleanup Switched to H2 for axis-war tests Added h2 database creation
        Rafal Rusin made changes -
        Assignee Sean Ahn [ seanahn ] Rafal Rusin [ rrusin ]
        Tammo van Lessen made changes -
        Issue Type Test [ 6 ] Task [ 3 ]
        Fix Version/s 1.3.5 [ 12314243 ]
        Fix Version/s 1.3.4 [ 12314168 ]
        Priority Blocker [ 1 ] Major [ 3 ]
        Hide
        Tammo van Lessen added a comment -

        Postponing it to 1.3.5 – could be solved as part of the JPA refactoring

        Show
        Tammo van Lessen added a comment - Postponing it to 1.3.5 – could be solved as part of the JPA refactoring
        Alexis Midon made changes -
        Assignee Sean Ahn [ seanahn ]
        Alexis Midon made changes -
        Summary Tests do not pass on Derby - locking issues Migrate from Derby to H2 as the default embedded database
        Alexis Midon made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Blocker [ 1 ]
        Hide
        Rafal Rusin added a comment -

        At least we should make possible to run all ODE tests without derby.
        Now a lot of test cases (those without @Test(dataProvider="configs") entries use default config. This yields to using Derby when tests are executed with mysql config and does hangs.
        Jbi tests now use hib derby too.
        IMO default DB settings for tests should be set to localhost hib mysql, because we support this config the most (I think). User/password/db name could be default too.

        Show
        Rafal Rusin added a comment - At least we should make possible to run all ODE tests without derby. Now a lot of test cases (those without @Test(dataProvider="configs") entries use default config. This yields to using Derby when tests are executed with mysql config and does hangs. Jbi tests now use hib derby too. IMO default DB settings for tests should be set to localhost hib mysql, because we support this config the most (I think). User/password/db name could be default too.
        Hide
        Matthieu Riou added a comment -

        If I can give you one advice on this one, I'd say this: fuck Derby, use H2 instead as the default embedded database.

        Show
        Matthieu Riou added a comment - If I can give you one advice on this one, I'd say this: fuck Derby, use H2 instead as the default embedded database.
        Alexis Midon created issue -

          People

          • Assignee:
            Sathwik Bantwal Premakumar
            Reporter:
            Alexis Midon
          • Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development