This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
On the front end, forms are generated dynamically from json. Any number of input elements can be there. I want to store all input data to my existing table, which is defined by persistence annotation @Entity and @Table.
I am using Spring-Hibernate-MongoDb integration and for that using mongoTemplate in DAOs.
How can I insert data? How searching and sorting can be done?