1. Hibernate: No CurrentSessionContext configured stackoverflow.comI keep getting a : HibernateException: No CurrentSessionContext configured!in my code. The only information other searches that returned is that the culprit is:
in my hibernate.cfg.xml. I ... |
2. Using Hibernate with LifeRay portlet coderanch.comException was thrown while accessing database through Hibernate in a liferay portlet deployed on liferay portal Exception as follows... Cannot create JDBC driver of class '' for connect URL 'null' java.lang.NullPointerException at com.sybase.jdbc3.jdbc.SybDriver.acceptsURL(SybDriver.java:201) at java.sql.DriverManager.getDriver(DriverManager.java:232) at org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:773) at org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540) at com.liferay.util.dao.DataAccess.getConnection(DataAccess.java:51) at com.liferay.util.dao.hibernate.DynamicDialect. |
3. Error in Portlet trying to use Hibernate and c3p0 liferay.comI have a custom portlet that I am writing. It connects to a different database than Liferay's to perform some queries and insert data. I am using Hibernate as the ORM and C3P0 for connection pooling. The problem that I am running into is that I get an error message when I deploy my portlet (see below). How can I set ... |
4. Liferay Portlet And Hibernate liferay.comRE: Liferay Portlet And Hibernate September 8, 2011 5:44 AM Answer Sudarshan Kumar Rank: New Member Posts: 2 Join Date: August 12, 2011 Recent Posts Hi Pranay. Thanks for your reply. I have created portlet using Hibernate . But I am not able to persist data in my database mysql5.0. Below is exception which I am getting while saving the data. ... |
5. How to use hibernate in Liferay liferay.comHi every one i wanted to know how to use hibernate as my database and not to use any other database to store data like Mysql or Oracle. when i create a portlet we get a sql file in case of mysql database and we run it and store all the records that are saved through the portlet, but i dont ... |
6. LifeRay 5.2 and Hibernate issues liferay.comHello, I'm currently running Liferay version 5.2.1 on tomcat and I've created a custom portlet that calls a servlet through the extension environment. This servlet grabs data and data connections from the spring applicationContext I've defined, but when it gets to the section: |
7. sample hibernate portlet liferay.comi'm trying to develope a portlet that works with hibernate but i can't find any tutorials. are there any out there for this? since i couldn't find anything, i downloaded the sample hibernate portlet to look at the code and see if i could figure it out. however, i can't get the sample portlet working. i loaded the test data into ... |
8. Where to get the modified source code of hibernate? liferay.comLiferay is using a modified version of Hibernate, which has some weird behavior, and I want to look into the source to see what is going on, but I couldn't find where the source code is. Could someone tell where to get it? The problem is in Hibernate Query. I timed the query, found that if I do query.setFirstResult(beginIndex); query.setMaxResults(max); and ... |
9. Memory leak in hibernate (Liferay4.1.1) liferay.comHI 1. When user is logged-in and viewing some views , portlets. we have captured the memory usage using tools. 2. then the user is idle for 2 hours.(here no session deactivation done since it is admin type of users). here once again the memory usage is captured. This time liferay is taking more memory tough user was idle for 2 ... |
10. Error sample-portlet with hibernate liferay.com |
11. hibernate ReadWriteCache timeout on startup liferay.comIf you don't actually *need* JBOSS, there's not a compelling reason to run Liferay on it, IMHO. You're running a portal on a portal on a servlet container. And your version of tomcat is really out of date and therefor your version of Java as well. I just see a lot that could be wrong with this particular set up. |
12. [Liferay 5.2.3] error on Sample Hibernate Portlet liferay.comHi Everyone, I'm trying to integrate the Sample Hibernate Portlet, i have followed the guide by using mysql server and adding a new database. Tomcat started successfully, but,I had that error after submitting the form (add food) of the hibernate portlet : 13:29:42,718 ERROR [jsp:165] java.lang.NoClassDefFoundError at com.liferay.samplehibernate.util.FoodItemUtil.addFoodItem(FoodItemUti l.java:58) ... |
13. Hibernate Portlet liferay.comHi, I created my own Hibernate Portlet with SQL Server in hibernate.cfg.xml.I have created this portlet as source code in SAMPLEHIBERNATEPORLET.war in Liferay plugins. i can connect the data source of my MSSQL server but while building session factory it shows the following error: 13:15:06,755 INFO [Environment:514] Hibernate 3.2.5 13:15:06,760 INFO [Environment:547] hibernate.properties not found 13:15:06,763 INFO [Environment:681] Bytecode provider name ... |
14. Store procedure in liferay 5.2.3 ( Hibernate) liferay.com |
15. JPA support in Liferay 6.0.5 liferay.comHi! One of the feature, announced in Liferay 6 was support for working with database through JPA (EclipseLink) instead of Hibernate. Just tried to use it, following instructions in these wiki pages: * JPA on Tomcat * JPA on Glassfish v2 And got same problem (trying all: tomcat 6.0.26, glassfish 2.1.1 and glassfish 3.0.1 as servers): 22:37:51,593 ERROR [ContextLoader:225] Context initialization ... |
16. Hibernate on Liferay 4.4.2 cause NullPointerException liferay.comHibernate on Liferay 4.4.2 cause NullPointerException May 15, 2008 7:47 AM Answer Ronnie James Dio Rank: New Member Posts: 6 Join Date: May 8, 2008 Recent Posts I'm using Hibernate on Liferay 4.4.2 to store my entity on MySql5 and I get a nullpointerexception. This is my entity class: package hibernate.category; public class category{ ... |
17. Any reason for Liferay still to have parallel JPA/ORM api liferay.comHi, Can the Architect pundits help me to understand, what is the need for Liferay to have JPA like api such as DynamicQuery and many others in package com.liferay.portal.kernel.dao.orm. It would have been less painful/less learning curve, if hibernate or JPA standards are used in service.xml rather than parallel ones. Hope these do not continue to exist to due to legacy ... |
18. Hibernate @ Liferay forum.hibernate.org |
19. hibernate under liferay forum.hibernate.org |
20. error using liferay with hibernate and teradata forum.hibernate.orgHi , Please help me with the cause of the error whenever i start liferay using our application . has anyone come across with this error when using hibernate with teradata . If so please help . Pls find the error message below . Thanks in advance . Chandra Error Message : Hibernate: select groupimpl0_.groupId as groupId10_, groupimpl0_.companyId as companyId10_, groupimpl0_.className ... |