Re: Nested Objects & Cocoon Form Binding
Tino Schöllhorn <[email protected]>
| Newsgroups | gmane.comp.jakarta.ojb.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, this is not really an issue concerning OJB. You should try to use JavaBeans accessors/mutators to achieve your goal. Look at the spring-framework for example - they have a mapping from forms to javabeans. Tino 許議中 wrote: > Hi! > > Below is running in OJB 1.0.4 & Cocoon 2.1.0 > > I've a set of tables with three layers. > > First Layer: The main table. with a primary key. > > Second Layer: The sub table, with a primary key, and a forean key refer to main > table. it's one to many. > > Tress Layer: many tables with different type, type01, type02..., they've one > primary key, and a forean key to the sub table. it's one to one. > > I want to access the all tables in one form, how to do it in repositiory.xml and > the main table java bean? use Nest Objects? how? > > Best Regards > > johnson