[jbosstools-issues] [JBoss JIRA] (JBIDE-11996) Persistence unit not found for default JPA project with DB connection string when Eclipse is run with JDK7

Dmitry Geraskov (JIRA) jira-events at lists.jboss.org
Fri Aug 31 04:51:43 EDT 2012


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

Dmitry Geraskov updated JBIDE-11996:
------------------------------------

    Fix Version/s: 4.0.x
                       (was: 4.0.0.Alpha1)

    
> Persistence unit not found for default JPA project with DB connection string when Eclipse is run with JDK7
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-11996
>                 URL: https://issues.jboss.org/browse/JBIDE-11996
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 3.3.0.CR1
>         Environment: JBT 3.3.CR1-trunk, L64, HSQL 1.8
>            Reporter: Jiri Peterka
>            Assignee: Dmitry Geraskov
>             Fix For: 4.0.x
>
>
> org.hibernate.console.HibernateConsoleRuntimeException: Persistence unit not found: 'null'.
> 	at org.hibernate.console.ConfigurationFactory.buildJPAConfiguration(ConfigurationFactory.java:235)
> 	at org.hibernate.console.ConfigurationFactory.buildConfiguration(ConfigurationFactory.java:174)
> 	at org.hibernate.console.ConfigurationFactory.createConfiguration(ConfigurationFactory.java:96)
> 	at org.hibernate.console.ConsoleConfiguration$3.execute(ConsoleConfiguration.java:240)
> 	at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> 	at org.hibernate.console.ConsoleConfiguration.execute(ConsoleConfiguration.java:107)
> 	at org.hibernate.console.ConsoleConfiguration.buildWith(ConsoleConfiguration.java:237)
> 	at org.hibernate.console.ConsoleConfiguration.build(ConsoleConfiguration.java:188)
> 	at org.hibernate.eclipse.console.workbench.ConsoleConfigurationWorkbenchAdapter.getChildren(ConsoleConfigurationWorkbenchAdapter.java:42)
> 	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:235)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list