the database is for maintaining relationship(rmdb) and persistence, you should have a layer to convert these entities into objects that responsible for your UI.
On Thu, Dec 11, 2014 at 1:48 PM, Carlos Monteiro <[email protected]> wrote: > [off topic] > google spam filter on it's best: "Girl" and "One to one relationship" > equals spam! > > On 9 December 2014 at 18:43, CodeGirl <[email protected]> wrote: > > > I have a one to one relationship in my database. In Java I would just > > extend one class. But Databases are not Object related. In JPA, on > the > > web service, it wants to just make a field of the class type in the other > > class but this causes problems with the datagrid. Especially around the > > dataField property. It doesnt like field.field dataFields. So, what is > > the best practice for my web service to return in a one to one > relationship > > which I would like them both to merged together for my datagrid. > > > > > > > > -- > > View this message in context: > > > http://apache-flex-users.2333346.n4.nabble.com/One-to-one-relationship-best-practices-for-Flex-tp9044.html > > Sent from the Apache Flex Users mailing list archive at Nabble.com. > > >
