[CDO] Questions about 0.8.0M5 [message #615512] |
Tue, 19 February 2008 08:58 |
Stefan Winkler Messages: 307 Registered: July 2009 Location: Germany |
Senior Member |
|
|
Hi Eike,
two questions concerning the release notes of your new release.
1. Is HibernateStore ready to use - so could I change from MySql to
Hibernate/MySql? Do I have to provide the mapping or do you generate it
internally?
2. Do I understand savepoints correctly in that they do not write to the
database?
The rationale for 2. is as follows:
As I understand, CDO does not run into an OutOfMemory when I read-access
(iterate) huge models - because the CDOObjects are loaded on demand and
not interconnected.
But when I create huge models, CDO-Objects are not written to the
Database as long as I do not commit().
So when I read a huge data file and create CDO-Objects in one big
transactions, I will encounter an OutOfMemory, because the dirty object
accumulate until I commit.
Leading to question 2 - Savepoints are only in-memory markers of the
last valid state of data - they do not prevent OutOfMemoryErrors in the
case of a huge amount of dirty objects, right?
Cheers,
Stefan
|
|
|
Powered by
FUDForum. Page generated in 0.04007 seconds