I use ruby gp gem to connect teiid 7.6 server, i use sample script can connect,but when i use Rails framework, i found a connect parameter can't support. it's very pain for us.
#test.rb
class TestTeiid < ActiveRecord::Base
establish_connection :vdb
end
run this model on rails console,report issue below:
DETAIL: org.teiid.jdbc.TeiidSQLException: Parsing error: Encountered "SET" at line 1, column 1.
Was expecting one of:
"alter" ...
"call" ...
"create" ...
"delete" ...
"drop" ...
"exec" ...
"execute" ...
"insert" ...
"select" ...
"table" ...
...
: SET client_min_messages TO ''
i don't know this is wrong permission settng or teiid not support this.please give a glue.
I use ruby gp gem to connect teiid 7.6 server, i use sample script can connect,but when i use Rails framework, i found a connect parameter can't support. it's very pain for us.
#test.rb
class TestTeiid < ActiveRecord::Base
establish_connection :vdb
end
run this model on rails console,report issue below:
DETAIL: org.teiid.jdbc.TeiidSQLException: Parsing error: Encountered "SET" at line 1, column 1.
Was expecting one of:
"alter" ...
"call" ...
"create" ...
"delete" ...
"drop" ...
"exec" ...
"execute" ...
"insert" ...
"select" ...
"table" ...
...
: SET client_min_messages TO ''
i don't know this is wrong permission settng or teiid not support this.please give a glue.