Package com.vst.dao

Examples of com.vst.dao.RegionDao


//       sche.execute(false, false, false, false);

       final BuildingObjectDao buildingDao =
         (BuildingObjectDao) context.getBean("buildingObjectDao");

       final RegionDao regionDao =
         (RegionDao) context.getBean("regionDao");

       final ConstructionExampleDao csamplesDao =
         (ConstructionExampleDao) context.getBean("constructionExampleDao");
View Full Code Here


           new String[]{"com/vst/snippets/snippetsContext-hibernate.xml"});

       final BuildingObjectDao buildingDao =
         (BuildingObjectDao) context.getBean("buildingObjectDao");

       final RegionDao regionDao =
         (RegionDao) context.getBean("regionDao");

       final ConstructionExampleDao csamplesDao =
         (ConstructionExampleDao) context.getBean("constructionExampleDao");

       PlatformTransactionManager txManager =
         (PlatformTransactionManager) context.getBean("txManager");

       new TransactionTemplate(txManager).execute(new TransactionCallback() {

    @Override
    public Object doInTransaction(TransactionStatus arg0) {
      long start = System.currentTimeMillis();

           List<?> rlist = regionDao.getObjects();
           List<?> blist = buildingDao.getBuildingObjectsForTree();

           System.out.println(rlist);
           System.out.println(blist);
View Full Code Here

           new String[]{"com/vst/snippets/snippetsContext-hibernate.xml"});

       final BuildingObjectDao buildingDao =
         (BuildingObjectDao) context.getBean("buildingObjectDao");

       final RegionDao regionDao =
         (RegionDao) context.getBean("regionDao");

       final ConstructionExampleDao csamplesDao =
         (ConstructionExampleDao) context.getBean("constructionExampleDao");

       PlatformTransactionManager txManager =
         (PlatformTransactionManager) context.getBean("txManager");

       new TransactionTemplate(txManager).execute(new TransactionCallback() {

    @Override
    public Object doInTransaction(TransactionStatus arg0) {
      long start = System.currentTimeMillis();

           List<?> rlist = regionDao.getObjects();
           List<?> blist = buildingDao.getBuildingObjectsForTree();

           System.out.println(rlist);
           System.out.println(blist);
View Full Code Here

TOP

Related Classes of com.vst.dao.RegionDao

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.