14.5 Object Mapping


The current JDO specification does not define how the mapping between the Java class and the datastore schema should be specified; instead, it leaves this to the JDO implementation. This means that for each JDO implementation used, it is likely that a new set of mapping specifications would need to be defined. Of course, some underlying datastores may not require any additional mapping to be specified at all.

To aid in portability, JDO 2.0 may define standard JDO metadata elements for common mapping needs. This might allow a datastore name to be specified for a class or a field that a JDO implementation could then use when defining the datastore schema.



Core Java Data Objects
Core Java Data Objects
ISBN: 0131407317
EAN: 2147483647
Year: 2003
Pages: 146

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net