View Javadoc

1   /*
2    * Licensed to the Apache Software Foundation (ASF) under one or more
3    * contributor license agreements.  See the NOTICE file distributed with
4    * this work for additional information regarding copyright ownership.
5    * The ASF licenses this file to You under the Apache License, Version 2.0
6    * (the "License"); you may not use this file except in compliance with
7    * the License.  You may obtain a copy of the License at
8    *
9    *     http://www.apache.org/licenses/LICENSE-2.0
10   *
11   * Unless required by applicable law or agreed to in writing, software
12   * distributed under the License is distributed on an "AS IS" BASIS,
13   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14   * See the License for the specific language governing permissions and
15   * limitations under the License.
16   */
17  
18  package javax.jdo;
19  
20  /***
21   * Constant values used in JDO.
22   *
23   * @since 2.1
24   * @version 2.2
25   */
26  public interface Constants {
27  
28      /***
29       * The name of the standard service configuration resource text file containing
30       * the name of an implementation of {@link PersistenceManagerFactory}.
31       * Constant value is <code>META-INF/services/javax.jdo.PersistenceManagerFactory</code>.
32       *
33       * @since 2.1
34       */
35      static String SERVICE_LOOKUP_PMF_RESOURCE_NAME
36          = "META-INF/services/javax.jdo.PersistenceManagerFactory";
37  
38      /***
39       * The name of the standard JDO configuration resource file(s).
40       * Constant value is <code>META-INF/jdoconfig.xml</code>.
41       *
42       * @since 2.1
43       */
44      static String JDOCONFIG_RESOURCE_NAME
45          = "META-INF/jdoconfig.xml";
46  
47      /***
48       * The standard JDO configuration schema namespace.
49       * Constant value is <code>http://java.sun.com/xml/ns/jdo/jdoconfig</code>.
50       *
51       * @since 2.1
52       */
53      static String JDOCONFIG_XSD_NS
54          = "http://java.sun.com/xml/ns/jdo/jdoconfig";
55  
56      /***
57       * The standard JDO metadata schema namespace.
58       * Constant value is <code>http://java.sun.com/xml/ns/jdo/jdo</code>.
59       *
60       * @since 2.1
61       */
62      static String JDO_XSD_NS
63          = "http://java.sun.com/xml/ns/jdo/jdo";
64  
65      /***
66       * The standard JDO object-repository mapping schema namespace.
67       * Constant value is <code>http://java.sun.com/xml/ns/jdo/orm</code>.
68       *
69       * @since 2.1
70       */
71      static String ORM_XSD_NS
72          = "http://java.sun.com/xml/ns/jdo/orm";
73  
74      /***
75       * The standard JDO query schema namespace.
76       * Constant value is <code>http://java.sun.com/xml/ns/jdo/jdoquery</code>.
77       *
78       * @since 2.1
79       */
80      static String JDOQUERY_XSD_NS
81          = "http://java.sun.com/xml/ns/jdo/jdoquery";
82  
83      /***
84       * The name of the persistence manager factory element in the JDO
85       * configuration file.
86       * Constant value is <code>persistence-manager-factory</code>.
87       *
88       * @since 2.1
89       */
90      static String ELEMENT_PERSISTENCE_MANAGER_FACTORY
91          = "persistence-manager-factory";
92  
93      /***
94       * The name of the persistence manager factory element's "class" attribute.
95       *
96       * @since 2.1
97       */
98      static String PMF_ATTRIBUTE_CLASS
99          = "class";
100     /***
101      * The name of the persistence manager factory element's
102      * "name" attribute.
103      *
104      * @since 2.1
105      */
106     static String PMF_ATTRIBUTE_NAME
107         = "name";
108     /***
109      * The name of the persistence manager factory element's
110      * "persistence-unit-name" attribute.
111      *
112      * @since 2.1
113      */
114     static String PMF_ATTRIBUTE_PERSISTENCE_UNIT_NAME
115         = "persistence-unit-name";
116     /***
117      * The name of the persistence manager factory element's "optimistic"
118      * attribute.
119      *
120      * @since 2.1
121      */
122     static String PMF_ATTRIBUTE_OPTIMISTIC
123         = "optimistic";
124     /***
125      * The name of the persistence manager factory element's "readonly"
126      * attribute.
127      *
128      * @since 2.2
129      */
130     static String PMF_ATTRIBUTE_READONLY
131         = "readonly";
132     /***
133      * The name of the persistence manager factory element's "retain-values"
134      * attribute.
135      *
136      * @since 2.1
137      */
138     static String PMF_ATTRIBUTE_RETAIN_VALUES
139         = "retain-values";
140     /***
141      * The name of the persistence manager factory element's "restore-values"
142      * attribute.
143      *
144      * @since 2.1
145      */
146     static String PMF_ATTRIBUTE_RESTORE_VALUES
147         = "restore-values";
148     /***
149      * The name of the persistence manager factory element's "ignore-cache"
150      * attribute.
151      *
152      * @since 2.1
153      */
154     static String PMF_ATTRIBUTE_IGNORE_CACHE
155         = "ignore-cache";
156     /***
157      * The name of the persistence manager factory element's
158      * "nontransactional-read" attribute.
159      *
160      * @since 2.1
161      */
162     static String PMF_ATTRIBUTE_NONTRANSACTIONAL_READ
163         = "nontransactional-read";
164     /***
165      * The name of the persistence manager factory element's
166      * "nontransactional-write" attribute.
167      *
168      * @since 2.1
169      */
170     static String PMF_ATTRIBUTE_NONTRANSACTIONAL_WRITE
171         = "nontransactional-write";
172     /***
173      * The name of the persistence manager factory element's "multithreaded"
174      * attribute.
175      *
176      * @since 2.1
177      */
178     static String PMF_ATTRIBUTE_MULTITHREADED
179         = "multithreaded";
180     /***
181      * The name of the persistence manager factory element's
182      * "connection-driver-name" attribute.
183      *
184      * @since 2.1
185      */
186     static String PMF_ATTRIBUTE_CONNECTION_DRIVER_NAME
187         = "connection-driver-name";
188     /***
189      * The name of the persistence manager factory element's
190      * "connection-user-name" attribute.
191      *
192      * @since 2.1
193      */
194     static String PMF_ATTRIBUTE_CONNECTION_USER_NAME
195         = "connection-user-name";
196     /***
197      * The name of the persistence manager factory element's
198      * "connection-password" attribute.
199      *
200      * @since 2.1
201      */
202     static String PMF_ATTRIBUTE_CONNECTION_PASSWORD
203         = "connection-password";
204     /***
205      * The name of the persistence manager factory element's "connection-url"
206      * attribute.
207      *
208      * @since 2.1
209      */
210     static String PMF_ATTRIBUTE_CONNECTION_URL
211         = "connection-url";
212     /***
213      * The name of the persistence manager factory element's
214      * "connection-factory-name" attribute.
215      *
216      * @since 2.1
217      */
218     static String PMF_ATTRIBUTE_CONNECTION_FACTORY_NAME
219         = "connection-factory-name";
220     /***
221      * The name of the persistence manager factory element's
222      * "connection-factory2-name" attribute.
223      *
224      * @since 2.1
225      */
226     static String PMF_ATTRIBUTE_CONNECTION_FACTORY2_NAME
227         = "connection-factory2-name";
228     /***
229      * The name of the persistence manager factory element's
230      * "detach-all-on-commit" attribute.
231      *
232      * @since 2.1
233      */
234     static String PMF_ATTRIBUTE_DETACH_ALL_ON_COMMIT
235         = "detach-all-on-commit";
236     /***
237      * The name of the persistence manager factory element's
238      * "copy-on-attach" attribute.
239      *
240      * @since 2.1
241      */
242     static String PMF_ATTRIBUTE_COPY_ON_ATTACH
243         = "copy-on-attach";
244     /***
245      * The name of the persistence manager factory element's "mapping"
246      * attribute.
247      *
248      * @since 2.1
249      */
250     static String PMF_ATTRIBUTE_MAPPING
251         = "mapping";
252     /***
253      * The name of the persistence manager factory element's
254      * "server-time-zone-id" attribute.
255      *
256      * @since 2.1
257      */
258     static String PMF_ATTRIBUTE_SERVER_TIME_ZONE_ID
259         = "server-time-zone-id";
260 
261     /***
262      * The name of the persistence manager factory property elements in the JDO
263      * configuration file.
264      */
265     static String ELEMENT_PROPERTY
266         = "property";
267     /***
268      * The name of the persistence manager factory property element's "name"
269      * attribute.
270      */
271     static String PROPERTY_ATTRIBUTE_NAME
272         = "name";
273     /***
274      * The name of the persistence manager factory property element's "value"
275      * attribute.
276      */
277     static String PROPERTY_ATTRIBUTE_VALUE
278         = "value";
279 
280     /***
281      * The name of the instance lifecycle listener element in the JDO
282      * configuration file.
283      */
284     static String ELEMENT_INSTANCE_LIFECYCLE_LISTENER
285         = "instance-lifecycle-listener";
286 
287     /***
288      * The name of the instance lifecycle listener element's "listener"
289      * attribute.
290      */
291     static String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_LISTENER
292         = "listener";
293     /***
294      * The name of the instance lifecycle listener element's "classes"
295      * attribute.
296      */
297     static String INSTANCE_LIFECYCLE_LISTENER_ATTRIBUTE_CLASSES
298         = "classes";
299 
300     /***
301      * "javax.jdo.option.TransientTransactional"
302      *
303      * @see PersistenceManagerFactory#supportedOptions()
304      * @since 2.1
305      */
306     static String OPTION_TRANSACTIONAL_TRANSIENT
307         = "javax.jdo.option.TransientTransactional";
308     /***
309      * "javax.jdo.option.NontransactionalRead"
310      *
311      * @see PersistenceManagerFactory#supportedOptions()
312      * @since 2.1
313      */
314     static String OPTION_NONTRANSACTIONAL_READ
315         = "javax.jdo.option.NontransactionalRead";
316     /***
317      * "javax.jdo.option.NontransactionalWrite"
318      *
319      * @see PersistenceManagerFactory#supportedOptions()
320      * @since 2.1
321      */
322     static String OPTION_NONTRANSACTIONAL_WRITE
323         = "javax.jdo.option.NontransactionalWrite";
324     /***
325      * "javax.jdo.option.RetainValues"
326      *
327      * @see PersistenceManagerFactory#supportedOptions()
328      * @since 2.1
329      */
330     static String OPTION_RETAIN_VALUES
331         = "javax.jdo.option.RetainValues";
332     /***
333      * "javax.jdo.option.Optimistic"
334      *
335      * @see PersistenceManagerFactory#supportedOptions()
336      * @since 2.1
337      */
338     static String OPTION_OPTIMISTIC
339         = "javax.jdo.option.Optimistic";
340     /***
341      * "javax.jdo.option.ApplicationIdentity"
342      *
343      * @see PersistenceManagerFactory#supportedOptions()
344      * @since 2.1
345      */
346     static String OPTION_APPLICATION_IDENTITY
347         = "javax.jdo.option.ApplicationIdentity";
348     /***
349      * "javax.jdo.option.DatastoreIdentity"
350      *
351      * @see PersistenceManagerFactory#supportedOptions()
352      * @since 2.1
353      */
354     static String OPTION_DATASTORE_IDENTITY
355         = "javax.jdo.option.DatastoreIdentity";
356     /***
357      * "javax.jdo.option.NonDurableIdentity"
358      *
359      * @see PersistenceManagerFactory#supportedOptions()
360      * @since 2.1
361      */
362     static String OPTION_NONDURABLE_IDENTITY
363         = "javax.jdo.option.NonDurableIdentity";
364     /***
365      * "javax.jdo.option.ArrayList"
366      *
367      * @see PersistenceManagerFactory#supportedOptions()
368      * @since 2.1
369      */
370     static String OPTION_ARRAYLIST
371         = "javax.jdo.option.ArrayList";
372     /***
373      * "javax.jdo.option.LinkedList"
374      *
375      * @see PersistenceManagerFactory#supportedOptions()
376      * @since 2.1
377      */
378     static String OPTION_LINKEDLIST
379         = "javax.jdo.option.LinkedList";
380     /***
381      * "javax.jdo.option.TreeMap"
382      *
383      * @see PersistenceManagerFactory#supportedOptions()
384      * @since 2.1
385      */
386     static String OPTION_TREEMAP
387         = "javax.jdo.option.TreeMap";
388     /***
389      * "javax.jdo.option.TreeSet"
390      *
391      * @see PersistenceManagerFactory#supportedOptions()
392      * @since 2.1
393      */
394     static String OPTION_TREESET
395         = "javax.jdo.option.TreeSet";
396     /***
397      * "javax.jdo.option.Vector"
398      *
399      * @see PersistenceManagerFactory#supportedOptions()
400      * @since 2.1
401      */
402     static String OPTION_VECTOR
403         = "javax.jdo.option.Vector";
404     /***
405      * "javax.jdo.option.Array"
406      *
407      * @see PersistenceManagerFactory#supportedOptions()
408      * @since 2.1
409      */
410     static String OPTION_ARRAY
411         = "javax.jdo.option.Array";
412     /***
413      * "javax.jdo.option.NullCollection"
414      *
415      * @see PersistenceManagerFactory#supportedOptions()
416      * @since 2.1
417      */
418     static String OPTION_NULL_COLLECTION
419         = "javax.jdo.option.NullCollection";
420     /***
421      * "javax.jdo.option.ChangeApplicationIdentity"
422      *
423      * @see PersistenceManagerFactory#supportedOptions()
424      * @since 2.1
425      */
426     static String OPTION_CHANGE_APPLICATION_IDENTITY
427         = "javax.jdo.option.ChangeApplicationIdentity";
428     /***
429      * "javax.jdo.option.BinaryCompatibility"
430      *
431      * @see PersistenceManagerFactory#supportedOptions()
432      * @since 2.1
433      */
434     static String OPTION_BINARY_COMPATIBILITY
435         = "javax.jdo.option.BinaryCompatibility";
436     /***
437      * "javax.jdo.option.GetDataStoreConnection"
438      *
439      * @see PersistenceManagerFactory#supportedOptions()
440      * @since 2.1
441      */
442     static String OPTION_GET_DATASTORE_CONNECTION
443         = "javax.jdo.option.GetDataStoreConnection";
444     /***
445      * "javax.jdo.option.GetJDBCConnection"
446      *
447      * @see PersistenceManagerFactory#supportedOptions()
448      * @since 2.1
449      */
450     static String OPTION_GET_JDBC_CONNECTION
451         = "javax.jdo.option.GetJDBCConnection";
452     /***
453      * "javax.jdo.query.SQL"
454      *
455      * @see PersistenceManagerFactory#supportedOptions()
456      * @since 2.1
457      */
458     static String OPTION_QUERY_SQL
459         = "javax.jdo.query.SQL";
460     /***
461      * "javax.jdo.option.UnconstrainedQueryVariables"
462      *
463      * @see PersistenceManagerFactory#supportedOptions()
464      * @since 2.1
465      */
466     static String OPTION_UNCONSTRAINED_QUERY_VARIABLES
467         = "javax.jdo.option.UnconstrainedQueryVariables";
468     /***
469      * "javax.jdo.option.version.DateTime"
470      *
471      * @see PersistenceManagerFactory#supportedOptions()
472      * @since 2.1
473      */
474     static String OPTION_VERSION_DATETIME
475         = "javax.jdo.option.version.DateTime";
476     /***
477      * "javax.jdo.option.version.StateImage"
478      *
479      * @see PersistenceManagerFactory#supportedOptions()
480      * @since 2.1
481      */
482     static String OPTION_VERSION_STATE_IMAGE
483         = "javax.jdo.option.version.StateImage";
484     /***
485      * "javax.jdo.option.PreDirtyEvent"
486      *
487      * @see PersistenceManagerFactory#supportedOptions()
488      * @since 2.1
489      */
490     static String OPTION_PREDIRTY_EVENT
491         = "javax.jdo.option.PreDirtyEvent";
492     /***
493      * "javax.jdo.option.mapping.HeterogeneousObjectType"
494      *
495      * @see PersistenceManagerFactory#supportedOptions()
496      * @since 2.1
497      */
498     static String OPTION_MAPPING_HETEROGENEOUS_OBJECT_TYPE
499         = "javax.jdo.option.mapping.HeterogeneousObjectType";
500     /***
501      * "javax.jdo.option.mapping.HeterogeneousInterfaceType"
502      *
503      * @see PersistenceManagerFactory#supportedOptions()
504      * @since 2.1
505      */
506     static String OPTION_MAPPING_HETEROGENEOUS_INTERFACE_TYPE
507         = "javax.jdo.option.mapping.HeterogeneousInterfaceType";
508     /***
509      * "javax.jdo.option.mapping.JoinedTablePerClass"
510      *
511      * @see PersistenceManagerFactory#supportedOptions()
512      * @since 2.1
513      */
514     static String OPTION_MAPPING_JOINED_TABLE_PER_CLASS
515         = "javax.jdo.option.mapping.JoinedTablePerClass";
516     /***
517      * "javax.jdo.option.mapping.JoinedTablePerConcreteClass"
518      *
519      * @see PersistenceManagerFactory#supportedOptions()
520      * @since 2.1
521      */
522     static String OPTION_MAPPING_JOINED_TABLE_PER_CONCRETE_CLASS
523         = "javax.jdo.option.mapping.JoinedTablePerConcreteClass";
524     /***
525      * "javax.jdo.option.mapping.NonJoinedTablePerConcreteClass"
526      *
527      * @see PersistenceManagerFactory#supportedOptions()
528      * @since 2.1
529      */
530     static String OPTION_MAPPING_NON_JOINED_TABLE_PER_CONCRETE_CLASS
531         = "javax.jdo.option.mapping.NonJoinedTablePerConcreteClass";
532     /***
533      * "javax.jdo.option.mapping.RelationSubclassTable"
534      *
535      * @see PersistenceManagerFactory#supportedOptions()
536      * @since 2.1
537      */
538     static String OPTION_MAPPING_RELATION_SUBCLASS_TABLE
539         = "javax.jdo.option.mapping.RelationSubclassTable";
540 
541     /***
542      * "javax.jdo.PersistenceManagerFactoryClass"
543      *
544      * @see JDOHelper#getPersistenceManagerFactory(java.util.Map)
545      * @since 2.1
546      */
547     static String PROPERTY_PERSISTENCE_MANAGER_FACTORY_CLASS
548         = "javax.jdo.PersistenceManagerFactoryClass";
549 
550     /***
551      * "javax.jdo.option.Optimistic"
552      *
553      * @see PersistenceManagerFactory#getOptimistic()
554      * @since 2.1
555      */
556     static String PROPERTY_OPTIMISTIC
557         = "javax.jdo.option.Optimistic";
558     /***
559      * "javax.jdo.option.ReadOnly"
560      *
561      * @see PersistenceManagerFactory#getReadOnly()
562      * @since 2.2
563      */
564     static String PROPERTY_READONLY
565         = "javax.jdo.option.ReadOnly";
566     /***
567      * "javax.jdo.option.RetainValues"
568      *
569      * @see PersistenceManagerFactory#getRetainValues()
570      * @since 2.1
571      */
572     static String PROPERTY_RETAIN_VALUES
573         = "javax.jdo.option.RetainValues";
574     /***
575      * "javax.jdo.option.RestoreValues"
576      *
577      * @see PersistenceManagerFactory#getRestoreValues()
578      * @since 2.1
579      */
580     static String PROPERTY_RESTORE_VALUES
581         = "javax.jdo.option.RestoreValues";
582     /***
583      * "javax.jdo.option.IgnoreCache"
584      *
585      * @see PersistenceManagerFactory#getIgnoreCache()
586      * @since 2.1
587      */
588     static String PROPERTY_IGNORE_CACHE
589         = "javax.jdo.option.IgnoreCache";
590     /***
591      * "javax.jdo.option.NontransactionalRead"
592      *
593      * @see PersistenceManagerFactory#getNontransactionalRead()
594      * @since 2.1
595      */
596     static String PROPERTY_NONTRANSACTIONAL_READ
597         = "javax.jdo.option.NontransactionalRead";
598     /***
599      * "javax.jdo.option.NontransactionalWrite"
600      *
601      * @see PersistenceManagerFactory#getNontransactionalWrite()
602      * @since 2.1
603      */
604     static String PROPERTY_NONTRANSACTIONAL_WRITE
605         = "javax.jdo.option.NontransactionalWrite";
606     /***
607      * "javax.jdo.option.Multithreaded"
608      *
609      * @see PersistenceManagerFactory#getMultithreaded()
610      * @since 2.1
611      */
612     static String PROPERTY_MULTITHREADED
613         = "javax.jdo.option.Multithreaded";
614     /***
615      * "javax.jdo.option.TransactionIsolationLevel"
616      *
617      * @since 2.2
618      */
619     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL
620         = "javax.jdo.option.TransactionIsolationLevel";
621     /***
622      * "javax.jdo.option.TransactionIsolationLevel.read-uncommitted"
623      *
624      * @see PersistenceManagerFactory#supportedOptions()
625      * @since 2.2
626      */
627     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL_READ_UNCOMMITTED
628         = "javax.jdo.option.TransactionIsolationLevel.read-uncommitted";
629     /***
630      * "javax.jdo.option.TransactionIsolationLevel.read-committed"
631      *
632      * @see PersistenceManagerFactory#supportedOptions()
633      * @since 2.2
634      */
635     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL_READ_COMMITTED
636         = "javax.jdo.option.TransactionIsolationLevel.read-committed";
637     /***
638      * "javax.jdo.option.TransactionIsolationLevel.repeatable-read"
639      *
640      * @see PersistenceManagerFactory#supportedOptions()
641      * @since 2.2
642      */
643     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL_REPEATABLE_READ
644         = "javax.jdo.option.TransactionIsolationLevel.repeatable-read";
645     /***
646      * "javax.jdo.option.TransactionIsolationLevel.snapshot"
647      *
648      * @see PersistenceManagerFactory#supportedOptions()
649      * @since 2.2
650      */
651     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL_SNAPSHOT
652         = "javax.jdo.option.TransactionIsolationLevel.snapshot";
653     /***
654      * "javax.jdo.option.TransactionIsolationLevel.serializable"
655      *
656      * @see PersistenceManagerFactory#supportedOptions()
657      * @since 2.2
658      */
659     static String PROPERTY_TRANSACTION_ISOLATION_LEVEL_SERIALIZABLE
660         = "javax.jdo.option.TransactionIsolationLevel.serializable";
661     /***
662      * "javax.jdo.option.DetachAllOnCommit"
663      *
664      * @see PersistenceManagerFactory#getDetachAllOnCommit()
665      * @since 2.1
666      */
667     static String PROPERTY_DETACH_ALL_ON_COMMIT
668         = "javax.jdo.option.DetachAllOnCommit";
669     /***
670      * "javax.jdo.option.CopyOnAttach"
671      *
672      * @see PersistenceManagerFactory#getCopyOnAttach()
673      * @since 2.1
674      */
675     static String PROPERTY_COPY_ON_ATTACH
676         = "javax.jdo.option.CopyOnAttach";
677     /***
678      * "javax.jdo.option.ConnectionDriverName"
679      *
680      * @see PersistenceManagerFactory#getConnectionDriverName()
681      * @since 2.1
682      */
683     static String PROPERTY_CONNECTION_DRIVER_NAME
684         = "javax.jdo.option.ConnectionDriverName";
685     /***
686      * "javax.jdo.option.ConnectionUserName"
687      *
688      * @see PersistenceManagerFactory#getConnectionUserName()
689      * @since 2.1
690      */
691     static String PROPERTY_CONNECTION_USER_NAME
692         = "javax.jdo.option.ConnectionUserName";
693     /***
694      * "javax.jdo.option.Password"
695      *
696      * @since 2.1
697      */
698     static String PROPERTY_CONNECTION_PASSWORD
699         = "javax.jdo.option.ConnectionPassword";
700     /***
701      * "javax.jdo.option.ConnectionURL"
702      *
703      * @see PersistenceManagerFactory#getConnectionURL()
704      * @since 2.1
705      */
706     static String PROPERTY_CONNECTION_URL
707         = "javax.jdo.option.ConnectionURL";
708     /***
709      * "javax.jdo.option.ConnectionFactoryName"
710      *
711      * @see PersistenceManagerFactory#getConnectionFactoryName()
712      * @since 2.1
713      */
714     static String PROPERTY_CONNECTION_FACTORY_NAME
715         = "javax.jdo.option.ConnectionFactoryName";
716     /***
717      * "javax.jdo.option.ConnectionFactory2Name"
718      *
719      * @see PersistenceManagerFactory#getConnectionFactory2Name()
720      * @since 2.1
721      */
722     static String PROPERTY_CONNECTION_FACTORY2_NAME
723         = "javax.jdo.option.ConnectionFactory2Name";
724     /***
725      * "javax.jdo.option.Mapping"
726      *
727      * @see PersistenceManagerFactory#getMapping()
728      * @since 2.1
729      */
730     static String PROPERTY_MAPPING
731         = "javax.jdo.option.Mapping";
732     /***
733      * "javax.jdo.option.PersistenceUnitName"
734      *
735      * @see PersistenceManagerFactory#getPersistenceUnitName()
736      * @since 2.1
737      */
738     static String PROPERTY_PERSISTENCE_UNIT_NAME
739         = "javax.jdo.option.PersistenceUnitName";
740     /***
741      * "javax.jdo.option.Name"
742      *
743      * @see PersistenceManagerFactory#getName()
744      * @since 2.1
745      */
746     static String PROPERTY_NAME
747         = "javax.jdo.option.Name";
748 
749     /***
750      * "javax.jdo.option.spi.ResourceName"
751      * @since 2.1
752      */
753     static String PROPERTY_SPI_RESOURCE_NAME
754         = "javax.jdo.option.spi.ResourceName";
755 
756     /***
757      * "javax.jdo.listener.InstanceLifecycleListener"
758      *
759      * @see PersistenceManagerFactory#addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[])
760      * @see PersistenceManagerFactory#removeInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener)
761      */
762     static String PROPERTY_INSTANCE_LIFECYCLE_LISTENER
763         = "javax.jdo.listener.InstanceLifecycleListener";
764 
765     /***
766      * Prefix used to configure
767      * {@link javax.jdo.listener.InstanceLifecycleListener} instances
768      * externally.
769      * To configure an <code>InstanceLifecycleListener</code> via properties,
770      * create a property name with the prefix of
771      * this constant and append the fully qualified listener class name, then
772      * set its value to the comma- or whitespace-delimited list
773      * of persistence-capable classes whose instances are to be observed.
774      * Use no value to indicate that instances of
775      * all persistence-capable classes are to be observed.<br>
776      * For example,<br>
777      * <code>javax.jdo.option.InstanceLifecycleListener.com.example.MyListener=com.example.Foo,com.example.Bar</code><br>
778      * is equivalent to calling<br>
779      * <code>pmf.addInstanceLifecycleListener(new com.example.MyListener(), new Class[] {com.example.Foo.class, com.example.Bar.class});</code><br>
780      * where <code>pmf</code> is an instance of type
781      * <code>PersistenceManagerFactory</code>.
782      *
783      * @see javax.jdo.PersistenceManagerFactory#addInstanceLifecycleListener(javax.jdo.listener.InstanceLifecycleListener,Class[])
784      * @since 2.1
785      */
786     static String PROPERTY_PREFIX_INSTANCE_LIFECYCLE_LISTENER
787         = PROPERTY_INSTANCE_LIFECYCLE_LISTENER + ".";
788 
789     /***
790      * Mapping "javax.jdo.mapping.Catalog"
791      *
792      * @since 2.1
793      */
794     static String PROPERTY_MAPPING_CATALOG
795         = "javax.jdo.mapping.Catalog";
796     /***
797      * Mapping "javax.jdo.mapping.Schema"
798      *
799      * @since 2.1
800      */
801     static String PROPERTY_MAPPING_SCHEMA
802         = "javax.jdo.mapping.Schema";
803 
804     /***
805      * Mapping "javax.jdo.option.ServerTimeZoneID"
806      *
807      * @since 2.1
808      */
809     static String PROPERTY_SERVER_TIME_ZONE_ID
810         = "javax.jdo.option.ServerTimeZoneID";
811 
812     /***
813      * Nonconfigurable property constanct "VendorName"
814      *
815      * @see PersistenceManagerFactory#getProperties()
816      * @since 2.1
817      */
818     static String NONCONFIGURABLE_PROPERTY_VENDOR_NAME
819         = "VendorName";
820     /***
821      * Nonconfigurable property constanct "VersionNumber"
822      *
823      * @see PersistenceManagerFactory#getProperties()
824      * @since 2.1
825      */
826     static String NONCONFIGURABLE_PROPERTY_VERSION_NUMBER
827         = "VersionNumber";
828 
829     /***
830      * The value for TransactionType to specify that transactions
831      * are managed by the Java Transactions API, as documented in
832      * JSR-220.
833      *
834      * @since 2.1
835      */
836     static String JTA
837         = "JTA";
838 
839     /***
840      * The value for TransactionType to specify that transactions
841      * are managed by the javax.jdo.Transaction instance, similar
842      * to the usage as documented in JSR-220.
843      *
844      * @since 2.1
845      */
846     static String RESOURCE_LOCAL
847         = "RESOURCE_LOCAL";
848 
849     /***
850      * The name of the resource for the DTD of the standard JDO configuration
851      * file.
852      *
853      * @since 2.1
854      */
855     static String JDOCONFIG_DTD_RESOURCE
856         = "javax/jdo/jdoconfig_2_2.dtd";
857 
858     /***
859      * The name of the resource for the XML schema of the standard JDO
860      * configuration file.
861      *
862      * @since 2.1
863      */
864     static String JDOCONFIG_XSD_RESOURCE
865         = "javax/jdo/jdoconfig_2_2.xsd";
866 
867     /***
868      * The name of the resource for the DTD of the standard JDO metadata file.
869      *
870      * @since 2.1
871      */
872     static String JDO_DTD_RESOURCE
873         = "javax/jdo/jdo_2_2.dtd";
874 
875     /***
876      * The name of the resource for the XML schema of the standard JDO
877      * metadata file.
878      *
879      * @since 2.1
880      */
881     static String JDO_XSD_RESOURCE
882         = "javax/jdo/jdo_2_2.xsd";
883 
884     /***
885      * The name of the resource for the DTD of the standard JDO
886      * object-relational mapping metadata file.
887      *
888      * @since 2.1
889      */
890     static String ORM_DTD_RESOURCE
891         = "javax/jdo/orm_2_2.dtd";
892 
893     /***
894      * The name of the resource for the XML schema of the standard JDO
895      * object-relational mapping metadata file.
896      *
897      * @since 2.1
898      */
899     static String ORM_XSD_RESOURCE
900         = "javax/jdo/orm_2_2.xsd";
901 
902     /***
903      * The name of the resource for the DTD of the standard JDO query
904      * metadata file.
905      *
906      * @since 2.1
907      */
908     static String JDOQUERY_DTD_RESOURCE
909         = "javax/jdo/jdoquery_2_2.dtd";
910 
911     /***
912      * The name of the resource for the XML schema of the standard JDO query
913      * metadata file.
914      *
915      * @since 2.1
916      */
917     static String JDOQUERY_XSD_RESOURCE
918         = "javax/jdo/jdoquery_2_2.xsd";
919 
920     /***
921      * The name of the anonymous PersistenceManagerFactory, which
922      * is the empty string.
923      *
924      * @since 2.1
925      */
926     static String ANONYMOUS_PERSISTENCE_MANAGER_FACTORY_NAME
927         = "";
928 
929     /***
930      * Transaction isolation level representing the ability to read
931      * uncommitted data.
932      * @see PersistenceManagerFactory#getTransactionIsolationLevel()
933      * @see Transaction#getIsolationLevel()
934      * @since 2.2
935      */
936     public static final String TX_READ_UNCOMMITTED = "read-uncommitted"; 
937 
938     /***
939      * Transaction isolation level representing the requirement to read
940      * committed data only.
941      * @see PersistenceManagerFactory#getTransactionIsolationLevel()
942      * @see Transaction#getIsolationLevel()
943      * @since 2.2
944      */
945     public static final String TX_READ_COMMITTED = "read-committed"; 
946 
947     /***
948      * Transaction isolation level representing the requirement to read
949      * the same data in the same transaction.
950      * @see PersistenceManagerFactory#getTransactionIsolationLevel()
951      * @see Transaction#getIsolationLevel()
952      * @since 2.2
953      */
954     public static final String TX_REPEATABLE_READ = "repeatable-read"; 
955 
956     /***
957      * Transaction isolation level representing the requirement to keep
958      * a snapshot for reading data.
959      * @see PersistenceManagerFactory#getTransactionIsolationLevel()
960      * @see Transaction#getIsolationLevel()
961      * @since 2.2
962      */
963     public static final String TX_SNAPSHOT = "snapshot"; 
964 
965     /***
966      * Transaction isolation level representing the requirement to serialize
967      * transactions.
968      * @see PersistenceManagerFactory#getTransactionIsolationLevel()
969      * @see Transaction#getIsolationLevel()
970      * @since 2.2
971      */
972     public static final String TX_SERIALIZABLE = "serializable"; 
973 
974 }