Edit: I am using cayenne 3.0.1

On Wed, Jul 25, 2012 at 9:16 AM, Joel Becker <[email protected]> wrote:

> Hello,
>
> I am using performIteratedQuery(new SelectQuery(clazz)) and
> objectFromDataRow(). I make changes to each object, but commitChanges() is
> not committing the changes :( . I can see the queries logged:
>
> 2012-07-25 09:12:58,835 [main] INFO  org.apache.cayenne.access.QueryLogger
>  - --- will run 1 query.
> 2012-07-25 09:12:58,835 [main] INFO  org.apache.cayenne.access.QueryLogger
>  - UPDATE xprecinct_part SET reporting_unit_id = ? WHERE vr_id = ?
> 2012-07-25 09:12:58,835 [main] INFO  org.apache.cayenne.access.QueryLogger
>  - [bind: 1->reporting_unit_id:72, 2->vr_id:'20815']
> 2012-07-25 09:12:58,835 [main] INFO  org.apache.cayenne.access.QueryLogger
>  - === updated 1 row.
>
> But when I open the SQLite database file I'm committing to, the changes
> have not taken effect. Any ideas why?
>
> Thanks,
> Joel
>

Reply via email to