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

Koen Aers (JIRA) issues at jboss.org
Thu Sep 4 04:05:59 EDT 2014


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

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

Hi Andrei,

I have tried to reproduce this but probably because of the latest big changes I wasn't able to do so. Can you please try again with a recent build (e.g. http://download.jboss.org/jbosstools/updates/staging/luna/jbosstools-4.2.0.CR1-updatesite-core/) and describe in detail how you create the project and the console configuration. What I am especially interested in is:
- is this a JPA project or just Maven with Hibernate dependencies?
- what does the persistence.xml look like (assuming it is JPA)?
- how is the connection to the database specified?

Cheers,
Koen

> 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: Minor
>             Fix For: 4.1.0.Beta2, 4.2.0.CR1
>
>
> 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