Map<String, String> attributes = new HashMap<String, String>();
attributes.put( "QUOTE_ALL_FIELDS", "Y" );
( (SqlPhysicalModel) domain4.getPhysicalModels().get( 0 ) ).getDatasource().setAttributes( attributes );
domain4.setId( "MYSQL_DOMAIN" );
repo.storeDomain( domain, true );
repo.storeDomain( domain2, true );
repo.storeDomain( domain3, true );
repo.storeDomain( domain4, true );
} catch ( Exception e ) {
e.printStackTrace();