Hi all, While working on the social SQL based component, we faced few issues around developing a generic implementation to support various RDBMS types.
Eg:- We need to retrieve paginated list of activities but LIMIT and OFFSET usage is different from one to other DB type[1] As a solution for above problem we decided to introduce a DB driver. Initially decided to copy this driver to the <CARBON_HOME>/repository/components/lib directory and replace whenever we need to switch database type. But during our last review $Subject came up. Idea is to introduce a new configuration file (social.xml) where we keep the implementation class mapping. Other than this there can be other deployment specific configurations like paging size.. etc Thoughts? [1] [Dev] Cross database pagination Regards, UdaraR -- *Udara Rathnayake* Software Engineer WSO2 Inc. : http://wso2.com Mobile : 1 4087864651 | 94 772207239 Twitter : http://twitter.com/udarakr Blog : http://udarakr.blogspot.com
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
