06-26-2009 10:29 AM
08-04-2009 04:17 AM
public class YourDaoClassImpl extends HibernateDaoSupport implements YourDaoClass {
public List getCoolStuff(){
return getHibernateTemplate().createQuery("from CoolClass").list();
}
}
Following code should be added - for instance - to your custom-repository-context.xml or something else that can be found at this location: tomcat/shared/classes/alfresco/extension
<!– Note: You should add Proxy-based Transaction-Support (Interceptor>
<bean id="yourDaoClass" class="classpath.YourDaoClassImpl ">
<property name="sessionFactory" ref="sessionFactory" />
</bean>
09-04-2009 07:48 AM
Tags
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.