1 package org.andromda.cartridges.hibernate.metafacades;
2
3
4
5
6
7
8
9 public class HibernateGlobals
10 {
11
12
13
14 static public final String HIBERNATE_MAPPING_STRATEGY = "hibernateMappingStrategy";
15
16
17
18
19 static public final String HIBERNATE_MAPPING_STRATEGY_SUBCLASS = "subclass";
20
21
22
23
24 static public final String HIBERNATE_MAPPING_STRATEGY_HIERARCHY = "hierarchy";
25
26
27
28
29 static public final String HIBERNATE_MAPPING_STRATEGY_CONCRETE = "concrete";
30
31
32
33
34 static public final String HIBERNATE_XML_PERSISTENCE = "hibernateXMLPersistence";
35
36
37
38
39
40 static final String HIBERNATE_XML_PERSISTENCE_ID_AS_ATTRIBUTE = "hibernateXMLPersistIDAsAttribute";
41
42
43
44
45 static public final String HIBERNATE_VERSION = "hibernateVersion";
46
47
48
49
50 public static final String HIBERNATE_VERSION_2 = "2";
51
52
53
54
55 public static final String HIBERNATE_VERSION_3 = "3";
56
57
58
59
60 public static final String HIBERNATE_VERSION_4 = "4";
61
62
63
64
65 static final String EJB_IMPLEMENTATION_SUFFIX = "Bean";
66
67
68
69
70 static final String HIBERNATE_CASCADE_DELETE = "delete";
71
72
73
74
75 static final String HIBERNATE_CASCADE_ALL_DELETE_ORPHAN = "all-delete-orphan";
76
77
78
79
80 static final String HIBERNATE_CASCADE_SAVE_UPDATE = "save-update";
81
82
83
84
85 static final String HIBERNATE_CASCADE_ALL = "all";
86
87
88
89
90 static final String HIBERNATE_CASCADE_NONE = "none";
91
92
93
94
95
96 static final String PROPERTY_IMPLEMENTATION_OPERATION_NAME_PREFIX = "implementationOperationNamePrefix";
97
98
99
100
101
102 static final String HIBERNATE_EHCACHE_MAX_ELEMENTS = "ehCacheMaxElementsInMemory";
103
104
105
106
107 static final String HIBERNATE_EHCACHE_ETERNAL = "ehCacheEternal";
108
109
110
111
112 static final String HIBERNATE_EHCACHE_TIME_TO_IDLE = "ehCacheTimeToIdleSeconds";
113
114
115
116
117 static final String HIBERNATE_EHCACHE_TIME_TO_LIVE = "ehCacheTimeToLiveSeconds";
118
119
120
121
122 static final String HIBERNATE_EHCACHE_OVERFLOW_TO_DISK = "ehCacheOverflowToDisk";
123
124
125
126
127 static final String HIBERNATE_ENTITYCACHE_DISTRIBUTED = "hibernateEnableDistributedCache";
128
129
130
131
132 static final String HIBERNATE_ENTITY_DYNAMIC_INSERT = "hibernateEntityDynamicInsert";
133
134
135
136
137 static final String HIBERNATE_ENTITY_DYNAMIC_UPDATE = "hibernateEntityDynamicUpdate";
138
139
140
141
142 static final String HIBERNATE_ASSOCIATION_COLLECTION_TYPE = "hibernateAssociationCollectionType";
143
144
145
146
147 static final String HIBERNATE_ASSOCIATION_SORT_TYPE = "hibernateAssociationSortType";
148
149
150
151
152
153 static final String ENTITY_NAME_PATTERN = "entityNamePattern";
154
155
156
157
158
159 static final String ENTITY_IMPLEMENTATION_NAME_PATTERN = "entityImplementationNamePattern";
160
161
162
163
164
165 static final String EMBEDDED_VALUE_IMPLEMENTATION_NAME_PATTERN = "embeddedValueImplementationNamePattern";
166
167
168
169
170
171 static final String HIBERNATE_VERSION_PROPERTY = "versionProperty";
172
173
174
175
176 static final String LIST_TYPE_IMPLEMENTATION = "listTypeImplementation";
177
178
179
180
181 static final String SET_TYPE_IMPLEMENTATION = "setTypeImplementation";
182
183
184
185
186 static final String MAP_TYPE_IMPLEMENTATION = "mapTypeImplementation";
187
188
189
190
191 static final String BAG_TYPE_IMPLEMENTATION = "bagTypeImplementation";
192
193
194
195
196
197
198
199 static final String SPECIFIC_COLLECTION_INTERFACES = "specificCollectionInterfaces";
200
201
202
203
204
205
206 static final String DEFAULT_COLLECTION_INTERFACE = "defaultCollectionInterface";
207
208
209
210
211 static final String ENTITY_DISCRIMINATOR_COLUMN = "defaultEntityDiscriminatorColumn";
212
213
214
215
216 static final String ENTITY_DISCRIMINATOR_TYPE = "defaultEntityDiscriminatorType";
217
218
219
220
221
222
223 static final String ENUM_TYPES_PACKAGE = "enumTypesPackage";
224 }