This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes MongoDB and the fly likes Dynamically add columns in table, defined by Hibernate @Entity, using MongoTemplate Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » MongoDB
Bookmark "Dynamically add columns in table, defined by Hibernate @Entity, using MongoTemplate" Watch "Dynamically add columns in table, defined by Hibernate @Entity, using MongoTemplate" New topic
Author

Dynamically add columns in table, defined by Hibernate @Entity, using MongoTemplate

Dax Joshi
Greenhorn

Joined: Jun 10, 2013
Posts: 11

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?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Dynamically add columns in table, defined by Hibernate @Entity, using MongoTemplate
 
Similar Threads
Spring-data and MongoDB integration : noSuchbeandefinitionexception : No bean name "mongoTemplate"
Dynamic Entities in JPA
Use of sequence without creating an entity
mapping one pojo with multiple tables
What is the better choice for primary key ? natural key or system-generated key ?