public void doEdit(@FormGroup("dataMediaSourceInfo") Group dataMediaSourceInfo, @Param("pageIndex") int pageIndex,
@Param("searchKey") String searchKey,
@FormField(name = "formDataMediaSourceError", group = "dataMediaSourceInfo") CustomErrors err,
Navigator nav) throws Exception {
DbMediaSource dbMediaSource = new DbMediaSource();
dataMediaSourceInfo.setProperties(dbMediaSource);
if (dbMediaSource.getType().isMysql()) {
dbMediaSource.setDriver("com.mysql.jdbc.Driver");
} else if (dbMediaSource.getType().isOracle()) {
dbMediaSource.setDriver("oracle.jdbc.driver.OracleDriver");
}
try {
dataMediaSourceService.modify(dbMediaSource);
} catch (RepeatConfigureException rce) {