Re: CAY-1427 末 Problem with Refresh Join in EJBQL

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Wed May 12 2010 - 10:47:03 UTC

  • Next message: Andrew Lindesay: "Re: Question About Change Notification"

    On May 12, 2010, at 12:45 PM, Andrew Lindesay wrote:

    > mvn test \
    > -Dcayenne.test.connection=postgres \

    This is correct. Not sure why it doesn't work. Are you running from
    checkout root where the parent POM is located or from cayenne-jdk1.5-
    unpublished?

    > -DcayenneJdbcUsername=apl \
    > -DcayenneJdbcUrl=jdbc:postgresql://localhost/cayennetests \
    > -DcayenneJdbcDrg.postgresql.Driver \
    > -DcayenneAdapter=org.apache.cayenne.dba.postgres.PostgresAdapter

    These are ignored by 3.0 unit tests. Instead these parameters should
    be stored in ~/.cayenne/connection.properties . E.g.:

    postgres.cayenne.adapter =
    org.apache.cayenne.dba.postgres.PostgresAdapter
    postgres.jdbc.username = andrus
    postgres.jdbc.password = andrus
    postgres.jdbc.url = jdbc:postgresql://localhost/cayenne
    postgres.jdbc.driver = org.postgresql.Driver

    Andrus



    This archive was generated by hypermail 2.0.0 : Wed May 12 2010 - 10:47:40 UTC