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 <a...@...> wrote: > > > I am developping a J2EE/Flex Application and we recently decided to switch to > hibernate to handle our database management strategy. > > The java/as mapping worked real smoothly before. All properties declared in > java objects were also declared in as object. > > When switching to hibernate, i had to add some properties to the java > objects, in order to have all my fields declared in the object. > So now, the java object has more properties than the actionscript object and > therefore, i get a #1056 error when creating the object ("Cannot create > property XXX on object myObject"). > > I do not wish to add these missing properties in actionscript so this is why > I would like to know how to not map a java attribute to it's > actionscript-sided object. > > sorry about my english, frenchy @ work ... > > -- > View this message in context: > http://www.nabble.com/How-Could-I-%22not%22-map-a-property-to-lcds-object---tp23059499p23059499.html > Sent from the FlexCoders mailing list archive at Nabble.com. >