8081828384858687
* @throws SQLException */ public static void createPermission(int catalog_id, int user_id, int role){ CatalogPermBean cpb = new CatalogPermBean(); cpb.setRole(role); cpb.setKey(new CatalogUserKey(catalog_id, user_id)); saveOrUpdate(cpb); }