[jboss-jira] [JBoss JIRA] (WFLY-5919) Wildfly 10 CR5 Regression - Schema not added to query

John Ament (JIRA) issues at jboss.org
Sun Jan 3 08:37:00 EST 2016


John Ament created WFLY-5919:
--------------------------------

             Summary: Wildfly 10 CR5 Regression - Schema not added to query
                 Key: WFLY-5919
                 URL: https://issues.jboss.org/browse/WFLY-5919
             Project: WildFly
          Issue Type: Bug
            Reporter: John Ament
            Assignee: Jason Greene


My app, working fine in Wildfly 9.0.2 now fails in 10.0.0.CR5 (it was fine in earlier CR's)

{code}
2016-01-03 08:30:43,626 WARN  [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 87) SQL Error: 1046, SQLState: 3D000
2016-01-03 08:30:43,626 ERROR [org.hibernate.engine.jdbc.spi.SqlExceptionHelper] (ServerService Thread Pool -- 87) No database selected
2016-01-03 08:30:43,627 INFO  [org.hibernate.event.internal.DefaultLoadEventListener] (ServerService Thread Pool -- 87) HHH000327: Error performing load command : org.hibernate.exception.GenericJDBCException: could not extract ResultSet
{code}

I turned on query debug, and the query being generated is now skipping the schema name defined in my entity's schema (I'm using MySQL)

The config looks like this

{code}
@Table(name = "types", schema = "config")
{code}

I have an orm.xml file, I tried removing the default schema stanza without luck.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list