Hello all,
I have a problem running Cayenne with DB2 UDB
I have a following code:
Setting connection properties:
///
DataSource dataSource = new PoolManager(com.ibm.db2.jcc.DB2Driver,
jdbc:db2://sunlinuxdb2:6/testjdb, 1, 1, NRA, xxx);
Configuration config =
On 7/22/06, Andrus Adamchik [EMAIL PROTECTED] wrote:
I see. That makes sense - each DataContext in a nested context chain
would create its own instance of object and transition it through the
lifecycle. So technically it is still called once per object
instance. However the fact that ID can be
Hello.
Looks like you cayenne does not get access to the database as all at
the jdbc-level. Are your connection parameters, username and password
correct? Do you have access to the database?
- Tore.
On Aug 1, 2006, at 10:49, Nikolai Raitsev wrote:
Hello all,
I have a problem running
The first error seems to be related to the second - for whatever
reason JDBC connection fails (and DB2 is at its best not telling why).
I don't have a specific advice, as this can be any number of things
(including permissions, etc.). Try connecting from JDBC, bypassing
Cayenne and see if
I have some old code that I've been running for a long time. It creates
a caching SelectQuery like this:
SelectQuery query = new SelectQuery(MyEntityName);
query.setCachePolicy(QueryMetadata.SHARED_CACHE);
query.setName(MyQueryName);
if (refreshing) {
On Aug 1, 2006, at 2:52 PM, Bryan Lewis wrote:
I have some old code that I've been running for a long time. It
creates
a caching SelectQuery like this:
SelectQuery query = new SelectQuery(MyEntityName);
query.setCachePolicy(QueryMetadata.SHARED_CACHE);