Tieto interview question

How implemented Java Persistence Layer