Blob Objects and Optimistic Locking Improvements
· One min read
Blob object type and optimistic locking mechanism improvements.
BlobObject Type
Store large binary data (images, documents, files):
@Entity
public class Document {
private String name;
private BlobObject content; // stores file data
}
+ BlobObject: binary data storage type
+ Integrated with SQLRepository for persistence
+ Streaming support for large files
Actual Change Detection
Version number is only incremented when properties have actually changed, avoiding meaningless version bumps.
Multi-Entity Version Conflict Fix
When updating multiple entities in the same transaction, each entity's version is tracked independently.
