Skip to main content
summaryrefslogtreecommitdiffstats
blob: 61697113d85aae2ced9bb17b00e437d97e6e46a3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
<?xml version="1.0" encoding="UTF-8"?>
<!--
*******************************************************************************
 Copyright (c) 1998, 2010 Oracle. All rights reserved.
 This program and the accompanying materials are made available under the
 terms of the Eclipse Public License v1.0, which accompanies this distribution
 and is available at http://www.eclipse.org/legal/epl-v10.html.

 Contributors:
     Oracle - initial API and implementation from Oracle TopLink
     tware - update version number to 2.0
     pkrogh- update version number to 2.1
     agoerler - add Net weaver support
*****************************************************************************/  
-->
<!-- 

XML Schema definition for the Eclipse Persistence Services Project Session Configuration file. Instances
of this file are typically located as: 'META-INF/sessions.xml'

 -->

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    elementFormDefault="qualified" version="2.1">
    <xsd:element name="sessions">
        <xsd:annotation>
            <xsd:documentation>
                This is the root element and exists only for XML
                structure
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexType>
            <xsd:sequence>
                <xsd:element name="session" type="session" minOccurs="0"
                    maxOccurs="unbounded" />
            </xsd:sequence>
            <xsd:attribute name="version" type="xsd:string"
                use="required" />
        </xsd:complexType>
    </xsd:element>
    <xsd:complexType name="session">
        <xsd:annotation>
            <xsd:documentation>
                This is the node element that describes a particular session
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="name" type="xsd:string">
                <xsd:annotation>
                    <xsd:documentation>
                        Generic element used to describe a string that
                        represents the name of an item
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="server-platform" type="server-platform"
                minOccurs="0" />
            <xsd:choice minOccurs="0">
                <xsd:element name="remote-command">
                    <xsd:annotation>
                        <xsd:documentation>
                            This element is an optional element of
                            session element that define the Remote
                            Command Module that can also be used for
                            cache synchronization
                        </xsd:documentation>
                    </xsd:annotation>
                    <xsd:complexType>
                        <xsd:sequence>
                            <xsd:element name="channel"
                                type="xsd:string" default="EclipseLinkCommandChannel"
                                minOccurs="0">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        This element is an optional
                                        element of remote-command
                                        element."
                                    </xsd:documentation>
                                </xsd:annotation>
                            </xsd:element>
                            <xsd:element name="commands"
                                minOccurs="0">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        This element is an optional
                                        element of remote-command
                                        element. It determine what
                                        command features, the RCM
                                        supports
                                    </xsd:documentation>
                                </xsd:annotation>
                                <xsd:complexType>
                                    <xsd:sequence>
                                        <xsd:element name="cache-sync"
                                            type="xsd:boolean" default="false" minOccurs="0">
                                            <xsd:annotation>
                                                <xsd:documentation>
                                                    This element is an
                                                    optional element of
                                                    command element. It
                                                    turns on cache
                                                    synchronization to
                                                    allow sending and
                                                    receiving cache sync
                                                    commands
                                                </xsd:documentation>
                                            </xsd:annotation>
                                        </xsd:element>
                                    </xsd:sequence>
                                </xsd:complexType>
                            </xsd:element>
                            <xsd:element name="transport"
                                type="transport-manager" minOccurs="0">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        This element is an optional
                                        element of remote-command
                                        element. It defines the
                                        transport mechanism of the RCM.
                                        The default transport mechanism
                                        is RMI
                                    </xsd:documentation>
                                </xsd:annotation>
                            </xsd:element>
                        </xsd:sequence>
                    </xsd:complexType>
                </xsd:element>
            </xsd:choice>
            <xsd:element name="event-listener-classes" minOccurs="0">
                <xsd:complexType>
                    <xsd:group ref="event-listener-classes" />
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="profiler" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element represents if the profiler will be
                        used by the session
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:enumeration value="dms" />
                        <xsd:enumeration value="eclipselink" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
            <xsd:element name="exception-handler-class"
                type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This is the class that the session will use to
                        handle exceptions generated from within the
                        session
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="logging" type="log" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element used to specify the logging options
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="session-customizer-class"
                type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element specifies the session customizer
                        class to run on a loaded session.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="server-platform">
        <xsd:annotation>
            <xsd:documentation>
                This is the node element that describes which server
                platform to use, JTA settings and runtime services
                settings
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="enable-runtime-services"
                type="xsd:boolean" default="true" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element. This
                        specifies whether or not the JMX MBean for
                        providing runtime services is deployed.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="enable-jta" type="xsd:boolean"
                default="true" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element. This
                        specifies whether or not this session will
                        integrate with the JTA (i.e. whether the session
                        will be populated with a transaction controller
                        class. The choice of server-class will
                        automatically be chosen based on the transaction
                        controller
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="custom-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform">
                <xsd:sequence>
                    <xsd:element name="server-class" type="xsd:string"
                        default="org.eclipse.persistence.platform.server.CustomServerPlatform"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This is the subclass of
                                org.eclipse.persistence.platform.server.PlatformBase
                                to specify which server platform to use
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element
                        name="external-transaction-controller-class" type="xsd:string"
                        minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-903-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-904-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-1012-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-1013-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-1111-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform"/>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="weblogic-61-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="weblogic-70-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="weblogic-81-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="weblogic-9-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="weblogic-10-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-40-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-50-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-51-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-60-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-61-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="websphere-7-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="jboss-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="netweaver-71-platform">
        <xsd:complexContent>
            <xsd:extension base="server-platform" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="session-broker">
        <xsd:annotation>
            <xsd:documentation>
                Provides a single view to a session that
                transparently accesses multple databases.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="session">
                <xsd:sequence>
                    <xsd:element name="session-name" type="xsd:string"
                        maxOccurs="unbounded">
                        <xsd:annotation>
                            <xsd:documentation>
                                This is the element that represents the
                                session name
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:simpleType name="project">
        <xsd:restriction base="xsd:string" />
    </xsd:simpleType>
    <xsd:simpleType name="xml">
        <xsd:restriction base="project" />
    </xsd:simpleType>
    <xsd:simpleType name="class">
        <xsd:restriction base="project" />
    </xsd:simpleType>
    <xsd:complexType name="database-session">
        <xsd:annotation>
            <xsd:documentation>
                The session is the primary interface into EclipseLink, the
                application should do all of its reading and writing of
                objects through the session. The session also manages
                transactions and units of work. The database session is
                intended for usage in two-tier client-server
                applications. Although it could be used in a server
                situation, it is limitted to only having a single
                database connection and only allows a single open
                database transaction.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="session">
                <xsd:sequence>
                    <xsd:element name="primary-project" type="project"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This project (class or xml) will be
                                loaded as the primary project for the
                                session.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="additional-project"
                        type="project" minOccurs="0" maxOccurs="unbounded">
                        <xsd:annotation>
                            <xsd:documentation>
                                Additional projects will have their
                                descriptors appended to the primary
                                project.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="login" type="login"
                        minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="server-session">
        <xsd:annotation>
            <xsd:documentation>
                Is an extension of a DatabaseSession
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="database-session">
                <xsd:sequence>
                    <xsd:element name="connection-pools"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Connection pools are only for usage with
                                internal connection pooling and should
                                not be used if using external connection
                                pooling
                            </xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element name="read-connection-pool"
                                    type="read-connection-pool" minOccurs="0" />
                                <xsd:element
                                    name="write-connection-pool" type="connection-pool"
                                    minOccurs="0" />
                                <xsd:element
                                    name="sequence-connection-pool" type="connection-pool"
                                    minOccurs="0">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            Set this tag to use the
                                            sequence connection pool
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="connection-pool"
                                    type="connection-pool" minOccurs="0" maxOccurs="unbounded" />
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:element name="connection-policy"
                        type="connection-policy" minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="connection-policy">
        <xsd:annotation>
            <xsd:documentation>
                Used to specify how default client sessions are acquired
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="exclusive-connection" type="xsd:boolean"
                default="false" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Specifies if an exclusive connection should be
                        used for reads, required for VPD, or user based
                        read security.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="lazy" type="xsd:boolean" default="true"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Specifies if a connection should be acquired and
                        held upfront in the client session, or only
                        acquired when needed and then released.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="login">
        <xsd:annotation>
            <xsd:documentation>
                Defines common fields for database-login and eis-login
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="platform-class" type="xsd:string"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This is the element that represents the platform
                        class name
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="user-name" type="xsd:string"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is used in the login as well as the
                        Cache Synchronization feature
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="encryption-class" type="xsd:string"
                default="org.eclipse.persistence.internal.security.JCEEncryptor"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is used in the login as well as the
                        Cache Synchronization feature
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="password" type="xsd:string"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is used in the login as well as the
                        Cache Synchronization feature
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="table-qualifier" type="xsd:string"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set the default qualifier for all tables. This
                        can be the creator of the table or database name
                        the table exists on. This is required by some
                        databases such as Oracle and DB2.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="external-connection-pooling"
                type="xsd:boolean" default="false" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set to true if the connection should use an
                        external connection pool
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="external-transaction-controller"
                type="xsd:boolean" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set to true if the session will be using an
                        external transaction controller
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="sequencing" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Sequencing information.
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                    <xsd:sequence>
                        <xsd:element name="default-sequence"
                            type="sequence" minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Default sequence. The name is
                                    optional. If no name provided an
                                    empty string will be used as a name.
                                </xsd:documentation>
                            </xsd:annotation>
                        </xsd:element>
                        <xsd:element name="sequences" minOccurs="0">
                            <xsd:annotation>
                                <xsd:documentation>
                                    Non default sequences. Make sure
                                    each sequence has unique name.
                                </xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="sequence"
                                        type="sequence" minOccurs="0" maxOccurs="unbounded" />
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:sequence>
                </xsd:complexType>
            </xsd:element>
            <xsd:element name="property" minOccurs="0"
                maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element of a login.
                        It is used to define extra properties on the
                        login
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                    <xsd:attribute name="name" type="xsd:string"
                        use="required" />
                    <xsd:attribute name="value" type="xsd:string"
                        use="required" />
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="database-login">
        <xsd:annotation>
            <xsd:documentation>
                Holds the configuration information necessary to connect
                to a JDBC driver.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="login">
                <xsd:sequence>
                    <xsd:choice minOccurs="0">
                        <xsd:sequence>
                            <xsd:element name="driver-class"
                                type="xsd:string">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        The driver class is the Java
                                        class for the JDBC driver to be
                                        used (e.g.
                                        sun.jdbc.odbc.JdbcOdbcDriver.class)
                                    </xsd:documentation>
                                </xsd:annotation>
                            </xsd:element>
                            <xsd:element name="connection-url"
                                type="xsd:string">
                                <xsd:annotation>
                                    <xsd:documentation>
                                        This is the URL that will be
                                        used to connect to the database.
                                    </xsd:documentation>
                                </xsd:annotation>
                            </xsd:element>
                        </xsd:sequence>
                        <xsd:element name="datasource">
                            <xsd:annotation>
                                <xsd:documentation>
                                    This is the URL of a datasource that
                                    may be used by the session to
                                    connect to the database.
                                </xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                                <xsd:simpleContent>
                                    <xsd:extension base="xsd:string">
                                        <xsd:attribute name="lookup"
                                            type="lookup-enum" />
                                    </xsd:extension>
                                </xsd:simpleContent>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:choice>
                    <xsd:element name="bind-all-parameters"
                        type="xsd:boolean" default="true" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Set whether to bind all arguments to any
                                SQL statement.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="cache-all-statements"
                        type="xsd:boolean" default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Set whether prepared statements should
                                be cached.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="byte-array-binding"
                        type="xsd:boolean" default="true" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                EclipseLink can be configured to use
                                parameter binding for large binary data.
                                By default EclipseLink will print this data
                                as hex through the JDBC binary excape
                                clause. Both binding and printing have
                                various limits on all databases (e.g. 5k
                                - 32k).
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="string-binding"
                        type="xsd:boolean" default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Set to true if strings should be bound.
                                Used to help bean introspection.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="streams-for-binding"
                        type="xsd:boolean" default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                EclipseLink can be configured to use streams
                                to store large binary data. This can
                                improve the max size for reading/writing
                                on some JDBC drivers.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="force-field-names-to-upper-case"
                        type="xsd:boolean" default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This setting can be used if the
                                application expects upper case but the
                                database does not return consistent case
                                (e.g. different databases).
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="optimize-data-conversion"
                        type="xsd:boolean" default="true" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Set whether driver level data conversion
                                optimization is enabled. This can be
                                disabled as some drivers perform data
                                conversion themselves incorrectly.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="trim-strings" type="xsd:boolean"
                        default="true" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                By default CHAR field values have
                                trailing blanks trimmed, this can be
                                configured.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="batch-writing" type="xsd:boolean"
                        default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                EclipseLink can be configured to use batch
                                writing. This facility allows multiple
                                write operations to be submitted to a
                                database for processing at once.
                                Submitting multiple updates together,
                                instead of individually, can greatly
                                improve performance in some situations.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="jdbc-batch-writing"
                        type="xsd:boolean" default="true" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Setting this tag with true indicates to
                                EclipseLink that the JDBC driver supports
                                batch writing. EclipseLink's internal batch
                                writing is disabled. Setting this tag
                                with false indicates to EclipseLink that the
                                JDBC driver does not support batch
                                writing. This will revert to the default
                                behaviour which is to delegate to
                                EclipseLink's internal batch writing.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="max-batch-writing-size"
                        type="xsd:integer" default="32000" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Allow for the max batch writing size to
                                be set. This allows for the batch size
                                to be limited as most database have
                                strict limits. The size is in
                                characters, the default is 32000 but the
                                real value depends on the database
                                configuration.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="native-sql" type="xsd:boolean"
                        default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                EclipseLink can be configured to use
                                database specific sql grammar not JDBC
                                specific. This is because unfortunately
                                some bridges to not support the full
                                JDBC standard. By default EclipseLink uses
                                the JDBC sql grammar.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="struct-converters"
                        minOccurs="0">
                        <xsd:complexType>
                            <xsd:group ref="struct-converters" />
                        </xsd:complexType>
                    </xsd:element>
					<xsd:element name="connection-health-validated-on-error" type="xsd:boolean" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>If true will cause EclipseLink to ping database to determine if an SQLException was cause by a communication failure</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="query-retry-attempt-count" type="xsd:integer" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>Configure the number of attempts EclipseLink will make if EclipseLink is attempting to retry a query.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="delay-between-reconnect-attempts" type="xsd:integer" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>Configure the time in miliseconds that EclipseLink will wait between attempts to reconnect if EclipseLink is attempting to retry a query.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="ping-sql" type="xsd:string" minOccurs="0">
						<xsd:annotation>
							<xsd:documentation>Override the platform specific SQL that EclipseLink will issue to a connection to determine if the connection is still live.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:simpleType name="lookup-enum">
        <xsd:restriction base="xsd:string">
            <xsd:enumeration value="composite-name" />
            <xsd:enumeration value="compound-name" />
            <xsd:enumeration value="string" />
        </xsd:restriction>
    </xsd:simpleType>
    <xsd:complexType name="eis-login">
        <xsd:annotation>
            <xsd:documentation>
                Defines connection information and datasource
                properties. There are three ways to connect through EIS,
                - Provide a JNDI name to the ConnectionFactory and use
                the default getConnection - Provide a JNDI name to the
                ConnectionFactory, and a driver specific ConnectionSpec
                to pass to the getConnection - Connect in a non-managed
                way directly to the driver specific ConnectionFactory An
                EISConnectionSpec must be provided to define how to
                connect to the EIS adapter. The EIS platform can be used
                to provide datasource/driver specific behavoir such as
                InteractionSpec and Record conversion.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="login">
                <xsd:sequence>
                    <xsd:element name="connection-spec-class"
                        type="xsd:string" minOccurs="0" />
                    <xsd:element name="connection-factory-url"
                        type="xsd:string" minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="xml-login">
    	<xsd:annotation>
    		<xsd:documentation>
    			Defines login and platform type to be used
    		</xsd:documentation>
    	</xsd:annotation>
    	<xsd:complexContent>
    		<xsd:extension base="login">
    			<xsd:sequence>
    				<xsd:element name="equal-namespace-resolvers"
    					type="xsd:boolean" maxOccurs="1" minOccurs="0">
    				</xsd:element>
    				<xsd:element name="document-preservation-policy"
    					maxOccurs="1" minOccurs="0"
    					type="document-preservation-policy">

    				</xsd:element>
    			</xsd:sequence>
    		</xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="connection-pool">
        <xsd:annotation>
            <xsd:documentation>
                Used to specify how connections should be pooled in a
                server session.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="name" type="xsd:string" />
            <xsd:element name="max-connections" type="xsd:integer"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        The max number of connections that will be
                        created in the pool
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="min-connections" type="xsd:integer"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        The min number of connections that will aways be
                        in the pool
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="login" type="login" minOccurs="0" />
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="read-connection-pool">
        <xsd:annotation>
            <xsd:documentation>
                The read connection pool is used for read access through
                the server session. Any of the connection pools can be
                used for the read pool however this is the default. This
                pool allows for concurrent reads against the same JDBC
                connection and requires that the JDBC connection support
                concurrent read access.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="connection-pool">
                <xsd:sequence>
                    <xsd:element name="exclusive" type="xsd:boolean"
                        default="false" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This tag is used to specify if the
                                connections from the read connection
                                pool are exclusive or not
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="log">
        <xsd:annotation>
            <xsd:documentation>
                Defines the common logging options
            </xsd:documentation>
        </xsd:annotation>
    </xsd:complexType>
    <xsd:complexType name="java-log">
        <xsd:annotation>
            <xsd:documentation>
                Defines the options of the Java log
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="log">
                <xsd:sequence>
                    <xsd:element name="logging-options"
                        type="logging-options" minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="eclipselink-log">
        <xsd:annotation>
            <xsd:documentation>
                Defines the options of the EclipseLink log
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="log">
                <xsd:sequence>
                    <xsd:element name="log-level" default="info"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This element specifies the log level for logging
                            </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                <xsd:enumeration value="off" />
                                <xsd:enumeration value="severe" />
                                <xsd:enumeration value="warning" />
                                <xsd:enumeration value="info" />
                                <xsd:enumeration value="config" />
                                <xsd:enumeration value="fine" />
                                <xsd:enumeration value="finer" />
                                <xsd:enumeration value="finest" />
                                <xsd:enumeration value="all" />
                            </xsd:restriction>
                        </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="file-name" type="xsd:string"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Name of the file to write the logging to
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="logging-options"
                        type="logging-options" minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="server-log">
        <xsd:annotation>
            <xsd:documentation>
                Defines the options of the Server log
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="log" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="logging-options">
        <xsd:sequence>
            <xsd:element name="log-exception-stacktrace"
                type="xsd:boolean" default="false" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set whether to log exception stacktrace. Without
                        this element, the stacktrace is logged for FINER
                        or less (FINEST)
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="print-thread" type="xsd:boolean"
                default="false" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set whether to log thread. Without this element,
                        the thread is logged for FINE or less (FINER or
                        FINEST)
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="print-session" type="xsd:boolean"
                default="true" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set whether to log session. Without this
                        element, the session is always printed
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="print-connection" type="xsd:boolean"
                default="true" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set whether to log connection. Without this
                        element, the connection is always printed
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="print-date" type="xsd:boolean"
                default="true" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Set whether to log date. Without this element,
                        the date is always printed
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="transport-manager">
        <xsd:annotation>
            <xsd:documentation>
                This element defines the transport mechanism of the RCM.
                The default transport mechanism is RMI
            </xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="on-connection-error"
                default="DiscardConnection" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element of transport
                        element and has value of "DiscardConnection" or
                        "KeepConnection". It determines whether
                        connection to a RCM service should be dropped if
                        there is a communication error with that RCM
                        service. The default value for this element is
                        "DiscardConnection".
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:simpleType>
                    <xsd:restriction base="xsd:string">
                        <xsd:enumeration value="KeepConnection" />
                        <xsd:enumeration value="DiscardConnection" />
                    </xsd:restriction>
                </xsd:simpleType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="rmi-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element is an optional element of transport
                element. It defines the RMI transport mechanism. The
                default naming service is JNDI
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="transport-manager">
                <xsd:sequence>
                    <xsd:element name="send-mode" default="Asynchronous"
                        minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This element is an optional element of
                                rmi element and has value of
                                "Asynchronous" or "Synchronous". It
                                determines whether the RCM propagates
                                command and does not wait for command to
                                finish its execution in asynchronous
                                mode or wait for command to finish its
                                execution in synchronous mode. The
                                default value of this element is
                                "Asynchronous".
                            </xsd:documentation>
                        </xsd:annotation>
                        <xsd:simpleType>
                            <xsd:restriction base="xsd:string">
                                <xsd:enumeration value="Asynchronous" />
                                <xsd:enumeration value="Synchronous" />
                            </xsd:restriction>
                        </xsd:simpleType>
                    </xsd:element>
                    <xsd:element name="discovery" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                This element is an optional element of
                                rmi element. It determines whether the
                                Discovery settings should be changed.
                                Note that a default Discovery with its
                                default settings is created when the rmi
                                element is specified.
                            </xsd:documentation>
                        </xsd:annotation>
                        <xsd:complexType>
                            <xsd:sequence>
                                <xsd:element
                                    name="multicast-group-address" type="xsd:string"
                                    default="226.10.12.64" minOccurs="0" />
                                <xsd:element name="multicast-port"
                                    type="xsd:integer" default="3121" minOccurs="0" />
                                <xsd:element name="announcement-delay"
                                    type="xsd:integer" default="1000" minOccurs="0">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            This element is an optional
                                            element of discovery
                                            elemenent. It determines
                                            whether the multicast group
                                            address should be changed.
                                            The default value of this
                                            element is "1000"
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                                <xsd:element name="packet-time-to-live"
                                    type="xsd:integer" default="2" minOccurs="0">
                                    <xsd:annotation>
                                        <xsd:documentation>
                                            This element is an optional
                                            element of discovery
                                            elemenent. It determines
                                            whether the time-to-live of
                                            the packets that are sent
                                            from the Discovery's
                                            mulsticast socket should be
                                            changed. The default value
                                            of this element is "2"
                                        </xsd:documentation>
                                    </xsd:annotation>
                                </xsd:element>
                            </xsd:sequence>
                        </xsd:complexType>
                    </xsd:element>
                    <xsd:choice minOccurs="0">
                        <xsd:element name="jndi-naming-service"
                            type="jndi-naming-service" />
                        <xsd:element
                            name="rmi-registry-naming-service">
                            <xsd:annotation>
                                <xsd:documentation>
                                    This element is an optional element
                                    of rmi elemenent. It determines
                                    whether RMI registry should be used
                                    for naming service
                                </xsd:documentation>
                            </xsd:annotation>
                            <xsd:complexType>
                                <xsd:sequence>
                                    <xsd:element name="url"
                                        type="xsd:string" minOccurs="0" />
                                </xsd:sequence>
                            </xsd:complexType>
                        </xsd:element>
                    </xsd:choice>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="rmi-iiop-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element defines the RMI-IIOP transport mechanism of
                the RCM. The default naming service is JNDI
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="rmi-transport" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="jms-topic-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element defines the JMS topic transport mechanism
                of the RCM
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="transport-manager">
                <xsd:sequence>
                    <xsd:element name="topic-host-url" type="xsd:string"
                        minOccurs="0" />
                    <xsd:element name="topic-connection-factory-name"
                        type="xsd:string" default="jms/EclipseLinkTopicConnectionFactory"
                        minOccurs="0" />
                    <xsd:element name="topic-name" type="xsd:string"
                        default="jms/EclipseLinkTopic" minOccurs="0" />
                    <xsd:element name="jndi-naming-service"
                        type="jndi-naming-service" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="oc4j-jgroups-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element defines the OC4J JGroups transport
                mechanism of the RCM
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="transport-manager">
                <xsd:sequence>
                    <xsd:element name="use-single-threaded-notification"
                        type="xsd:boolean" default="false" minOccurs="0" />
                    <xsd:element name="topic-name" type="xsd:string"
                        minOccurs="0" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="sun-corba-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element defines the Sun CORBA transport mechanism
                of the RCM
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="transport-manager" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="user-defined-transport">
        <xsd:annotation>
            <xsd:documentation>
                This element is an optional element of transport
                element. It determines whether a user implemented
                transport mechanism that should be used.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="transport-manager">
                <xsd:sequence>
                    <xsd:element name="transport-class"
                        type="xsd:string" />
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="jndi-naming-service">
        <xsd:sequence>
            <xsd:element name="url" type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element of
                        jndi-naming-service. It determines whether the
                        URL for naming service should be changed. 
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="user-name" type="xsd:string"
                default="admin" minOccurs="0" />
            <xsd:element name="encryption-class" type="xsd:string"
                default="org.eclipse.persistence.internal.security.JCEEncryptor"
                minOccurs="0" />
            <xsd:element name="password" type="xsd:string"
                default="password" minOccurs="0" />
            <!--  TODO: Need to have a non WebLogic (previously OC4J) default or route through server platform by default -->
            <xsd:element name="initial-context-factory-name"
                type="xsd:string"
                default="weblogic.jndi.WLInitialContextFactory"
                minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element of
                        jndi-naming-service. It determines whether the
                        initial context factory class for naming service
                        should be changed. 
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="property" minOccurs="0"
                maxOccurs="unbounded">
                <xsd:annotation>
                    <xsd:documentation>
                        This element is an optional element of
                        jndi-naming-service. It determines whether
                        naming service requires extra property that is
                        not defined by EclipseLink but it is required by the
                        user application
                    </xsd:documentation>
                </xsd:annotation>
                <xsd:complexType>
                    <xsd:attribute name="name" type="xsd:string"
                        use="required" />
                    <xsd:attribute name="value" type="xsd:string"
                        use="required" />
                </xsd:complexType>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:group name="event-listener-classes">
        <xsd:sequence>
            <xsd:element name="event-listener-class" type="xsd:string"
                minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:group>
    <xsd:group name="struct-converters">
        <xsd:sequence>
            <xsd:element name="struct-converter" type="xsd:string"
                minOccurs="0" maxOccurs="unbounded" />
        </xsd:sequence>
    </xsd:group>
    <xsd:complexType name="sequence">
        <xsd:annotation>
            <xsd:documentation>Sequence object.</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
            <xsd:element name="name" type="xsd:string" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Sequence name.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
            <xsd:element name="preallocation-size" type="xsd:integer"
                default="50" minOccurs="0">
                <xsd:annotation>
                    <xsd:documentation>
                        Sequence preallocation size.
                    </xsd:documentation>
                </xsd:annotation>
            </xsd:element>
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="default-sequence">
        <xsd:annotation>
            <xsd:documentation>
                References default sequence object, overriding its name
                and (optionally) preallocation size.
            </xsd:documentation>
            <xsd:documentation>
                To use preallocation size of default sequence object,
                set preallocation size to 0
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="native-sequence">
        <xsd:annotation>
            <xsd:documentation>
                Database sequence mechanism used.
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="table-sequence">
        <xsd:annotation>
            <xsd:documentation>Table sequence</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence">
                <xsd:sequence>
                    <xsd:element name="table" type="xsd:string"
                        default="SEQUENCE" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="name-field" type="xsd:string"
                        default="SEQ_NAME" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence name
                                field in the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="counter-field" type="xsd:string"
                        default="SEQ_COUNT" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence counter
                                field in the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="unary-table-sequence">
        <xsd:annotation>
            <xsd:documentation>
                Unary table sequence - sequence name is a table name,
                table has a single field and a single row
            </xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence">
                <xsd:sequence>
                    <xsd:element name="counter-field" type="xsd:string"
                        default="SEQUENCE" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence counter
                                field in the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="xmlfile-sequence">
        <xsd:annotation>
            <xsd:documentation>Xmlfile sequence.</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence" />
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:complexType name="xml-sequence">
        <xsd:annotation>
            <xsd:documentation>Xml sequence</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
            <xsd:extension base="sequence">
                <xsd:sequence>
                    <xsd:element name="root-element" type="xsd:string"
                        default="SEQUENCE" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="name-element" type="xsd:string"
                        default="SEQ_NAME" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence name
                                field in the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                    <xsd:element name="counter-element"
                        type="xsd:string" default="SEQ_COUNT" minOccurs="0">
                        <xsd:annotation>
                            <xsd:documentation>
                                Define the name of the sequence counter
                                field in the sequence table.
                            </xsd:documentation>
                        </xsd:annotation>
                    </xsd:element>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>



    <xsd:complexType name="document-preservation-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		This element specifies which document preservation
        		strategy will be used.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:sequence>
    		<xsd:element name="node-ordering-policy"
    			type="node-ordering-policy" maxOccurs="1" minOccurs="0">
    		</xsd:element>
    	</xsd:sequence>
    </xsd:complexType>

    <xsd:complexType name="node-ordering-policy">
    	<xsd:annotation>
    		<xsd:documentation>
    			This element specifies which node ordering strategy will
    			be used.
    		</xsd:documentation>
    	</xsd:annotation></xsd:complexType>

    <xsd:complexType
    	name="descriptor-level-document-preservation-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		An implementation of DocumentPreservation Policy that
        		accesses the session cache to store Objects and their
        		associated nodes.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="document-preservation-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="no-document-preservation-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		A DocumentPreservationPolicy to indicate that no
        		document preservation work should be done.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="document-preservation-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="xml-binder-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		An implementation of DocumentPreservationPolicy that
        		maintains bidirectional relationships between Java
        		Objects and the XMLNodes they originated from.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="document-preservation-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="append-new-elements-ordering-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		An implementation of NodeOrderingPolicy that simply
        		appends the new child element to the parent.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="node-ordering-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="ignore-new-elements-ordering-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		An implementation of NodeOrderingPolicy that ignores any
        		new elements when updating a cached document.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="node-ordering-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>

    <xsd:complexType name="relative-position-ordering-policy">
        <xsd:annotation>
        	<xsd:documentation>
        		An implementation of NodeOrderingPolicy that adds new
        		elements to an XML Document based on the last updated
        		sibling in their context.
        	</xsd:documentation>
        </xsd:annotation>
        <xsd:complexContent>
    		<xsd:extension base="node-ordering-policy"></xsd:extension>
    	</xsd:complexContent>
    </xsd:complexType>
</xsd:schema>

Back to the top