tags:

views:

72

answers:

0

My Grails app works great in development both in IntelliJ and in Tomcat directly on windows.

Then we run it in QA on Linux

Most classes in the application map just fine and much of the application is working right up until we hit a feature that uses the class Channel.

Then we get the error "org.hibernate.hql.ast.QuerySyntaxException: Channel is not mapped [from Channel order by channel_id asc]"

The line it dies on is

def cs = Channel.findAll("from Channel order by channel_id asc", [])

I've also tried it like

def cs = Channel.findAll("from com.helium.Summary.Channel order by channel_id asc", [])

and like

def cs = Channel.findAll("from com.helium.Summary.Channel order by channel_id asc")

The table in the database has the correct columns and data types. The class definition does include a couple of "transients".

There is one more class that gets a similar error. It's definition is really simple and has no transients.

Any suggestions please on the next debugging step to try?