Re: Problems with MS SQL Server and creating merger tokens

2008-09-26 Thread Tore Halset
On Sep 26, 2008, at 9:12 , Øyvind Harboe wrote: Is there any way I can tell Cayenne to fail(throw exception) if it is not able to enumerate the tables? The jdbc driver/database did not return those tables in the list of tables. You can try for your self with some simple jdbc code. - Tore.

Re: Problems with MS SQL Server and creating merger tokens

2008-09-26 Thread Øyvind Harboe
On Thu, Sep 25, 2008 at 10:28 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote: > It turned out in my case that the default schema for that user made it, > correctly, be zero tables available. I take this back. The correct schema was used, but the user did not have the access rights to enumerate the t

Re: Problems with MS SQL Server and creating merger tokens

2008-09-25 Thread Øyvind Harboe
It turned out in my case that the default schema for that user made it, correctly, be zero tables available. I.e. there was no error condition and Cayenne did the right thing, produce the create table merger tokens. -- Øyvind Harboe http://www.zylin.com/zy1000.html ARM7 ARM9 XScale Cortex JTAG

RE: Problems with MS SQL Server and creating merger tokens

2008-09-25 Thread Scott Anderson
M To: user@cayenne.apache.org Subject: Re: Problems with MS SQL Server and creating merger tokens On Thu, Sep 25, 2008 at 9:52 AM, Tore Halset <[EMAIL PROTECTED]> wrote: > Hello. > > The merger get the table info using DbLoader that does a > jdbcConnection.getMetaData().getTables() to pi

Re: Problems with MS SQL Server and creating merger tokens

2008-09-25 Thread Øyvind Harboe
On Thu, Sep 25, 2008 at 9:52 AM, Tore Halset <[EMAIL PROTECTED]> wrote: > Hello. > > The merger get the table info using DbLoader that does a > jdbcConnection.getMetaData().getTables() to pick up info on all the tables. > My guess is that the database/jdbc-driver simply does not list the tables > f

Re: Problems with MS SQL Server and creating merger tokens

2008-09-25 Thread Tore Halset
Hello. The merger get the table info using DbLoader that does a jdbcConnection.getMetaData().getTables() to pick up info on all the tables. My guess is that the database/jdbc-driver simply does not list the tables for your misconfigured user. - Tore. On Sep 25, 2008, at 9:32 , Øyvind Ha