code: private ActiveRecordPlugin getActiveRecordPlugin(String ds, DruidPlugin dp){
  		ActiveRecordPlugin arp = new ActiveRecordPlugin(ds, dp);
  		arp.setShowSql(this.getPropertyToBoolean("db.showsql"));
  
  		// auto mapping
  		if (!this.geRuned) {
  			try {
  				Class<?> clazz = Class.forName(this.getModelPackage()+"."+ds.toUpperCase()+this.getMappingKitClassName());
  				Method mapping = clazz.getMethod("mapping", ActiveRecordPlugin.class);
  				mapping.invoke(clazz, arp);
  			} catch (ClassNotFoundException | NoSuchMethodException | SecurityException | IllegalAccessException
  					| IllegalArgumentException | InvocationTargetException e) {
  				throw (new RuntimeException(String.valueOf(e) + ",may be your table is not contain `PrimaryKey`."));
  			}
  		}
  		return arp;
  	}
docs: 获取ActiveRecordPlugin
  @param dp DruidPlugin
  @return