Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-11996

Persistence unit not found for default JPA project with DB connection string when Eclipse is run with JDK7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Major Major
    • 4.2.0.Beta3
    • 3.3.0.CR1
    • hibernate
    • None
    • Hide

      EXECUTE: Create JPA project, add HSQLDB driver into a project
      EXECUTE: Try to Open Hibernate console configuration
      ERROR: Persistence unit not found

      Show
      EXECUTE: Create JPA project, add HSQLDB driver into a project EXECUTE: Try to Open Hibernate console configuration ERROR: Persistence unit not found

      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)

            kaers@redhat.com Koen Aers
            jpeterka_jira Jiri Peterka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: