Is it possible to have an complex type for an field (or any fields) and map
the fields of the complex type as separat columns to the database-table?

Public Class A {
        public String a1;
        public B b1;
        public B b2;
... }

Public class B {
        public String b1;
        public String b2;
... }

Class A should then be mapped to a table like:
tableA(a1, b1b1, b1b2, b2b1, b2b2, ...)


If it's possible, what's about foreign keys for fields in class B, and can I
have nested complex types (means class B has an attribut of type class (or
an interface?) C...)



Thanks,

Uwe Hoell
--
AEB GmbH, www.aeb.de
D-70597 Stuttgart, Julius-Hölder-Str. 39
Tel. +49/711/7 28 42-268, Fax -333, [EMAIL PROTECTED]

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to