cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrus Adamchik <and...@objectstyle.org>
Subject Re: CAY-1427 –– Problem with Refresh Join in EJBQL
Date Wed, 12 May 2010 10:47:03 GMT

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





Mime
View raw message