1
|
<?xml version="1.0" encoding="UTF-8"?>
|
2
|
<beans xmlns="http://www.springframework.org/schema/beans"
|
3
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
4
|
xmlns:context="http://www.springframework.org/schema/context"
|
5
|
xmlns:tx="http://www.springframework.org/schema/tx"
|
6
|
xsi:schemaLocation="http://www.springframework.org/schema/beans
|
7
|
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
|
8
|
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
|
9
|
http://www.springframework.org/schema/tx http://www.springframework.org/schema/tx/spring-tx-2.5.xsd
|
10
|
">
|
11
|
|
12
|
<context:component-scan base-package="eu/etaxonomy/cdm"/>
|
13
|
|
14
|
<!-- enable the configuration of transactional behavior based on annotations -->
|
15
|
<tx:annotation-driven transaction-manager="transactionManager"/>
|
16
|
|
17
|
<bean id="transactionManager" class="org.springframework.orm.hibernate3.HibernateTransactionManager">
|
18
|
<property name="sessionFactory" ref="sessionFactory" />
|
19
|
</bean>
|
20
|
|
21
|
<bean id="sessionFactory"
|
22
|
class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean">
|
23
|
<property name="namingStrategy">
|
24
|
<bean class="org.hibernate.cfg.DefaultComponentSafeNamingStrategy" />
|
25
|
</property>
|
26
|
<property name="annotatedPackages">
|
27
|
<list>
|
28
|
<value>eu.etaxonomy.cdm.model.common</value>
|
29
|
</list>
|
30
|
</property>
|
31
|
<property name="annotatedClasses">
|
32
|
<list>
|
33
|
<value>eu.etaxonomy.cdm.model.agent.Address</value>
|
34
|
<value>eu.etaxonomy.cdm.model.agent.Agent</value>
|
35
|
<value>eu.etaxonomy.cdm.model.agent.Contact</value>
|
36
|
<value>eu.etaxonomy.cdm.model.agent.Institution</value>
|
37
|
<value>eu.etaxonomy.cdm.model.agent.InstitutionalMembership</value>
|
38
|
<value>eu.etaxonomy.cdm.model.agent.InstitutionType</value>
|
39
|
<value>eu.etaxonomy.cdm.model.agent.Person</value>
|
40
|
<value>eu.etaxonomy.cdm.model.agent.Team</value>
|
41
|
<value>eu.etaxonomy.cdm.model.agent.TeamOrPersonBase</value>
|
42
|
<value>eu.etaxonomy.cdm.model.common.AnnotatableEntity</value>
|
43
|
<value>eu.etaxonomy.cdm.model.common.Annotation</value>
|
44
|
<value>eu.etaxonomy.cdm.model.common.AudioFile</value>
|
45
|
<value>eu.etaxonomy.cdm.model.common.CdmBase</value>
|
46
|
<value>eu.etaxonomy.cdm.model.common.DefinedTermBase</value>
|
47
|
<value>eu.etaxonomy.cdm.model.common.EventBase</value>
|
48
|
<value>eu.etaxonomy.cdm.model.common.Extension</value>
|
49
|
<value>eu.etaxonomy.cdm.model.common.ExtensionType</value>
|
50
|
<value>eu.etaxonomy.cdm.model.common.Figure</value>
|
51
|
<value>eu.etaxonomy.cdm.model.common.ILoadableTerm</value>
|
52
|
<value>eu.etaxonomy.cdm.model.common.IdentifiableEntity</value>
|
53
|
<value>eu.etaxonomy.cdm.model.common.IdentifyableMediaEntity</value>
|
54
|
<value>eu.etaxonomy.cdm.model.common.IEvent</value>
|
55
|
<value>eu.etaxonomy.cdm.model.common.ImageFile</value>
|
56
|
<value>eu.etaxonomy.cdm.model.common.IMediaDocumented</value>
|
57
|
<value>eu.etaxonomy.cdm.model.common.IOriginalSource</value>
|
58
|
<value>eu.etaxonomy.cdm.model.common.IReferencedEntity</value>
|
59
|
<value>eu.etaxonomy.cdm.model.common.Keyword</value>
|
60
|
<value>eu.etaxonomy.cdm.model.common.Language</value>
|
61
|
<value>eu.etaxonomy.cdm.model.common.LanguageString</value>
|
62
|
<value>eu.etaxonomy.cdm.model.common.Marker</value>
|
63
|
<value>eu.etaxonomy.cdm.model.common.MarkerType</value>
|
64
|
<value>eu.etaxonomy.cdm.model.common.Media</value>
|
65
|
<value>eu.etaxonomy.cdm.model.common.MediaInstance</value>
|
66
|
<value>eu.etaxonomy.cdm.model.common.MovieFile</value>
|
67
|
<value>eu.etaxonomy.cdm.model.common.MultilanguageSet</value>
|
68
|
<value>eu.etaxonomy.cdm.model.common.NoDefinedTermClassException</value>
|
69
|
<value>eu.etaxonomy.cdm.model.common.OrderedTermBase</value>
|
70
|
<value>eu.etaxonomy.cdm.model.common.OriginalSource</value>
|
71
|
<value>eu.etaxonomy.cdm.model.common.ReferencedEntityBase</value>
|
72
|
<value>eu.etaxonomy.cdm.model.common.ReferencedMedia</value>
|
73
|
<value>eu.etaxonomy.cdm.model.common.RelationshipTermBase</value>
|
74
|
<value>eu.etaxonomy.cdm.model.common.Representation</value>
|
75
|
<value>eu.etaxonomy.cdm.model.common.Rights</value>
|
76
|
<value>eu.etaxonomy.cdm.model.common.RightsTerm</value>
|
77
|
<value>eu.etaxonomy.cdm.model.common.TermBase</value>
|
78
|
<value>eu.etaxonomy.cdm.model.common.TermVocabulary</value>
|
79
|
<value>eu.etaxonomy.cdm.model.common.OrderedTermVocabulary</value>
|
80
|
<value>eu.etaxonomy.cdm.model.common.TimePeriod</value>
|
81
|
<value>eu.etaxonomy.cdm.model.common.VersionableEntity</value>
|
82
|
<value>eu.etaxonomy.cdm.model.common.WrongTermTypeException</value>
|
83
|
<value>eu.etaxonomy.cdm.model.description.AbsenceTerm</value>
|
84
|
<value>eu.etaxonomy.cdm.model.description.CategoricalData</value>
|
85
|
<value>eu.etaxonomy.cdm.model.description.CommonTaxonName</value>
|
86
|
<value>eu.etaxonomy.cdm.model.description.DescriptionBase</value>
|
87
|
<value>eu.etaxonomy.cdm.model.description.Distribution</value>
|
88
|
<value>eu.etaxonomy.cdm.model.description.FeatureBase</value>
|
89
|
<value>eu.etaxonomy.cdm.model.description.FeatureNode</value>
|
90
|
<value>eu.etaxonomy.cdm.model.description.FeatureTree</value>
|
91
|
<value>eu.etaxonomy.cdm.model.description.FeatureType</value>
|
92
|
<value>eu.etaxonomy.cdm.model.description.IdentificationKey</value>
|
93
|
<value>eu.etaxonomy.cdm.model.description.IndividualsAssociation</value>
|
94
|
<value>eu.etaxonomy.cdm.model.description.MeasurementUnit</value>
|
95
|
<value>eu.etaxonomy.cdm.model.description.Modifier</value>
|
96
|
<value>eu.etaxonomy.cdm.model.description.PresenceAbsenceTermBase</value>
|
97
|
<value>eu.etaxonomy.cdm.model.description.PresenceTerm</value>
|
98
|
<value>eu.etaxonomy.cdm.model.description.QuantitativeData</value>
|
99
|
<value>eu.etaxonomy.cdm.model.description.Scope</value>
|
100
|
<value>eu.etaxonomy.cdm.model.description.Sex</value>
|
101
|
<value>eu.etaxonomy.cdm.model.description.SpecimenDescription</value>
|
102
|
<value>eu.etaxonomy.cdm.model.description.Stage</value>
|
103
|
<value>eu.etaxonomy.cdm.model.description.State</value>
|
104
|
<value>eu.etaxonomy.cdm.model.description.StateData</value>
|
105
|
<value>eu.etaxonomy.cdm.model.description.StatisticalMeasure</value>
|
106
|
<value>eu.etaxonomy.cdm.model.description.StatisticalMeasurementValue</value>
|
107
|
<value>eu.etaxonomy.cdm.model.description.TaxonDescription</value>
|
108
|
<value>eu.etaxonomy.cdm.model.description.TaxonInteraction</value>
|
109
|
<value>eu.etaxonomy.cdm.model.description.TextData</value>
|
110
|
<value>eu.etaxonomy.cdm.model.description.TextFormat</value>
|
111
|
<value>eu.etaxonomy.cdm.model.location.Continent</value>
|
112
|
<value>eu.etaxonomy.cdm.model.location.NamedArea</value>
|
113
|
<value>eu.etaxonomy.cdm.model.location.NamedAreaLevel</value>
|
114
|
<value>eu.etaxonomy.cdm.model.location.NamedAreaType</value>
|
115
|
<value>eu.etaxonomy.cdm.model.location.Point</value>
|
116
|
<value>eu.etaxonomy.cdm.model.location.ReferenceSystem</value>
|
117
|
<value>eu.etaxonomy.cdm.model.location.WaterbodyOrCountry</value>
|
118
|
<value>eu.etaxonomy.cdm.model.molecular.DnaSample</value>
|
119
|
<value>eu.etaxonomy.cdm.model.molecular.GenBankAccession</value>
|
120
|
<value>eu.etaxonomy.cdm.model.molecular.Locus</value>
|
121
|
<value>eu.etaxonomy.cdm.model.molecular.PhylogeneticTree</value>
|
122
|
<value>eu.etaxonomy.cdm.model.molecular.Sequence</value>
|
123
|
<value>eu.etaxonomy.cdm.model.name.BacterialName</value>
|
124
|
<value>eu.etaxonomy.cdm.model.name.BotanicalName</value>
|
125
|
<value>eu.etaxonomy.cdm.model.name.CultivarPlantName</value>
|
126
|
<value>eu.etaxonomy.cdm.model.name.HomotypicalGroup</value>
|
127
|
<value>eu.etaxonomy.cdm.model.name.HybridRelationship</value>
|
128
|
<value>eu.etaxonomy.cdm.model.name.HybridRelationshipType</value>
|
129
|
<value>eu.etaxonomy.cdm.model.name.NameRelationship</value>
|
130
|
<value>eu.etaxonomy.cdm.model.name.NameRelationshipType</value>
|
131
|
<value>eu.etaxonomy.cdm.model.name.NameTypeDesignation</value>
|
132
|
<value>eu.etaxonomy.cdm.model.name.NomenclaturalStatus</value>
|
133
|
<value>eu.etaxonomy.cdm.model.name.NomenclaturalStatusType</value>
|
134
|
<value>eu.etaxonomy.cdm.model.name.NonViralName</value>
|
135
|
<value>eu.etaxonomy.cdm.model.name.Rank</value>
|
136
|
<value>eu.etaxonomy.cdm.model.name.SpecimenTypeDesignation</value>
|
137
|
<value>eu.etaxonomy.cdm.model.name.TaxonNameBase</value>
|
138
|
<value>eu.etaxonomy.cdm.model.name.TypeDesignationStatus</value>
|
139
|
<value>eu.etaxonomy.cdm.model.name.ViralName</value>
|
140
|
<value>eu.etaxonomy.cdm.model.name.ZoologicalName</value>
|
141
|
<value>eu.etaxonomy.cdm.model.occurrence.Collection</value>
|
142
|
<value>eu.etaxonomy.cdm.model.occurrence.DerivationEvent</value>
|
143
|
<value>eu.etaxonomy.cdm.model.occurrence.DerivationEventType</value>
|
144
|
<value>eu.etaxonomy.cdm.model.occurrence.DerivedUnit</value>
|
145
|
<value>eu.etaxonomy.cdm.model.occurrence.DeterminationEvent</value>
|
146
|
<value>eu.etaxonomy.cdm.model.occurrence.DeterminationModifier</value>
|
147
|
<value>eu.etaxonomy.cdm.model.occurrence.FieldObservation</value>
|
148
|
<value>eu.etaxonomy.cdm.model.occurrence.Fossil</value>
|
149
|
<value>eu.etaxonomy.cdm.model.occurrence.GatheringEvent</value>
|
150
|
<value>eu.etaxonomy.cdm.model.occurrence.LivingBeing</value>
|
151
|
<value>eu.etaxonomy.cdm.model.occurrence.Observation</value>
|
152
|
<value>eu.etaxonomy.cdm.model.occurrence.PreservationMethod</value>
|
153
|
<value>eu.etaxonomy.cdm.model.occurrence.Specimen</value>
|
154
|
<value>eu.etaxonomy.cdm.model.occurrence.SpecimenOrObservationBase</value>
|
155
|
<value>eu.etaxonomy.cdm.model.reference.Article</value>
|
156
|
<value>eu.etaxonomy.cdm.model.reference.BibtexEntryType</value>
|
157
|
<value>eu.etaxonomy.cdm.model.reference.BibtexReference</value>
|
158
|
<value>eu.etaxonomy.cdm.model.reference.Book</value>
|
159
|
<value>eu.etaxonomy.cdm.model.reference.BookSection</value>
|
160
|
<value>eu.etaxonomy.cdm.model.reference.CdDvd</value>
|
161
|
<value>eu.etaxonomy.cdm.model.reference.ConferenceProceedings</value>
|
162
|
<value>eu.etaxonomy.cdm.model.reference.Database</value>
|
163
|
<value>eu.etaxonomy.cdm.model.reference.Generic</value>
|
164
|
<value>eu.etaxonomy.cdm.model.reference.INomenclaturalReference</value>
|
165
|
<value>eu.etaxonomy.cdm.model.reference.InProceedings</value>
|
166
|
<value>eu.etaxonomy.cdm.model.reference.Journal</value>
|
167
|
<value>eu.etaxonomy.cdm.model.reference.Map</value>
|
168
|
<value>eu.etaxonomy.cdm.model.reference.Patent</value>
|
169
|
<value>eu.etaxonomy.cdm.model.reference.PersonalCommunication</value>
|
170
|
<value>eu.etaxonomy.cdm.model.reference.PrintedUnitBase</value>
|
171
|
<value>eu.etaxonomy.cdm.model.reference.PrintSeries</value>
|
172
|
<value>eu.etaxonomy.cdm.model.reference.Proceedings</value>
|
173
|
<value>eu.etaxonomy.cdm.model.reference.PublicationBase</value>
|
174
|
<value>eu.etaxonomy.cdm.model.reference.ReferenceBase</value>
|
175
|
<value>eu.etaxonomy.cdm.model.reference.Report</value>
|
176
|
<value>eu.etaxonomy.cdm.model.reference.SectionBase</value>
|
177
|
<value>eu.etaxonomy.cdm.model.reference.StrictReferenceBase</value>
|
178
|
<value>eu.etaxonomy.cdm.model.reference.Thesis</value>
|
179
|
<value>eu.etaxonomy.cdm.model.reference.WebPage</value>
|
180
|
<value>eu.etaxonomy.cdm.model.taxon.TaxonRelationshipType</value>
|
181
|
<value>eu.etaxonomy.cdm.model.taxon.Synonym</value>
|
182
|
<value>eu.etaxonomy.cdm.model.taxon.SynonymRelationship</value>
|
183
|
<value>eu.etaxonomy.cdm.model.taxon.SynonymRelationshipType</value>
|
184
|
<value>eu.etaxonomy.cdm.model.taxon.Taxon</value>
|
185
|
<value>eu.etaxonomy.cdm.model.taxon.TaxonBase</value>
|
186
|
<value>eu.etaxonomy.cdm.model.taxon.TaxonRelationship</value>
|
187
|
<value>eu.etaxonomy.cdm.model.view.View</value>
|
188
|
</list>
|
189
|
</property>
|
190
|
<property name="dataSource" ref="dataSource"/>
|
191
|
<property name="hibernateProperties" ref="hibernateProperties"/>
|
192
|
</bean>
|
193
|
|
194
|
|
195
|
</beans>
|