kuros / random-jpa

Create random test data for JPA/Hibernate entities.
GNU General Public License v3.0
26 stars 4 forks source link

Instant field random generation does not work by default #46

Closed kibertoad closed 2 years ago

kibertoad commented 2 years ago

randomFactory.generateRandom(Instant.class) returns null by default, custom generator needs to be provided.

kuros commented 2 years ago

I will include the Instant generation in default generators, in the meantime, you can add RandomFactory.addRandomGenerator() method to add your custom generator for Instant.class as a workaround

kuros commented 2 years ago

Updated the RandomFactory to generate random Instant in version 1.0.5