AnnotationException

This mapping you did tells Hibernate that Range2 is an entity, and the definition of the join columns is located in an attribute named parlamentare within Range2 which I guess is not what you want?

You will probably want to map this as @ElementCollection like this:

@ElementCollection
@CollectionTable(name = "periods")
List<Range2<LocalDate>> periodo_carica = new ArrayList<Range2<LocalDate>>();