pupsnow / dphibernate

Automatically exported from code.google.com/p/dphibernate
0 stars 0 forks source link

Incompatible with Flash Builder Data/Services #68

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
You currently cannot use this in combination with the entities created by Flash 
Builder Data/Services wizards. The wizards created entities that must extend 
the generated _Super_[EntityName] classes, removing the possibility of 
extending HibernateBean. The entites also cannot implement IHibernateProxy 
because the _Super_[EntityName] classes already define a couple properties 
(proxyKey, proxyInitialized) that must be implemented by the IHibernateProxy 
interface. Furthermore, those defined properties in the generated super class 
have incompatible signatures with the interface.

What steps will reproduce the problem?
1. Use the Flash Builder Data/Services wizards create a remote service.
2. Use additional wizards to configure return types from the service methods 
(which creates the client side entities).
3. Attempt to make those entities extend HibernateBean or implement 
IHibernateProxy

What is the expected output? What do you see instead?

The expectation is to utilize dphibernate's lazy-loading capabilities with 
Flash Builder's client side data management features in order to get most of 
the features of Flex Data Services.

Please use labels and text to provide additional information.

It would be nice if the property names of IHibernateProxy didn't conflict with 
property names created by Flash Builder's DataService wizards

Original issue reported on code.google.com by devinkir...@gmail.com on 6 Aug 2011 at 4:27

GoogleCodeExporter commented 9 years ago
My advice is to use grantieDS on your java side to convert your POJOs or any 
other classes to their corresponding AS files. You can also modify the 
graniteDS templates to generate custom code for AS files. If you need any help 
i can mail you the template files that works with dphibernate 

Original comment by aarijhus...@gmail.com on 7 Sep 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Hi,

I also use graniteDS generator to create corresponding AS files, can you email 
me your template ?

Thanks in advance.

Original comment by nicolas....@gmail.com on 21 Sep 2011 at 12:03

GoogleCodeExporter commented 9 years ago
Sorry Nioolas for the late reply. I didn't got any notifications from google 
that someone has responded to my comment. And i don't visit this thread often 
:( Anyways I accidentaly deleted the templates that i used but i reconstructed 
them. SO i am attaching them with this comment. If u find any problems with it 
feel free to contact me and i'll fix them. I couldn't find your email so 
couldn't mail them to you.

Good luck with your developement

Original comment by aarijhus...@gmail.com on 14 Oct 2011 at 9:03

Attachments: