wood burning stoves 2.0*
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
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: 2
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
Use of sequence without creating an entity
Spring-data and MongoDB integration : noSuchbeandefinitionexception : No bean name "mongoTemplate"
mapping one pojo with multiple tables
What is the better choice for primary key ? natural key or system-generated key ?
Dynamic Entities in JPA