When creating an object for testing issues, sometimes random data is needed. Therefore creating random testdata for (at least primitive) Attributes could be integrated into the generator (e.g. String: random alphanumeric)
Furthermore, when creating the builder from entities, it may also be possible to extract the JPA Metadata (field length, etc.). On this way the random data generator could produce more consistent data.
When creating an object for testing issues, sometimes random data is needed. Therefore creating random testdata for (at least primitive) Attributes could be integrated into the generator (e.g. String: random alphanumeric)
Furthermore, when creating the builder from entities, it may also be possible to extract the JPA Metadata (field length, etc.). On this way the random data generator could produce more consistent data.