docs: diagrams for serialized entity and serialized lob

This commit is contained in:
Ilkka Seppälä
2025-04-10 20:20:47 +03:00
parent a97bfec0a7
commit 30d6875aa1
4 changed files with 8 additions and 0 deletions
+4
View File
@@ -30,6 +30,10 @@ In plain words
> The Serialized LOB design pattern manages the storage of large objects, such as files or multimedia, by serializing and storing them directly within a database.
Flowchart
![Serialized LOB flowchart](./etc/serialized-lob-flowchart.png)
## Programmatic Example of Serialized LOB Pattern in Java
The Serialized Large Object (LOB) design pattern is a way to handle large objects in a database. It involves serializing an object graph into a single large object (a BLOB or CLOB, for Binary Large Object or Character Large Object, respectively) and storing it in the database. When the object graph needs to be retrieved, it is read from the database and deserialized back into the original object graph.
Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB