Database reconnect support? [Oracle 9i]

From: Mike Kienenberger (mkienen..laska.net)
Date: Fri Jul 02 2004 - 17:31:14 EDT

  • Next message: Bryan Lewis: "ExtendedTypes (was: adding postgresql data types)"

    Is there any support in Cayennne for reconnecting after a database is
    restarted?

    I know it was a pain to do this with Oracle 8i under EOF, and it doesn't
    seem to be working for Oracle 9i under Cayenne, either.

    Here's an example stack-trace I get.

    Error: org.objectstyle.cayenne.CayenneRuntimeException: [v.1.1-dev April 14
    2004] Global exception.
            at
    org.objectstyle.cayenne.access.util.SelectObserver.nextGlobalException(SelectObserver.java:214)
            at
    org.objectstyle.cayenne.access.DataNode.performQueries(DataNode.java:307)
            at
    org.objectstyle.cayenne.access.DataDomain.performQueries(DataDomain.java:662)
            at
    org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1359)
            at
    org.objectstyle.cayenne.access.Transaction.performQueries(Transaction.java:176)
            at
    org.objectstyle.cayenne.access.DataContext.performQueries(DataContext.java:1282)
            at
    org.objectstyle.cayenne.access.DataContext.performQuery(DataContext.java:1248)



    This archive was generated by hypermail 2.0.0 : Fri Jul 02 2004 - 17:31:02 EDT