| 1 | <!-- OJB INTERNAL MAPPINGS START HERE, DO NOT EDIT --> |
|---|
| 2 | <!-- |
|---|
| 3 | #/* Copyright 2002-2004 The Apache Software Foundation |
|---|
| 4 | * |
|---|
| 5 | * Licensed under the Apache License, Version 2.0 (the "License"); |
|---|
| 6 | * you may not use this file except in compliance with the License. |
|---|
| 7 | * 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 | <!-- The OJB HIGH/LOW SequenceManagerTable --> |
|---|
| 19 | <class-descriptor |
|---|
| 20 | class="org.apache.ojb.broker.util.sequence.HighLowSequence" |
|---|
| 21 | table="OJB_HL_SEQ" |
|---|
| 22 | > |
|---|
| 23 | |
|---|
| 24 | <object-cache class="org.apache.ojb.broker.cache.ObjectCacheEmptyImpl"> |
|---|
| 25 | </object-cache> |
|---|
| 26 | |
|---|
| 27 | <!-- TODO: Rename column TABLENAME to NAME or SEQ_NAME --> |
|---|
| 28 | <field-descriptor |
|---|
| 29 | name="name" |
|---|
| 30 | column="TABLENAME" |
|---|
| 31 | jdbc-type="VARCHAR" |
|---|
| 32 | primarykey="true" |
|---|
| 33 | /> |
|---|
| 34 | <field-descriptor |
|---|
| 35 | name="maxKey" |
|---|
| 36 | column="MAX_KEY" |
|---|
| 37 | jdbc-type="BIGINT" |
|---|
| 38 | /> |
|---|
| 39 | <field-descriptor |
|---|
| 40 | name="grabSize" |
|---|
| 41 | column="GRAB_SIZE" |
|---|
| 42 | jdbc-type="INTEGER" |
|---|
| 43 | /> |
|---|
| 44 | <field-descriptor |
|---|
| 45 | name="version" |
|---|
| 46 | column="VERSION" |
|---|
| 47 | jdbc-type="INTEGER" |
|---|
| 48 | locking="true" |
|---|
| 49 | /> |
|---|
| 50 | </class-descriptor> |
|---|
| 51 | |
|---|
| 52 | |
|---|
| 53 | <!-- THIS IS THE OJB NAMED ROOTS TABLE, DO NOT EDIT--> |
|---|
| 54 | <class-descriptor |
|---|
| 55 | class="org.apache.ojb.odmg.NamedRootsMap$NamedEntry" |
|---|
| 56 | table="OJB_NRM" |
|---|
| 57 | > |
|---|
| 58 | <field-descriptor |
|---|
| 59 | name="name" |
|---|
| 60 | column="NAME" |
|---|
| 61 | jdbc-type="VARCHAR" |
|---|
| 62 | primarykey="true" |
|---|
| 63 | /> |
|---|
| 64 | <field-descriptor |
|---|
| 65 | name="oid" |
|---|
| 66 | column="OID_" |
|---|
| 67 | jdbc-type="LONGVARBINARY" |
|---|
| 68 | /> |
|---|
| 69 | </class-descriptor> |
|---|
| 70 | |
|---|
| 71 | <!-- THIS IS THE OJB DLIST IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 72 | <class-descriptor |
|---|
| 73 | class="org.apache.ojb.odmg.collections.DListImpl" |
|---|
| 74 | table="OJB_DLIST" |
|---|
| 75 | > |
|---|
| 76 | <field-descriptor |
|---|
| 77 | name="id" |
|---|
| 78 | column="ID" |
|---|
| 79 | jdbc-type="INTEGER" |
|---|
| 80 | primarykey="true" |
|---|
| 81 | autoincrement="true" |
|---|
| 82 | /> |
|---|
| 83 | |
|---|
| 84 | <collection-descriptor |
|---|
| 85 | name="elements" |
|---|
| 86 | element-class-ref="org.apache.ojb.odmg.collections.DListEntry" |
|---|
| 87 | auto-retrieve = "true" |
|---|
| 88 | auto-update="none" |
|---|
| 89 | auto-delete="none" |
|---|
| 90 | > |
|---|
| 91 | <inverse-foreignkey field-ref="dlistId"/> |
|---|
| 92 | </collection-descriptor> |
|---|
| 93 | </class-descriptor> |
|---|
| 94 | |
|---|
| 95 | <!-- THIS IS THE OJB DLIST ENTRY IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 96 | <class-descriptor |
|---|
| 97 | class="org.apache.ojb.odmg.collections.DListEntry" |
|---|
| 98 | table="OJB_DLIST_ENTRIES" |
|---|
| 99 | > |
|---|
| 100 | <field-descriptor |
|---|
| 101 | name="id" |
|---|
| 102 | column="ID" |
|---|
| 103 | jdbc-type="INTEGER" |
|---|
| 104 | primarykey="true" |
|---|
| 105 | autoincrement="true" |
|---|
| 106 | /> |
|---|
| 107 | <field-descriptor |
|---|
| 108 | name="dlistId" |
|---|
| 109 | column="DLIST_ID" |
|---|
| 110 | jdbc-type="INTEGER" |
|---|
| 111 | /> |
|---|
| 112 | <field-descriptor |
|---|
| 113 | name="position" |
|---|
| 114 | column="POSITION_" |
|---|
| 115 | jdbc-type="INTEGER" |
|---|
| 116 | /> |
|---|
| 117 | <field-descriptor |
|---|
| 118 | name="oid" |
|---|
| 119 | column="OID_" |
|---|
| 120 | jdbc-type="LONGVARBINARY" |
|---|
| 121 | conversion="org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion" |
|---|
| 122 | /> |
|---|
| 123 | </class-descriptor> |
|---|
| 124 | |
|---|
| 125 | <!-- THIS IS THE OJB DBAG IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 126 | <class-descriptor |
|---|
| 127 | class="org.apache.ojb.odmg.collections.DBagImpl" |
|---|
| 128 | table="OJB_DLIST" |
|---|
| 129 | > |
|---|
| 130 | <field-descriptor |
|---|
| 131 | name="id" |
|---|
| 132 | column="ID" |
|---|
| 133 | jdbc-type="INTEGER" |
|---|
| 134 | primarykey="true" |
|---|
| 135 | autoincrement="true" |
|---|
| 136 | /> |
|---|
| 137 | <collection-descriptor |
|---|
| 138 | name="elements" |
|---|
| 139 | element-class-ref="org.apache.ojb.odmg.collections.DListEntry" |
|---|
| 140 | auto-retrieve = "true" |
|---|
| 141 | auto-update="none" |
|---|
| 142 | auto-delete="none" |
|---|
| 143 | > |
|---|
| 144 | <inverse-foreignkey field-ref="dlistId"/> |
|---|
| 145 | </collection-descriptor> |
|---|
| 146 | </class-descriptor> |
|---|
| 147 | |
|---|
| 148 | <!-- THIS IS THE OJB DSET IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 149 | <class-descriptor |
|---|
| 150 | class="org.apache.ojb.odmg.collections.DSetImpl" |
|---|
| 151 | table="OJB_DSET" |
|---|
| 152 | > |
|---|
| 153 | <field-descriptor |
|---|
| 154 | name="id" |
|---|
| 155 | column="ID" |
|---|
| 156 | jdbc-type="INTEGER" |
|---|
| 157 | primarykey="true" |
|---|
| 158 | autoincrement="true" |
|---|
| 159 | /> |
|---|
| 160 | <collection-descriptor |
|---|
| 161 | name="elements" |
|---|
| 162 | element-class-ref="org.apache.ojb.odmg.collections.DSetEntry" |
|---|
| 163 | auto-retrieve = "true" |
|---|
| 164 | auto-update="none" |
|---|
| 165 | auto-delete="none" |
|---|
| 166 | > |
|---|
| 167 | <inverse-foreignkey field-ref="dlistId"/> |
|---|
| 168 | </collection-descriptor> |
|---|
| 169 | </class-descriptor> |
|---|
| 170 | |
|---|
| 171 | <!-- THIS IS THE OJB DSET ENTRY IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 172 | <class-descriptor |
|---|
| 173 | class="org.apache.ojb.odmg.collections.DSetEntry" |
|---|
| 174 | table="OJB_DSET_ENTRIES" |
|---|
| 175 | > |
|---|
| 176 | <field-descriptor |
|---|
| 177 | name="id" |
|---|
| 178 | column="ID" |
|---|
| 179 | jdbc-type="INTEGER" |
|---|
| 180 | primarykey="true" |
|---|
| 181 | autoincrement="true" |
|---|
| 182 | /> |
|---|
| 183 | <field-descriptor |
|---|
| 184 | name="dlistId" |
|---|
| 185 | column="DLIST_ID" |
|---|
| 186 | jdbc-type="INTEGER" |
|---|
| 187 | /> |
|---|
| 188 | <field-descriptor |
|---|
| 189 | name="position" |
|---|
| 190 | column="POSITION_" |
|---|
| 191 | jdbc-type="INTEGER" |
|---|
| 192 | /> |
|---|
| 193 | <field-descriptor |
|---|
| 194 | name="oid" |
|---|
| 195 | column="OID_" |
|---|
| 196 | jdbc-type="LONGVARBINARY" |
|---|
| 197 | conversion="org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion" |
|---|
| 198 | /> |
|---|
| 199 | </class-descriptor> |
|---|
| 200 | |
|---|
| 201 | <!-- THIS IS THE OJB DMAP IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 202 | <class-descriptor |
|---|
| 203 | class="org.apache.ojb.odmg.collections.DMapImpl" |
|---|
| 204 | table="OJB_DMAP" |
|---|
| 205 | > |
|---|
| 206 | <field-descriptor |
|---|
| 207 | name="id" |
|---|
| 208 | column="ID" |
|---|
| 209 | jdbc-type="INTEGER" |
|---|
| 210 | primarykey="true" |
|---|
| 211 | autoincrement="true" |
|---|
| 212 | /> |
|---|
| 213 | <collection-descriptor |
|---|
| 214 | name="entries" |
|---|
| 215 | element-class-ref="org.apache.ojb.odmg.collections.DMapEntry" |
|---|
| 216 | collection-class="org.apache.ojb.broker.util.collections.ManageableHashSet" |
|---|
| 217 | auto-retrieve = "true" |
|---|
| 218 | auto-update="none" |
|---|
| 219 | auto-delete="none" |
|---|
| 220 | > |
|---|
| 221 | <inverse-foreignkey field-ref="dmapId"/> |
|---|
| 222 | </collection-descriptor> |
|---|
| 223 | </class-descriptor> |
|---|
| 224 | |
|---|
| 225 | <!-- THIS IS THE OJB DMAP ENTRY IMPLEMENTATION, DO NOT EDIT--> |
|---|
| 226 | <class-descriptor |
|---|
| 227 | class="org.apache.ojb.odmg.collections.DMapEntry" |
|---|
| 228 | table="OJB_DMAP_ENTRIES" |
|---|
| 229 | > |
|---|
| 230 | <field-descriptor |
|---|
| 231 | name="id" |
|---|
| 232 | column="ID" |
|---|
| 233 | jdbc-type="INTEGER" |
|---|
| 234 | primarykey="true" |
|---|
| 235 | autoincrement="true" |
|---|
| 236 | /> |
|---|
| 237 | <field-descriptor |
|---|
| 238 | name="dmapId" |
|---|
| 239 | column="DMAP_ID" |
|---|
| 240 | jdbc-type="INTEGER" |
|---|
| 241 | /> |
|---|
| 242 | <field-descriptor |
|---|
| 243 | name="keyOid" |
|---|
| 244 | column="KEY_OID" |
|---|
| 245 | jdbc-type="LONGVARBINARY" |
|---|
| 246 | conversion="org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion" |
|---|
| 247 | /> |
|---|
| 248 | <field-descriptor |
|---|
| 249 | name="valueOid" |
|---|
| 250 | column="VALUE_OID" |
|---|
| 251 | jdbc-type="LONGVARBINARY" |
|---|
| 252 | conversion="org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion" |
|---|
| 253 | /> |
|---|
| 254 | </class-descriptor> |
|---|
| 255 | |
|---|
| 256 | |
|---|
| 257 | |
|---|
| 258 | <!-- END OF OJB INTERNAL MAPPINGS--> |
|---|