AppFuseSupport |
|
Your trail: |
Difference between
version 61
and
version 60:
At line 64 changed 3 lines. |
;:''If a class with a natural key does not declare a version or timestamp property. It's more dificult to get saveOrUpdate() and cascades to work correctly. You might use a custom Hibernate Interceptor as discussed in this chapter. (On the other hand, if you're happy to use explicit save() and explicit update() instead of saveOrUpdate() and cascades, Hibernate doesn't need to be able to distinguish between transient and detached instances; so you can safely ignore this advice.) |
Composite natural keys extend the same ideas. |
{Hibernate in Action: pag.:333} '' |
;:''If a class with a natural key does not declare a version or timestamp property. It's more dificult to get saveOrUpdate() and cascades to work correctly. You might use a custom Hibernate Interceptor as discussed in this chapter. (On the other hand, if you're happy to use explicit save() and explicit update() instead of saveOrUpdate() and cascades, Hibernate doesn't need to be able to distinguish between transient and detached instances; so you can safely ignore this advice.) Composite natural keys extend the same ideas. {Hibernate in Action: pag.:333} '' |
Back to AppFuseSupport,
or to the Page History.
|