[OFBiz] Users - Help required on using multiple data store
Posted by
Chakraborty, Debanjan [WHQEO] on
Jul 25, 2005; 8:27pm
URL: http://ofbiz.116.s1.nabble.com/OFBiz-Users-control-refund-of-shipping-charges-tp135217p135218.html
Hi everyone,
We have a requirement in our project for accessing a combination of multiple data providers (e.g. the application's database and a flat file) in order to create an entity. I was wondering as to how to go about doing it.
E.g. consider a situation where the values of attributes of an entity(as defined in entitymodel.xml) are to be populated by the app DB as well by a remote file system (say, a flat file residing on a remote ftp server). Is a there a provision (in OFBiz) for defining the entity in such a way, so that we can specify that the values of attribute X and Y of the entity E1 is to be populated from the app DB, and the value of attribute Z is to be populated from another flat file? If we can do so, then how do we do it? Can the concept of eecas.xml be useful in this case? Can we specify in the eecas.xml that while populating the values of the entity, it needs to invoke another service (say S1) for populating the value of attribute Z? Now, this service S1 can take care of making the necessary calls to the file system in order to retrieve the appropriate values that can be used to populate Z.
Any inputs would be highly appreciated.
regards,
Debanjan
_______________________________________________
Users mailing list
[hidden email]
http://lists.ofbiz.org/mailman/listinfo/users