aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core/src/main/resources
diff options
context:
space:
mode:
authorEvgeny Mandrikov <mandrikov@gmail.com>2011-07-19 13:09:51 +0400
committerEvgeny Mandrikov <mandrikov@gmail.com>2011-07-20 19:02:49 +0400
commit5f730dc9ed7a80ad2de100940e051279c2018e1d (patch)
tree1fa0100c6f94fd93d5921a0722ce01dfd3481a96 /sonar-core/src/main/resources
parenta77a5b874799dc15edffe740a3ca34d896813238 (diff)
downloadsonarqube-5f730dc9ed7a80ad2de100940e051279c2018e1d.tar.gz
sonarqube-5f730dc9ed7a80ad2de100940e051279c2018e1d.zip
SONAR-2596,SONAR-2600 Improve notification mechanism
* Persist notifications into DB for later delivery. * Add sonar-email-plugin, which sends notifications by email.
Diffstat (limited to 'sonar-core/src/main/resources')
-rw-r--r--sonar-core/src/main/resources/META-INF/persistence.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/sonar-core/src/main/resources/META-INF/persistence.xml b/sonar-core/src/main/resources/META-INF/persistence.xml
index bd7a593133d..f3b022a96a3 100644
--- a/sonar-core/src/main/resources/META-INF/persistence.xml
+++ b/sonar-core/src/main/resources/META-INF/persistence.xml
@@ -34,7 +34,8 @@
<class>org.sonar.api.profiles.Alert</class>
<class>org.sonar.api.rules.ActiveRuleChange</class>
<class>org.sonar.api.rules.ActiveRuleParamChange</class>
- <class>org.sonar.jpa.entity.Review</class>
+ <class>org.sonar.api.database.model.Review</class>
+ <class>org.sonar.jpa.entity.NotificationQueueElement</class>
<properties>
<property name="hibernate.current_session_context_class" value="thread"/>