[jbosstools-issues] [JBoss JIRA] (JBIDE-23658) Hibernate console configuration wizard problems - and no way to get specifics

Jesper Skov (JIRA) issues at jboss.org
Thu Dec 22 03:08:00 EST 2016


    [ https://issues.jboss.org/browse/JBIDE-23658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13341459#comment-13341459 ] 

Jesper Skov commented on JBIDE-23658:
-------------------------------------

1. Unpack archive in workspace root
2. Run 'gradlew eclipse' in dk.may.work folder with JDK8 on path
3. Import projects into Eclipse

4. Select dk.may.work.ejb project in Project Explorer
5. Ctrl-n -> Hibernate Console Configuration

Wized comes up with "Could not create JPA based Configuration"



One time I tried the above, it worked.

But then I assigned a JBoss EAP 6.4 Runtime to the JPA facet, and then the wizard failed with same message.


If the Hibernate Console Configuration is created from Run Configurations instead, it seems to work with this test proejct.
At least until the JBoss EAP rutime is assigned to the JPA facet.
Then this also fails.




There are many factors that affect how the JPA / Hibernate plugin works.
And some of those are clearly problematic in our development.

When all potential causes of problems result in the same message, it is really hard to make sense of.

I would dearly love to be able to see some logging from the plugin.
Please tell me that is possible.
 [^empty-clean.zip] 

> Hibernate console configuration wizard problems - and no way to get specifics
> -----------------------------------------------------------------------------
>
>                 Key: JBIDE-23658
>                 URL: https://issues.jboss.org/browse/JBIDE-23658
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>    Affects Versions: 4.4.2.Final
>         Environment: Neon.1 and Neon.2, Windows 7, targeting Oracle
>            Reporter: Jesper Skov
>            Assignee: Koen Aers
>         Attachments: empty-clean.zip
>
>
> Creating a Hibernate Console Configuration using the wizard fails for most of our projects.
> All the feedback we have is the text in red: "Could not create JPA based Configuration"
> I would have liked to qualify this problem report with some more information. But there is no problems reported in the eclipse log.
> I have tried enabling debugging, as per http://docs.jboss.org/tools/latest/en/hibernatetools/html/plugins.html#debug_log, without getting any output to the Eclipse Error console, or to the hibernate log file.
> We wonder if maybe the plugin/perspective is just dead (or dying).
> The plugin documentation has snapshots from 2010/2011, and the JBossTools documentation itself (http://docs.jboss.org/tools/latest/) was not updated since 4.1.0/2013.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jbosstools-issues mailing list