dynamobi/dynamobi — Issue #732: [FRG-139] MedMdrJoinRelImplementor needs to generate subclass-filtering
Author: dynamobi-build
Created: 2011-12-30 03:45:53+00:00
State: open
Labels: FRG, MDR Foreign Data Wrapper

[reporter="jvs", created="Fri, 2 Jun 2006 17:43:40 -0500 (GMT-05:00)"]
create view sequence_view as

select

c.table_cat,

c.table_schem,

c.table_name,

c.column_name,

s."baseValue",

s."increment",

s."minValue",

s."maxValue",

s."cycle",

s."expired"

from

sys_boot.jdbc_metadata.columns_view_internal c

inner join

sys_fem."SQL2003"."SequenceGenerator" s

on

c."mofId" = s."Column"

;

0: jdbc:farrago:> select * from sequence_view;

Error: java.lang.ClassCastException:

net.sf.farrago.fem.med.FemViewColumn$Impl (state=,code=0)

Error: java.lang.ClassCastException: net.sf.farrago.fem.med.FemViewColumn$Impl (state=,code=0)

net.sf.farrago.jdbc.FarragoJdbcUtil$FarragoSqlException: java.lang.ClassCastException: net.sf.farrago.fem.med.FemViewColumn$Impl

at net.sf.farrago.dynamic.stmt8279.ExecutableStmt$8.getNextRightIterator(Unknown Source)

at org.eigenbase.runtime.NestedLoopCalcTupleIter.fetchNext(NestedLoopCalcTupleIter.java:81)

at net.sf.farrago.dynamic.stmt8279.ExecutableStmt$9.fetchNext(Unknown Source)

at org.eigenbase.runtime.TupleIterResultSet.next(TupleIterResultSet.java:90)

at net.sf.farrago.runtime.FarragoTupleIterResultSet.next(FarragoTupleIterResultSet.java:97)

at sqlline.SqlLine$BufferedRows.(Unknown Source)

at sqlline.SqlLine.print(Unknown Source)