public static void main(String[] args) {
        //ApplicationContext appContext = ApplicationContextProvider.getInstance().getApplicationContext();
        //OutletDaoInter outletDao = (OutletDaoInter) appContext.getBean("OutletDaoBean");
        //CvOutletDaoInter cvOutletDao = (CvOutletDaoInter) appContext.getBean("CvOutletDaoBean");
        //ProdukDaoInter produkDao = (ProdukDaoInter) appContext.getBean("ProdukDaoBean");
       
            for (Field field: JPcode.class.getDeclaredFields()){
                Column col;
                if ((col = field.getAnnotation(Column.class)) != null){
                    //System.out.println(col.name());
                }        

            }
            
            SimpleDateFormat sdf = new SimpleDateFormat("dd MMM yyyy");
            Date tangal = new Date();
            String strTanggal = sdf.format(tangal);
            System.out.println(strTanggal);
            
            Calendar cal = Calendar.getInstance();
            
            cal.setTime(tangal);
            String strCalTgl = sdf.format(cal.getTime());
            System.out.println(strCalTgl);
            
            cal.add(Calendar.DATE, 1);
            String strCalAfter = sdf.format(cal.getTime());
            System.out.println(strCalAfter);
        try {            
            System.out.println(sdf.parse("01 Okt 2013"));
        } catch (ParseException ex) {
            Logger.getLogger(Test.class.getName()).log(Level.SEVERE, null, ex);
        }
        try {            
            System.out.println(sdf.parse("17 Sep 2013"));
        } catch (ParseException ex) {
            Logger.getLogger(Test.class.getName()).log(Level.SEVERE, null, ex);
        }
        
    }