]> source.dussan.org Git - sonarqube.git/commit
Replacing Derby with H2
authorDavid Gageot <david@gageot.net>
Mon, 2 Jul 2012 08:10:27 +0000 (10:10 +0200)
committerDavid Gageot <david@gageot.net>
Tue, 3 Jul 2012 08:57:02 +0000 (10:57 +0200)
commit25e954167dc467546cc555e78b607423afbaaa48
treea764e082f2b79a1178ddade993d6090aa82c50f1
parentc8e75f24ad4cecedc7227cbda85e8989487aff28
Replacing Derby with H2
47 files changed:
pom.xml
sonar-application/assembly.xml
sonar-application/pom.xml
sonar-application/src/main/assembly/conf/sonar.properties
sonar-core/pom.xml
sonar-core/src/main/java/org/sonar/core/persistence/DatabaseMigrator.java
sonar-core/src/main/java/org/sonar/core/persistence/DdlUtils.java
sonar-core/src/main/java/org/sonar/core/persistence/DefaultDatabase.java
sonar-core/src/main/java/org/sonar/core/persistence/dialect/Derby.java [deleted file]
sonar-core/src/main/java/org/sonar/core/persistence/dialect/DialectUtils.java
sonar-core/src/main/java/org/sonar/core/persistence/dialect/H2.java [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-derby.sql [deleted file]
sonar-core/src/main/resources/org/sonar/core/persistence/rows-h2.sql [new file with mode: 0644]
sonar-core/src/main/resources/org/sonar/core/persistence/schema-derby.ddl [deleted file]
sonar-core/src/main/resources/org/sonar/core/persistence/schema-h2.ddl [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/config/ConfigurationUtilsTest.java
sonar-core/src/test/java/org/sonar/core/persistence/DaoTestCase.java
sonar-core/src/test/java/org/sonar/core/persistence/DatabaseCommands.java
sonar-core/src/test/java/org/sonar/core/persistence/DdlUtilsTest.java
sonar-core/src/test/java/org/sonar/core/persistence/DefaultDatabaseTest.java
sonar-core/src/test/java/org/sonar/core/persistence/DerbyUtils.java [deleted file]
sonar-core/src/test/java/org/sonar/core/persistence/H2Database.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/persistence/H2DatabaseTest.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/core/persistence/InMemoryDatabase.java [deleted file]
sonar-core/src/test/java/org/sonar/core/persistence/InMemoryDatabaseTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/persistence/MyBatisTest.java
sonar-core/src/test/java/org/sonar/core/persistence/dialect/DerbyTest.java [deleted file]
sonar-core/src/test/java/org/sonar/core/persistence/dialect/H2Test.java [new file with mode: 0644]
sonar-core/src/test/java/org/sonar/jpa/test/AbstractDbUnitTestCase.java
sonar-plugin-api/src/main/java/org/sonar/api/database/DatabaseProperties.java
sonar-server/derby-start.bat [deleted file]
sonar-server/derby-start.sh [deleted file]
sonar-server/h2-start.bat [new file with mode: 0644]
sonar-server/h2-start.sh [new file with mode: 0755]
sonar-server/pom.xml
sonar-server/src/dev/derby/conf/logback.xml [deleted file]
sonar-server/src/dev/derby/conf/sonar.properties [deleted file]
sonar-server/src/dev/h2/conf/logback.xml [new file with mode: 0644]
sonar-server/src/dev/h2/conf/sonar.properties [new file with mode: 0644]
sonar-server/src/main/java/org/sonar/server/database/EmbeddedDatabase.java
sonar-server/src/main/java/org/sonar/server/database/EmbeddedDatabaseFactory.java
sonar-server/src/main/java/org/sonar/server/plugins/BatchResourcesServlet.java
sonar-server/src/test/java/org/sonar/server/database/EmbeddedDatabaseTest.java
sonar-server/src/test/java/org/sonar/server/filters/FilterExecutorTest.java
sonar-server/src/test/java/org/sonar/server/plugins/BatchResourcesServletTest.java
sonar-testing-harness/pom.xml
sonar-web-test/pom.xml [new file with mode: 0644]