1. HELP!: No Hibernate Session bound to thread liferay.comI have extended a table by adding few aditional fields as described in wiki. I am getting this error: 10:36:02,953 ERROR [HibernateUtil:204] Caught HibernateException 10:36:02,968 ERROR [HibernateUtil:210] org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here ... |
2. Caused by: org.hibernate.HibernateException: No Hibernate Session bound to liferay.comHi Guys, I am new to LIferay and using version 5.1. I need to run a custom query. Below are the steps I followed. 1. Added my custom query in 'announcements.xml' file under 'sr/custom-sql/announcements.xml' 2. Added finder method name in 'AnnouncementFinder' interface. |
3. Hibernate session liferay.comFirst if you want to use liferay data you can use *ServiceUtil or *LocalServiceUtil for example you want to use liferay user table also you do UserLocalService service = UserLocalServiceUtil.getService(); so you have an service whic you can do everthing - read or update ... - with this service. Second if you want to use liferay hibernate session for your own ... |
4. Sharing one Hibernate's SessionFactory instance through portlets liferay.comHi there! First of all, I do apologize for my poor english. I am a new user of Liferay, and I have a problem in developing portlets on our portal implementation (using Liferay 5.2 with tomcat). I looked for a solution over this forum, and I found some threads concerning similar issues, like One Hibernate connection for mutiple portlets and Sharing ... |
5. Hibernate session problem in liferay liferay.comHi, i have change below code which in SessionFactoryInvocationHandler.java so that i am able to get hibernate session to access database using query. |
6. org.hibernate.HibernateException: No Hibernate Session bound to thread, and liferay.comHi All, I am getting an exception org.hibernate.HibernateException: No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here when i am trying to connect to another database , my custom data base not the one by liferay. Configured the propeties in portal-ext.properties and used service bulder concept when i try to get the data form ... |