[jboss-user] [JBoss Messaging] - Re: java.lang.IllegalArgumentException: No such SQL statemen

mr.colin.daly do-not-reply at jboss.com
Thu Feb 7 19:10:20 EST 2008


Hi Peter

I'm building JBossAS from trunk (latest) source and I get my postgresql-persistence-service.xml from thirdparty/jboss/messaging/resources

I really don't see how the version of the file matters considering the error. It can't find MOVE_REFERENCE which is in the file. But it can't find it because it JDBCSupport.java never loads the statements. Check these snippets : how could it ever work - for any database?

   
  |    protected Map getDefaultDMLStatements()
  |    {                
  |       return Collections.EMPTY_MAP;
  |    }
  |    
  |    protected Map getDefaultDDLStatements()
  |    {
  |       return Collections.EMPTY_MAP;
  |    }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4127639#4127639

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4127639



More information about the jboss-user mailing list