1. how to add fields dynamically when using hibernate stackoverflow.comThe problem Dynamically add and remove fields to entities on the fly using Hibernate. I m sure this is a common scenario, most enterprise applications will require some level of customization. ... |
2. How can I add dynamic fields to entities forum.hibernate.orgHello. I'm gonna write an internet shop, and currently i'm thinking about its Model layer. If it's gonna be an abstract Entity, then users should be able to add arbitrary types of Entities to the shop. For example, they might want to add a Vehicle, or a Flower, or a Pig. Each such entity has different properties, for example a Vehicle ... |
3. Dynamic Fields Possible? forum.hibernate.org |
4. Dynamic Field additions forum.hibernate.orgHey, I'm working on a problem where users need to be able to dynamically add new fields/properties (columns) to persistent entities. I've been researching this for awhile now, and seem there were various solutions. The one I'm using now (prototyping) involves directly using the Hibernate API, i.e. Code: PersistentClass clazz = config.getClassMapping("some.class.Here"); Column col = new Column(); col.setName("Test"); col.setSqlType("varchar (255)"); I ... |
5. How to Dynamic Selective Update Not Null fields ? forum.hibernate.orgHi everyone, Actually,I'm new to Hibernate.I need a suggestion regarding selectively update fields. I'm using Spring + Hibernate. I have a table Emp in Db. I have followed class per table structure and created class Emp. Now class Emp have 4 fields.e.g id,Name,address,age. id is generated by sequence. If I use hibernateTemplate.saveOrUpdate() for savinf as well as updating. i> If the ... |