Re: Reengineer Database Schema not generating anything

2010-11-07 Thread Mark Fischer
Thanks for putting up with me. If I have time I will run the debug tonight. We will see if I am smart enough to figure it out. On Nov 7, 2010 6:04 PM, "Andrus Adamchik" wrote: > Hi Mark, > > Your test indicates that JDBC part is ok, but still the Modeler somehow ignores your tables... I am a bit

Composite entity model

2010-11-07 Thread Marek Ĺ abo
Hi all, Would it be possible to generate entities not as children of CayenneDataobject but as self composite objects with a CDO field? I'm not gonna ask for implementation - I'm just curios if I may redefine such behavior in my projects. Because sometimes we work with API that really, really

Re: To Dep PK bug?

2010-11-07 Thread Andrus Adamchik
Very odd. Please file a Jira. Maybe we can reproduce it with our unit tests? So what is optimistically locked in this case? Andrus On Nov 5, 2010, at 9:30 AM, Michael Gentry wrote: > It even fails if I include the dependent: > > >DataContext dataContext = DataContext.createDataContext

Re: pre-remove, post-remove

2010-11-07 Thread Andrus Adamchik
> List movs = new ArrayList(); > for (HoMovimentosAplicacoes mov : apl.getHoMovimentosAplicacoesArray()) > movs.add(mov); > for (int i = 0; i < movs.size(); i++) > apl.removeFromHoMovimentosAplicacoesArray(movs.get(i)); > manager.getContext().deleteObjects(movs); So do you actually cal

Re: Reengineer Database Schema not generating anything

2010-11-07 Thread Andrus Adamchik
Hi Mark, Your test indicates that JDBC part is ok, but still the Modeler somehow ignores your tables... I am a bit at a loss what to recommend now. It all works on my own tests. The only way to gather insight into what's really going on is running the Modeler in Eclipse debugger and stepping th