dynamic « POJO « JPA Q&A





1. Persisting 3rd party POJO's (or introducing dynamic fields)    forum.hibernate.org

Hibernate version: 2.1.8 I have a POJO (plain old java object) that comes from a 3rd party SDK that I would like to persist using hibernate. I have created a hibernate mapping file for it and I am able to save it to the database without a problem. Now I am finding that I would like to introduce a few fields ...

2. Dynamic entity instead of POJO, sperimental? experience?    forum.hibernate.org

For the most part it is fine. There are problems with mapped inheritence and the DOM4J entity-mode which are fairly significant and problematic to fix. Outside of that you should be fine. This is likely to remain "experimental" until those issues are fixed, which won't be anytime soon unless someone volunteers to step up and do it.

3. Streamlined mapping of dynamic queries to POJOs    forum.hibernate.org

Our application uses lots of proprietary dynamic sql for reports and such that I would like to be able to map to POJOs without too much effort. createSQLQuery can do some of this, but it's pretty cumbersome. I think the API could be simplified to dynamically map column aliases to a specified custom entity. Typically you would use JDBC directly for ...

4. Dynamic auditable pojo    forum.hibernate.org

View unanswered posts | View active topics Board index Hibernate & Java Persistence Hibernate Users All times are UTC - 5 hours [ DST ] Dynamic auditable pojo Page 1 of 1 [ 1 post ] Previous topic | Next topic Author Message ponthiaux.eric Post subject: Dynamic auditable pojo Posted: ...

5. Create Pojo's dynamically    forum.hibernate.org

Hi, I'm working on Web-Application (Tomcat), that mapps about 10 DB-Tables. A fatclient, which communicate via Webservice with the Server, can select, update, insert or delete some Information on the DB. This part is already written and works fine. Now, I want to include a dynamic part in the application. If the client does a query on a table (Testtable) that ...

6. Mapping pojo to dynamic table names    forum.hibernate.org

7. Is it possible to mix pojo & dynamic entity mode togethe    forum.hibernate.org

Hi, I am dealing with a large set of legacy Java code base which we are modifying the persistence part using Hibernate3. Some domain model objects are pojos, I set "hibernate.default_entity_mode=pojo" to map these objects. Some other domain objects are just Java maps, I plan to use dynamic entity to map these, but I have to set "hibernate.default_entity_mode=dynamic-map" My question is ...