Suggest a feature
×

Welcome to TagMyCode

Please login or create account to add a snippet.
0
0
 
0
Language: Java
Posted by: Md. Sofiqul Islam
Added: Nov 21, 2018 6:14 AM
Views: 2
Tags: no tags
  1. package com.coderbd.test;
  2.  
  3. import com.coderbd.domain.ProductCategory;
  4. import com.coderbd.service.ProductCategoryService;
  5. import java.util.Locale;
  6.  
  7.  
  8. /**
  9.  *
  10.  * @author User
  11.  */
  12. public class categoryTest {
  13.  
  14.     public static void main(String[] args) {
  15.        // ProductCategoryService.createTable();
  16.         ProductCategory cat=new ProductCategory();
  17.         cat.setName("HD");
  18.        
  19.         ProductCategoryService.insert(cat);
  20.  
  21.     }
  22. }
  23.