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

Jiri Peterka (JIRA) jira-events at lists.jboss.org
Fri May 25 08:07:18 EDT 2012


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

Jiri Peterka updated JBIDE-11996:
---------------------------------

          Summary: Persistence unit not found for default JPA project with DB connection string when Eclipse is run with JDK7  (was: Persistence unit not found for default JPA project with DB connection string)
    Fix Version/s:     (was: 3.3.0.CR1)
         Priority: Major  (was: Blocker)


I had this situation when Eclipse was executed with JDK7 and projects used JDK6
                
> 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
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jbosstools-issues mailing list