diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-21 16:01:48 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-09-21 16:01:48 +0000 |
commit | d4963b41c34bc8a0d94ad80fe098cd088bb4a5a0 (patch) | |
tree | 935a0eb55a7749191e9cdf2c80bb0bfb621ba6df /sonar-core | |
parent | 464ad2d23f136886547146e5ce86af56cd785396 (diff) | |
download | sonarqube-d4963b41c34bc8a0d94ad80fe098cd088bb4a5a0.tar.gz sonarqube-d4963b41c34bc8a0d94ad80fe098cd088bb4a5a0.zip |
add characteristic properties to quality models
Diffstat (limited to 'sonar-core')
-rw-r--r-- | sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java | 4 | ||||
-rw-r--r-- | sonar-core/src/main/resources/META-INF/persistence.xml | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java index 54cbf7f3464..fbf6e877f4e 100644 --- a/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java +++ b/sonar-core/src/main/java/org/sonar/jpa/entity/SchemaMigration.java @@ -19,18 +19,18 @@ */ package org.sonar.jpa.entity; +import javax.persistence.*; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; -import javax.persistence.*; @Entity @Table(name = SchemaMigration.TABLE_NAME, uniqueConstraints = {@UniqueConstraint(columnNames = {"version"})}) public class SchemaMigration { public final static int VERSION_UNKNOWN = -1; - public static final int LAST_VERSION = 139; + public static final int LAST_VERSION = 140; public final static String TABLE_NAME = "schema_migrations"; diff --git a/sonar-core/src/main/resources/META-INF/persistence.xml b/sonar-core/src/main/resources/META-INF/persistence.xml index 2d3f56e0cbb..304887e52b7 100644 --- a/sonar-core/src/main/resources/META-INF/persistence.xml +++ b/sonar-core/src/main/resources/META-INF/persistence.xml @@ -10,6 +10,7 @@ <class>org.sonar.api.database.configuration.Property</class> <class>org.sonar.api.qualitymodel.Model</class> <class>org.sonar.api.qualitymodel.Characteristic</class> + <class>org.sonar.api.qualitymodel.CharacteristicProperty</class> <class>org.sonar.core.plugin.JpaPlugin</class> <class>org.sonar.core.plugin.JpaPluginFile</class> |