Hi Ercan, On Tue, Jan 17, 2012 at 8:11 PM, Ercan Can <[email protected]> wrote:
> Hi all, i have a mysql database with innodb engine. i must to change > database engine set to ndbcluster. In this case, i lost primary key and > foreing key relation. So, can i make relation between tables with dbs on > dss server? Thanks. > We don't really have any special inbuilt support for defining/foreign key constraints like that, if that requirement is a must, what you can do is, create a custom validator [1] to check the input values to see if they meet the necessary constraints, for example, too see if a specific input parameter is existent, in another table's primary key and so on. This would require to write some JDBC code in the custom validator though. [1] http://wso2.org/project/data-services/2.6.3/docs/validation.html#custom Cheers, Anjana. > > _______________________________________________ > Carbon-dev mailing list > [email protected] > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Anjana Fernando* Senior Software Engineer WSO2 Inc. | http://wso2.com lean . enterprise . middleware
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
