Package com.dotmarketing.db

Examples of com.dotmarketing.db.HibernateUtil.load()


                  // try it as variable
                  // FIXME: https://github.com/dotCMS/dotCMS/issues/2847
                  HibernateUtil hu=new HibernateUtil(Category.class);
                  hu.setQuery("from "+Category.class.getCanonicalName()+" WHERE category_velocity_var_name=?");
                  hu.setParam(cat);
                  category=(Category)hu.load();
                  if(category!=null && InodeUtils.isSet(category.getCategoryId())) {
                    cats.add(category);
                  }
                }
              }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.