I am trying to build a Hibernate enabled app (with Flex Data  
Services) but I am wondering how do deal with certain requirements of  
my app.

For example, I employ a root object table which contains all ids (and  
some admin vars) for every table in my app.  Every data table has a  
one-to-one relationship with this root table and thus every insert  
includes a transactional update of both the data table & the root  
object table.

Is this something that can be done easily with FDS & Hibernate while  
still be able to use the simple 'commit' command on the client side?

My other questions is how I can check certain user roles before  
performing database operations?  For example, if the client tries to  
do a DataServices "commit" to the database and that logged in user  
does not have the proper user role to do that operation, the request  
will be rejected at the server.

I love how simple the DataServices functions are, but does that mean  
that it is hard to add functionality to these low level operations?

I currently am "successfully" using PHP to manage my database on the  
server (using AMFPHP).  The main reason I would like to switch to  
Java/Hibernate is to take advantage of data pushing which could be  
very useful for my use case.  To my knowledge there is not a way to  
do this with PHP.  I hate to switch everything over if I don't have  
to, but...for what I gain it might be worth it.

Thanks for the the help.  There is very little documentation that I  
can find on customizing DataServices/Hibernate's integration with  
Flex...

- Kevin

Reply via email to