Freddy Daoud <xf2...@...> writes: > > 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.
Thanks Freddy. Maybe what I was trying to do was get the Session directly from Hibernate without going through Stripersist. With your suggestion above though, it works great. Thx! ------------------------------------------------------------------------------ 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
