[flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-16 Thread wakouaq
ad the annotations > and you'd be all set. > > Jeff > > From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On > Behalf Of Josh McDonald > Sent: Wednesday, April 15, 2009 6:00 PM > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Re: How Could I

[flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread Tim Hoff
This is just the flex vo side. No change to the java transfer object is necessary; for transient fields that live only in the flex app. -TH --- In flexcoders@yahoogroups.com, Josh McDonald wrote: > > That still requires adding the fields to the Flex object. Marking the field > @Transient in Ja

RE: [flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread Jeff Vroom
class had the annotations and you'd be all set. Jeff From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Josh McDonald Sent: Wednesday, April 15, 2009 6:00 PM To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Re: How Could I "not" map

Re: [flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread Josh McDonald
That still requires adding the fields to the Flex object. Marking the field @Transient in Java will affect Hibernate, unless Blaze / LCDS have their own @Transient I'm not aware of. There's also this blazeds annotations add-on: http://is.gd/sETx SmartyPants-J will do this, but it's nowhere near es

[flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread Tim Hoff
Yep, here's an example: private var _myProperty:String; [Transient] [Bindable( event="myPropertyChange" )] /** * myProperty. * @private */ public function get myProperty():String { return _myProperty; } /** @private */ public function set myProperty( value:String ):void { _myPro

[flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread Amy
--- In flexcoders@yahoogroups.com, ouaqa wrote: > > > This is an option but i was wondering if you couldn't use some special > "ninja" keyword telling lcds not to map the field to lcds. Transient?

[flexcoders] Re: How Could I "not" map a property to lcds object ?

2009-04-15 Thread valdhor
If it were me, I would leave the java and as objects as they were and create a new class extending the java object. Now you can add all the properties that hibernate wants and send it. --- In flexcoders@yahoogroups.com, ouaqa wrote: > > > I am developping a J2EE/Flex Application and we recent