cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Scheibe <>
Subject Re: Cayenne and transactions
Date Tue, 07 Feb 2012 09:29:59 GMT
2012/2/7 Andrus Adamchik <>

> This thread is pretty long, so I am not sure if I missed that suggestion,
> but manual transactions would allow you to wrap multiple commitChanges
> calls, allowing JVM to split commits and limit memory. Essentially you
> start a manual transaction, binding it to the current thread, then do as
> many commits to DB as you need (possibly across different ObjectConexts),
> then commit the transaction:
> On Feb 6, 2012, at 11:07 PM, Daniel Scheibe wrote:
> > Btw: Are there any plans on integrating streams instead of byte[]
> buffers into cayenne at some point in the future? MS-SQL Server has this
> FileStream data type which looks promising but would require to channel the
> JDBC driver streams support all the way up to the Entity level.
> I looked at this in the past and most drivers wouldn't let us do it. But I
> am certainly +1 on adding streaming objects to Cayenne and researching this
> deeper. Maybe Jira that?
> Andrus
I created a Jira issue for this, so if anyone is browsing this thread, the
link is Thanks Andrus, i
haven't tried the manual transactions, sounds promising!


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message