ORM supporting immutable classes
- by Thomas Jung
Which ORM supports a domain model of immutable types?
I would like to write classes like the following:
class A {
private final C c; //not mutable
A(B b) {
//init c
}
A doSomething(B b) {
// build a new A
}
}