
| Key: |
COR-664
|
| Type: |
Task
|
| Status: |
Closed
|
| Resolution: |
Fixed
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Carl Rosenberger
|
| Votes: |
2
|
| Watchers: |
3
|
|
If you were logged in you would be able to see more operations.
|
|
|
db4o Core
Created: 31/May/07 09:53 AM
Updated: 28/Aug/07 12:16 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
6.4.6
|
|
Time Tracking:
Issue & Sub-Tasks
Issue Only
Issue & Sub-Tasks
Issue Only
|
|
Original Estimate:
|
160h
|
|
|
Remaining Estimate:
|
129h
|
|
|
Time Spent:
|
83.67h
|
|
|
Original Estimate:
|
Not Specified
|
|
|
Remaining Estimate:
|
0h
|
|
|
Time Spent:
|
3h
|
|
|
|
| Order: |
1
|
| Resolution Date: |
28/Aug/07 12:16 PM
|
| First Response Date: |
05/Jun/07 02:37 PM
|
| Labels: |
|
| Participants: |
Carl Rosenberger and Rodrigo B. de Oliveira
|
| Number of Attachments: |
0
|
| Number of Comments: |
2
|
|
Local "In-process" mode could provide multiple transactions.
In comparison to embedded Client/Server, performance would be better and memory consumption would be smaller.
Some of the ressources could be shared and objects would not have to be marshalled/unmarshalled multiple times to be instantiated or stored.
|
|
Description
|
Local "In-process" mode could provide multiple transactions.
In comparison to embedded Client/Server, performance would be better and memory consumption would be smaller.
Some of the ressources could be shared and objects would not have to be marshalled/unmarshalled multiple times to be instantiated or stored.
|
Show » |
|
It might make sense to use finer grained interfaces for the different sets of functionality in ObjectContainer:
interface Queryable {
Query query();
List<T> query<T>(Class<T> extent);
List<Extent> query<Extent>(Predicate<Extent> predicate);
// ...
// other query related methods
}
interface ObjectSession extends Queryable {
void set(Object o);
void delete(Object o);
void commit();.
void rollback();
}
interface ObjectContainer extends ObjectSession {
ObjectSession newSession();
// ...
// ext, configuration, other stuff
}