[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-6001) NoCachingEnabledException in Console Config with Seam 2.2 DVD Store Example

Vitali Yemialyanchyk (JIRA) jira-events at lists.jboss.org
Thu Mar 4 12:35:10 EST 2010


     [ https://jira.jboss.org/jira/browse/JBIDE-6001?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vitali Yemialyanchyk updated JBIDE-6001:
----------------------------------------

    Attachment: screenshot-1.jpg


> NoCachingEnabledException in Console Config with Seam 2.2 DVD Store Example
> ---------------------------------------------------------------------------
>
>                 Key: JBIDE-6001
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6001
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: Hibernate
>    Affects Versions: 3.1.0.CR2
>            Reporter: Vitali Yemialyanchyk
>            Assignee: Vitali Yemialyanchyk
>            Priority: Minor
>             Fix For: 3.1.1
>
>         Attachments: screenshot-1.jpg
>
>
> 1) download Seam 2.2 DVD Store Example;
> 2) open dvdstore22-ejb Console Config session Factory - get exception:
> org.hibernate.cache.NoCachingEnabledException: Second-level cache is not enabled for usage [hibernate.cache.use_second_level_cache | hibernate.cache.use_query_cache]
> 	at org.hibernate.cache.impl.NoCachingRegionFactory.buildEntityRegion(NoCachingRegionFactory.java:66)
> 	at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:261)
> 	at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1341)
> 	at org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:867)
> 	at org.hibernate.console.ConsoleConfiguration$4.execute(ConsoleConfiguration.java:554)
> 	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> 	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:98)
> 	at org.hibernate.console.ConsoleConfiguration.buildSessionFactory(ConsoleConfiguration.java:549)
> 	at org.hibernate.eclipse.console.workbench.LazySessionFactoryAdapter.getChildren(LazySessionFactoryAdapter.java:43)
> 	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.getChildren(BasicWorkbenchAdapter.java:100)
> 	at org.hibernate.eclipse.console.workbench.BasicWorkbenchAdapter.fetchDeferredChildren(BasicWorkbenchAdapter.java:106)
> 	at org.eclipse.ui.progress.DeferredTreeContentManager$1.run(DeferredTreeContentManager.java:234)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list