1. Dynamic Entities in JPA coderanch.comHi All! First of all, thanks for a great forum. I have learned a lot in here, so now I thought I would ask a question of my own: Is it in some way possible to create an entity at runtime to hold the result from a given query, in JPA? I am doing a webcrawling project, where I retrieve data ... |
2. Dynamic Entities on Hibernate forum.hibernate.orgHi buddies! I'm programming with Hibernate and EJB 3.0 on JBoss 6.0. In my project, I have some tables that contains the definition for other tables (as table name, fields, data types, etc.). And I need to create these entities dynamically, ie at runtime. I found code Class.forName and EclipseLink and I think this is not what I need, I need ... |
3. Dynamic entities for hibernate forum.hibernate.orgHi everybody, I have some troubles and I need your help. It turns out that I need to create run-time entities that adapt to user-defined structures, currently I build a runtime class with annotations, I compile the dynamic class and make the instance with the Class.forName method, in addition, I set the hibernate session to add the class using: configuration.addAnnotatedClass ( ... |
4. JPA - Dynamically add entity classes to persistence unit forum.hibernate.org |
5. Dynamic instantiation with entity parameter forum.hibernate.org |
6. How to create Dynamic Proxy from entity class and idValue forum.hibernate.orgpublic class User { ... private Address address; public Address getAddress() { return address; } public void setAddress(Address address) { this.address = address; } ... } public class ... |
7. "instance not of expected entity type", dynamic-ma forum.hibernate.orgNewbie Joined: Mon Sep 12, 2005 5:18 pm Posts: 6 Location: Cambridge, MA, USA I am using dynamic-map persistence. I have a mapping with subclass elements and a discriminator. Queries execute just fine and return me a logical Map with the right elements for each subclass. However, when I try to create a new Map and persist it, I get "org.hibernate.HibernateException: ... |
8. Dynamic Entities forum.hibernate.orgHi all, I've been using Hibernate for a short while on defined java objects but would like to know how I could use it where the fields required for a particular entity are liable to change. I want to implement a feature where a user can add a field name and corresponding data type. For example, if I have a person ... |
9. How to handle Metadata driven/dynamic entities in Hibernate forum.hibernate.orgThe current version of my application has fixed set of entities as it is developed for use by users of a specific (pharmaceutical) domain. Now we wish to enhance it to be used by users from other domains (finance, instrumentation).We need to provide a metadata driven system, where entities will be decided by the administrator of application on the fly. The ... |
10. "could not determine type of dynamic entity" forum.hibernate.orgHi, I have a very simple class as follows: public class MyClass implements Map |