[jbosstools-issues] [JBoss JIRA] (JBIDE-14305) Error popup when runing schema ddl with Hibernate Configurations

Koen Aers (JIRA) issues at jboss.org
Tue Sep 30 06:05:02 EDT 2014


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

Koen Aers commented on JBIDE-14305:
-----------------------------------

I had to modify some of the elements in the attached workspace as I don't have access to the specified MySQL database. I have changed the database access parameters to point to our well known Sakila database but I wasn't able to reproduce the issue with those parameters. The 'Database' node in the Hibernate Configuration expands just fine. 

I am going to try with a MySQL database but I doubt it would be related to the database.

> Error popup when runing  schema ddl with Hibernate Configurations
> -----------------------------------------------------------------
>
>                 Key: JBIDE-14305
>                 URL: https://issues.jboss.org/browse/JBIDE-14305
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: hibernate
>            Reporter: labdoui labdoui
>            Assignee: Koen Aers
>            Priority: Critical
>             Fix For: 4.2.0.CR2
>
>         Attachments: workspace.zip
>
>
> Using Hibernate 4, and slf4j 1.7.2, I can't runing my ddl schema
> to reproduce the problem just explore the database from hibernate console 
> java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
> at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:133)
> at org.hibernate.cfg.reveng.dialect.JDBCMetaDataDialect.getTables(JDBCMetaDataDialect.java:26)
> at org.hibernate.cfg.reveng.JDBCReader.processTables(JDBCReader.java:476)
> at org.hibernate.cfg.reveng.JDBCReader.readDatabaseSchema(JDBCReader.java:74)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter$2.execute(LazyDatabaseSchemaWorkbenchAdapter.java:116)
> at org.hibernate.console.execution.DefaultExecutionContext.execute(DefaultExecutionContext.java:63)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.readDatabaseSchema(LazyDatabaseSchemaWorkbenchAdapter.java:107)
> at org.hibernate.eclipse.console.workbench.LazyDatabaseSchemaWorkbenchAdapter.getChildren(LazyDatabaseSchemaWorkbenchAdapter.java:63)
> 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 was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jbosstools-issues mailing list