]
Jason Greene reassigned WFLY-5919:
----------------------------------
Assignee: Scott Marlow (was: Jason Greene)
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: Scott Marlow
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.