History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: HBR-42
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Normal Normal
Assignee: Beto Software
Reporter: Beto Software
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hibero

Spring: No local DataSource found for configuration

Created: 23 Nov 06 23:58   Updated: 26 Jan 07 19:08
Component/s: Configuration
Affects Version/s: 2.0.1, 2.0
Fix Version/s: 2.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description  « Hide
No local DataSource found for configuration - dataSource property must be set on LocalSessionFactoryBeanorg.hibernate.HibernateException: No local DataSource found for configuration - dataSource property must be set on LocalSessionFactoryBean.

This happens when an action like HQL execution, translation, etc., that needs a DB connection, triggers the creation of the Hibernate runtime environment from Spring, by first time, even if a data source bean is properly configured. Once the environment is already created any action requiring a DB connection works correctly.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.