Recent posts

Adding custom generator in Random-JPA

1 minute read

Random-JPA provides mechanism to configure generation of random values. This can be done by adding custom generator. You need to provide generator to the JPA...

Configuring Trigger Tables

less than 1 minute read

Random-JPA provides a way to load tables generated by triggers. Although it only supports fetching of tables generated by trigger and does load entities if o...

Map collection

3 minute read

A Map cares about unique identifiers. You map a unique key (the ID) to a specific value. You’re probably quite familiar with Maps since many languages suppor...

Set, Sorted Set, HashSet, TreeSet

3 minute read

Now let us say that we want to create a list that holds unique objects so what should we do? Should we use the normal list (ArrayList or LinkedList) to keep ...

List, ArrayList, LinkedList

7 minute read

A List extends Collection interface but it also cares about the index. The one thing that List has that non-lists don’t have is a set of methods related to t...