Hi

I have an application running with ruby 1.93 and sequel 4.18.0. I have 
statements like

ogdb.projectcategorys.where('Zuordnungssperre = FALSE')

No we want to upgrade the application to Ruby 2.6 and squel 5.28 the 
statement now throws:

Sequel::Error: Invalid filter expression: "Zuordnungssperre = FALSE"
from 
P:/OptigemBridge/tools_26/Ruby26-x86/lib/ruby/gems/2.6.0/gems/sequel-5.28.0/lib/sequel/dataset/query.rb:1311:in
 
`filter_expr'

I tried

[19] pry(main)> ogdb.projectcategorys.where(Zuordnungssperre: false).all
Sequel::DatabaseError: WIN32OLERuntimeError: (in OLE method `Execute': )
    OLE error code:80040E14 in Microsoft JET Database Engine
      Interner Fehler bei OLE-Automatisierung
    HRESULT error code:0x80020009
      Ausnahmefehler aufgetreten.
from 
P:/OptigemBridge/tools_26/Ruby26-x86/lib/ruby/gems/2.6.0/gems/sequel-5.28.0/lib/sequel/adapters/ado.rb:162:in
 
`method_missing'
Caused by WIN32OLERuntimeError: (in OLE method `Execute': )
    OLE error code:80040E14 in Microsoft JET Database Engine
      Interner Fehler bei OLE-Automatisierung
    HRESULT error code:0x80020009
      Ausnahmefehler aufgetreten.
from 
P:/OptigemBridge/tools_26/Ruby26-x86/lib/ruby/gems/2.6.0/gems/sequel-5.28.0/lib/sequel/adapters/ado.rb:162:in
 
`method_missing'

Any hint how to fix this would be highly appreciated.

B.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sequel-talk+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sequel-talk/188dc959-81a7-4131-bf1a-aaa3124f6332%40googlegroups.com.

Reply via email to