Skip to content

Commit 8467cdc

Browse files
committed
ADD spring-configuration-metadata
1 parent 442e3ff commit 8467cdc

1 file changed

Lines changed: 338 additions & 0 deletions

File tree

Lines changed: 338 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,338 @@
1+
{
2+
"hints": [
3+
{
4+
"name": "ebean.persistenceContextScope",
5+
"values": [
6+
{
7+
"value": "TRANSACTION",
8+
"description": "PersistenceContext is scoped to the transaction."
9+
},
10+
{
11+
"value": "QUERY",
12+
"description": "PersistenceContext is scoped to the query."
13+
}
14+
]
15+
},
16+
{
17+
"name": "ebean.tenant.mode",
18+
"values": [
19+
{
20+
"value": "NONE",
21+
"description": "No multi-tenancy."
22+
},
23+
{
24+
"value": "DB",
25+
"description": "Each Tenant has their own Database (javax.sql.DataSource)."
26+
},
27+
{
28+
"value": "SCHEMA",
29+
"description": "Each Tenant has their own Database schema."
30+
},
31+
{
32+
"value": "CATALOG",
33+
"description": "Each Tenant has their own Database but with in connection pool."
34+
},
35+
{
36+
"value": "PARTITION",
37+
"description": "Tenants share tables but have a discriminator/partition column that partitions the data."
38+
}
39+
]
40+
},
41+
{
42+
"name": "ebean.jsonDateTime",
43+
"values": [
44+
{
45+
"values": "MILLIS",
46+
"description": "Format as epoch millis."
47+
},
48+
{
49+
"values": "NANOS",
50+
"description": "Format as epoch with nanos."
51+
},
52+
{
53+
"values": "ISO8601",
54+
"description": "Format as ISO-8601 date format."
55+
}
56+
]
57+
},
58+
{
59+
"name": "ebean.jodaLocalTimeMode",
60+
"values": [
61+
{
62+
"values": "normal"
63+
},
64+
{
65+
"values": "utc"
66+
}
67+
]
68+
},
69+
{
70+
"name": "ebean.uuidVersion",
71+
"values": [
72+
{
73+
"values": "VERSION4"
74+
},
75+
{
76+
"values": "VERSION1"
77+
},
78+
{
79+
"values": "VERSION1RND"
80+
}
81+
]
82+
},
83+
{
84+
"name": "ebean.persistBatchOnCascade",
85+
"values": [
86+
{
87+
"values": "NONE",
88+
"description": "Do not use JDBC Batch mode."
89+
},
90+
{
91+
"values": "INSERT",
92+
"description": "se JDBC Batch mode on Inserts."
93+
},
94+
{
95+
"values": "ALL",
96+
"description": "Use JDBC Batch mode on Inserts, Updates and Deletes."
97+
},
98+
{
99+
"values": "INHERIT",
100+
"description": "It should only used on the Transactional annotation to indicate that the value should inherit from the ServerConfig setting."
101+
}
102+
]
103+
},
104+
{
105+
"name": "ebean.persistBatch",
106+
"values": [
107+
{
108+
"values": "NONE",
109+
"description": "Do not use JDBC Batch mode."
110+
},
111+
{
112+
"values": "INSERT",
113+
"description": "se JDBC Batch mode on Inserts."
114+
},
115+
{
116+
"values": "ALL",
117+
"description": "Use JDBC Batch mode on Inserts, Updates and Deletes."
118+
},
119+
{
120+
"values": "INHERIT",
121+
"description": "It should only used on the Transactional annotation to indicate that the value should inherit from the ServerConfig setting."
122+
}
123+
]
124+
}
125+
],
126+
"properties": [
127+
{
128+
"name": "spring.data.ebean.repositories.enabled",
129+
"type": "java.lang.Boolean",
130+
"description": "Whether to enable ebean repositories.",
131+
"defaultValue": true
132+
},
133+
{
134+
"name": "ebean.packages",
135+
"type": "java.lang.String",
136+
"description": "The packages that are searched for interesting classes. Only used when classes is empty/not explicitly specified.",
137+
"defaultValue": ""
138+
},
139+
{
140+
"name": "ebean.mappingLocations",
141+
"type": "java.lang.String",
142+
"description": "The locations that are searched for xml mapping files.",
143+
"defaultValue": ""
144+
},
145+
{
146+
"name": "ebean.currentUserProvider",
147+
"type": "java.lang.String",
148+
"description": "This is used to populate @WhoCreated, @WhoModified and support other audit features (who executed a query etc).",
149+
"defaultValue": ""
150+
},
151+
{
152+
"name": "ebean.ddl.generate",
153+
"type": "java.lang.Boolean",
154+
"description": "Whether to generate the \"create all\" DDL on startup.",
155+
"defaultValue": false
156+
},
157+
{
158+
"name": "ebean.ddl.run",
159+
"type": "java.lang.Boolean",
160+
"description": "Whether to run ddl.",
161+
"defaultValue": false
162+
},
163+
{
164+
"name": "ebean.ddl.createOnly",
165+
"type": "java.lang.Boolean",
166+
"description": "Set true if the \"drop all ddl\" should be skipped.",
167+
"defaultValue": false
168+
},
169+
{
170+
"name": "ebean.ddl.initSql",
171+
"type": "java.lang.String",
172+
"description": "The SQL script to execute before the \"create all\" DDL has been run.",
173+
"defaultValue": ""
174+
},
175+
{
176+
"name": "ebean.ddl.seedSql",
177+
"type": "java.lang.String",
178+
"description": "The SQL script to execute after the \"create all\" DDL has been run.",
179+
"defaultValue": ""
180+
},
181+
{
182+
"name": "ebean.skipCacheAfterWrite",
183+
"type": "java.lang.Boolean",
184+
"description": "When true L2 bean cache use is skipped after a write has occurred on a transaction.",
185+
"defaultValue": true
186+
},
187+
{
188+
"name": "ebean.updateAllPropertiesInBatch",
189+
"type": "java.lang.Boolean",
190+
"description": "Set true if updates in JDBC batch default to include all properties by default.",
191+
"defaultValue": true
192+
},
193+
{
194+
"name": "ebean.updateChangesOnly",
195+
"type": "java.lang.Boolean",
196+
"description": "The behaviour of update to include on the change properties.",
197+
"defaultValue": true
198+
},
199+
{
200+
"name": "ebean.defaultDeleteMissingChildren",
201+
"type": "java.lang.Boolean",
202+
"description": "Default behaviour for updates when cascade save on a O2M or M2M to delete any missing children.",
203+
"defaultValue": true
204+
},
205+
{
206+
"name": "ebean.updatesDeleteMissingChildren",
207+
"type": "java.lang.Boolean",
208+
"description": "The behaviour for updates when cascade save on a O2M or M2M to delete any missing children.",
209+
"defaultValue": true
210+
},
211+
{
212+
"name": "ebean.persistBatch",
213+
"type": "java.lang.String",
214+
"description": "Use for transaction scoped batch mode..",
215+
"defaultValue": "NONE"
216+
},
217+
{
218+
"name": "ebean.persistBatchOnCascade",
219+
"type": "java.lang.String",
220+
"description": "Use for cascade persist JDBC batch mode.",
221+
"defaultValue": "INHERIT"
222+
},
223+
{
224+
"name": "ebean.persistBatchSize",
225+
"type": "java.lang.Number",
226+
"description": "The batch size used for JDBC batching.",
227+
"defaultValue": 20
228+
},
229+
{
230+
"name": "ebean.persistenceContextScope",
231+
"type": "java.lang.String",
232+
"description": "The scope for PersistenceContext.",
233+
"defaultValue": "TRANSACTION"
234+
},
235+
{
236+
"name": "ebean.expressionNativeIlike",
237+
"type": "java.lang.Boolean",
238+
"description": "Set to true to use native ILIKE expression (if support by database platform / like Postgres).",
239+
"defaultValue": false
240+
},
241+
{
242+
"name": "ebean.expressionEqualsWithNullAsNoop",
243+
"type": "java.lang.Boolean",
244+
"description": "Set to true if you want eq(\"someProperty\", null) to generate 1=1 rather than \"is null\" sql expression.",
245+
"defaultValue": false
246+
},
247+
{
248+
"name": "ebean.uuidVersion",
249+
"type": "java.lang.String",
250+
"description": "The UUID version to use.",
251+
"defaultValue": "VERSION4"
252+
},
253+
{
254+
"name": "ebean.uuidStateFile",
255+
"type": "java.lang.String",
256+
"description": "The UUID state file (for Version 1 UUIDs).",
257+
"defaultValue": "ebean-uuid.state"
258+
},
259+
{
260+
"name": "ebean.localTimeWithNanos",
261+
"type": "java.lang.Boolean",
262+
"description": "Set true if LocalTime should be persisted with nanos precision.",
263+
"defaultValue": false
264+
},
265+
{
266+
"name": "ebean.jodaLocalTimeMode",
267+
"type": "java.lang.String",
268+
"description": "The mode to use for Joda LocalTime support 'normal' or 'utc'.",
269+
"defaultValue": ""
270+
},
271+
{
272+
"name": "ebean.lazyLoadBatchSize",
273+
"type": "java.lang.Number",
274+
"description": "The default batch size for lazy loading.",
275+
"defaultValue": 10
276+
},
277+
{
278+
"name": "ebean.queryBatchSize",
279+
"type": "java.lang.Number",
280+
"description": "The default batch size for 'query joins'.",
281+
"defaultValue": 100
282+
},
283+
{
284+
"name": "ebean.jsonInclude",
285+
"type": "java.lang.String",
286+
"description": "The JSON include mode used when writing JSON.",
287+
"defaultValue": "ALL"
288+
},
289+
{
290+
"name": "ebean.jsonDateTime",
291+
"type": "java.lang.String",
292+
"description": "The format used for DateTime types.",
293+
"defaultValue": "MILLIS"
294+
},
295+
{
296+
"name": "ebean.migration.run",
297+
"type": "java.lang.Boolean",
298+
"description": "Whether to run migration..",
299+
"defaultValue": false
300+
},
301+
{
302+
"name": "ebean.migration.migrationPath",
303+
"type": "java.lang.String",
304+
"description": "Resource path for the migration xml and sql.",
305+
"defaultValue": "dbmigration"
306+
},
307+
{
308+
"name": "ebean.tenant.mode",
309+
"type": "java.lang.String",
310+
"description": "The mode to use for multi-tenancy.",
311+
"defaultValue": "NONE"
312+
},
313+
{
314+
"name": "ebean.tenant.currentTenantProvider",
315+
"type": "java.lang.String",
316+
"description": "The current tenant provider.",
317+
"defaultValue": ""
318+
},
319+
{
320+
"name": "ebean.tenant.catalogProvider",
321+
"type": "java.lang.String",
322+
"description": "The tenancy catalog provider.",
323+
"defaultValue": ""
324+
},
325+
{
326+
"name": "ebean.tenant.schemaProvider",
327+
"type": "java.lang.String",
328+
"description": "The tenancy schema provider.",
329+
"defaultValue": ""
330+
},
331+
{
332+
"name": "ebean.tenant.partitionColumn",
333+
"type": "java.lang.String",
334+
"description": "The column name used for TenantMode.PARTITION.",
335+
"defaultValue": "tenant_id"
336+
}
337+
]
338+
}

0 commit comments

Comments
 (0)