> I tried to setup to use Hibernate Criteria, I got an exception saying my > hibernate.cfg.xml file was missing. This surprised me since this was > never an issue when dealing w/ HQL.
This surprises me as well. If everything is working fine with Stripersist, you should be able to just do Session session = (Session) Stripersist.getEntityManager().getDelegate(); Criteria criteria = session.createCriteria(YourEntity.class).add(....); where Session and Criteria are Hibernate-specific classes. There is an example in email_24 from the book's sample code, in the stripesbook.dao.impl.stripersist.BaseDaoImpl class. Cheers, Freddy http://www.stripesbook.com ------------------------------------------------------------------------------ Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com _______________________________________________ Stripes-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/stripes-users
