2014-12-09 11:34 GMT+01:00 Udhaya Kumar <[email protected]>: > > Hi, > > I am synchronizing user group from AD to Mysql database. I can get list > member from AD using *"srcBean.getDatasetValuesById("member")".* > But How I will insert each member into database.I have table with column > like "*groupName* and *member*". > I want get list of user in groups and insert to table. For example " > *GroupA*" having two user like *"UserA" and "UserB".* > I want insert "UserA and UserB" in table corresponding to GroupA. So > totally *two row* created in table. > > > I am not sure it is possible, but you can try to dig into iBatis documentation to see if you can do a loop on a entry parameter to create several SQL requests.
Else you can code a SQL script and use Executable plugin to launch it: http://lsc-project.org/wiki/documentation/plugins/executable Clément.
_______________________________________________________________ Ldap Synchronization Connector (LSC) - http://lsc-project.org lsc-users mailing list [email protected] http://lists.lsc-project.org/listinfo/lsc-users

