em.persist(categoryLanguage);
category.setCategoryLanguages(null);
em.persist(category);
CustomerClass customerClass = new CustomerClass();
customerClass.setCustClassName(Constants.CUSTOMER_CLASS_REGULAR);
customerClass.setSystemRecord(Constants.VALUE_YES);
customerClass.setRecUpdateBy(userId);
customerClass.setRecUpdateDatetime(new Date(System.currentTimeMillis()));
customerClass.setRecCreateBy(userId);
customerClass.setRecCreateDatetime(new Date(System.currentTimeMillis()));
customerClass.setSite(site);
em.persist(customerClass);
ProductClass productClass = new ProductClass();
productClass.setProductClassName(Constants.PRODUCT_CLASS_REGULAR);
productClass.setSystemRecord(Constants.VALUE_YES);