Re: Fixing DbLoaderTst for Oracle

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Tue Feb 04 2003 - 16:42:40 EST

  • Next message: Holger Hoffstätte: "Re: Fixing DbLoaderTst for Oracle"

    On Sybase this is not the case. I am performing tests on schema "dbo" with
    user "andrus".

    The bottom line is that Cayenne does not support multiple DbEntities with
    the same name in the same DataMap (even if they are in different schemas).
    So maybe we should change the DbLoader to create multiple DataMaps - one
    per schema?

    Andrus

    > Holger Hoffstätte wrote:
    >> there is such a thing?) or should we just have DbLoaderTest access a
    >> 'CAYENNE' schema (line 102, instead of 'null' schema name for
    >> getTables())
    >
    > One other (IMHO better) default could be to just use the connection
    > user's name as schema for the test (I just fixed DbLoaderTst here and it
    > works fine) or maybe even have DbLoader default to the user name as
    > schema when none is given. I think this would prevent the runaway/OOM
    > problems with DBA rights as well. Is this too naive? Every Oracle DB
    > that I've seen so far had the same user and schema names. I don't know
    > if this is an unreasonable assumption to make?
    >
    > Holger



    This archive was generated by hypermail 2.0.0 : Tue Feb 04 2003 - 16:42:41 EST