hmmm, i was using an old version of h2. downloaded the newest version,
did exactly the same things u did and same problem. i will try to
reproduce it on another pc tonight. maybe its a problem of my settings
on this machine.
thx anyway :)
On May 11, 8:14 pm, Thomas Mueller <
thomas.tom.muel...@gmail.com>
wrote:
> Hi,
>
> Sorry I can not reproduce this problem. I use H2 1.1.112 (2009-05-01)
> and Oracle Database 10g Express Edition Release 10.2.0.1.0 using the
> Thin JDBC driver. My test case is:
>
> Oracle:
> drop table test;
> create table test(id number primary key, name varchar(255));
> insert into test values(1, 'Hello');
> insert into test values(1078, 'World');
> select * from test;
>
> H2:
> drop table link;
> create linked table link('', 'jdbc:oracle:thin:@localhost:1521:XE',
> 'sa', 'sa', 'TEST');
> drop table test_link;
> create table test_link as select * from link;
> select * from test_link;
> ID NAME
> 1 Hello
> 1078 World
>
> Regards,
> Thomas
>