Re: Specifying PK when creating a new object in DB generated PK mode

2008-02-19 Thread Aristedes Maniatis
On 20/02/2008, at 9:51 AM, Scott Anderson wrote: I am working an a request ticket system, similar to the one I'm using to enter this issue. I need to import requests from the old schema to the new schema, and the PKs must be specified while doing an import. When using the tool normally, the P

Specifying PK when creating a new object in DB generated PK mode

2008-02-19 Thread Scott Anderson
I am working an a request ticket system, similar to the one I'm using to enter this issue. I need to import requests from the old schema to the new schema, and the PKs must be specified while doing an import. When using the tool normally, the PKs must be database generated. Is there any way to do t

Re[2]: DataObjectUtils.objectForPK() doesnâ–’t work

2008-02-19 Thread Razumovsky Andrey
Thanks! 574 seems to be the same problem, with exception a bit different though. What is M4 plan release date, by the way? > KM> Hi Andrey, KM> You've run into CAY-574: KM> https://issues.apache.org/cayenne/browse/CAY-574 KM> This issue has been fixed in 3.0-SNAPSHOT and will be in 3.0M4 when that

RE: DataObjectUtils.objectForPK() doesn't work

2008-02-19 Thread Kevin Menard
Hi Andrey, You've run into CAY-574: https://issues.apache.org/cayenne/browse/CAY-574 This issue has been fixed in 3.0-SNAPSHOT and will be in 3.0M4 when that is released. If you don't want to run the snapshots, Andrus has a workaround for the problem as a comment in the aforementioned issue. -

ROP: DataObjectUtils.objectForPK() doesn't work

2008-02-19 Thread Razumovsky Andrey
Hello! So that's the problem, when i run my simple example: public static void main(String[] args) throws CayenneException { ClientConnection connection = new HessianConnection("http://localhost:8080/cayenne/cws";); DataChannel channel = new Client

Re: Imports

2008-02-19 Thread Malcolm Edgar
Great! Thanks for that. regards Malcolm Edgar On Feb 19, 2008 11:18 AM, Andrus Adamchik <[EMAIL PROTECTED]> wrote: > Just use your own transactions, then 'commitChanges' turns into 'flush': > > http://cayenne.apache.org/doc/understanding-transactions.html > > Andrus > > > On Feb 18, 2008, at 7:49