1. How to use Lazy Entity Loading in a Java EE Web Application? stackoverflow.comIn my Web Application I load many Entities, to display them in a table. I can click on each tablerow to get the 'detailed information' regarding the specific entity. To me it ... |
2. EntityManager.persist problem on load related entity stackoverflow.comi have a problem with EntityManager.persist (i use tooplink of glassfish). My code is:
|
3. Why does loading an object with session.get doesn't persist object modifications at the end of session? stackoverflow.comMaybe I misunderstood the semantics of get and merge in hibernate, but if I do this (in a Spring method controller, so using service and dao layers):
|
4. lazy loading problem with transitive persistence forum.hibernate.orgPage 1 of 1 [ 1 post ] Previous topic | Next topic Author Message mongole Post subject: lazy loading problem with transitive persistence Posted: Mon Jul 12, 2010 8:19 am Newbie Joined: Mon Nov 30, 2009 2:19 pm Posts: 7 hello! I have got an object model, which makes use ... |
5. transitive persistence and lazy loading forum.hibernate.orgHi, A question on lazy loading. I have three class: Class A has one-to-many association with Class B; cascade="save-update" inverse="false" lazy="true" Class B is defined as a List in Class A; Class B has one-to-many association with Class C; cascade="save-update" inverse="false" lazy="true" Class C is defined as a List in Class B; So when I retrieve Class A, Class B will ... |
6. Help, Set is correctly persisted, but not loaded. forum.hibernate.orgNewbie Joined: Tue Oct 12, 2004 5:04 pm Posts: 5 Hibernate 2.1.6 JDK 1.4.2_05 / J2SDK 5 MySQL 4.1 Tomcat 5 Hi, I've got 2 POJO's and their respective mapping files generated thru XDoclet. (see code below). In short the relation between the POJO's is that a shoppinglist has one or more shoppinglistitems and a shoppinglistitem only belongs to one shoppinglist. ... |
7. Classloading problem on SAP WAS: persistent class not found forum.hibernate.orgHi there, I am going to get Hibernate working on SAP WAS 6.20 (there, within enterprise portal, which, seen from WAS perspective, is a web application, which holds it's own portal applications). If I put all the Hibernate stuff (JARs) as well as the xml files into the portal application project so that it gets deployed as part of my portal ... |
8. Networking with a loaded persisted object forum.hibernate.orgI'm converting the server side of a client-server application to use Hibernate. It is not a web application. I'm using Hibernate 2.1.7 right now, and will use version 3 if anyone thinks it will help with this. The server application responds to client requests and needs to use Hibernate to get objects (an object graph) from the database. It will then ... |
9. Objects loaded by createSQLQuery are not persisted forum.hibernate.orgHi I am using createSQLQuery to fetch a list of objects. The objects does not exist in the database, the query is used to get the attributes for instantiating the loaded objects. This works fine - the objects are in my list. However the objects are not persisted. The objects are loaded into the list and into the session, but hibernate ... |
10. Loading Persistent class from a different ClassLoader forum.hibernate.orgHi, In my application I have a process that can accept plugin modules to run. Each such plug-in can use its own sub class of one of my tables (I am usinf the 'table per sub class' startegy). The problem is that those plug-ins are deployed in separate JAR files and loaded dynamically into the application using a diefferent class loader ... |
11. Persist object w/o loading its |
12. Lazy loading and hibernate as JPA persistence provider forum.hibernate.org |
13. Lazy loading and decoupling of persistence from business log forum.hibernate.orghow can you use lazy loading if you want to decouple the business logic from the persistence classes? Don't you have to make the objects eager before leaving the persistence classes? I'm just starting to look into this concept but I would think that once the session is closed, in the persistence class, you can no longer initialize them (make them ... |
14. Lazy loading VS persistent storage decoupling forum.hibernate.orgHow does the philosophy of trying to decouple the persistent storage implementation from the rest of your application fit in with lazy loading? (You cannot determine when you want something initialized without some business logic.) Apparently, since no one can answer this, they are mutually exclusive and so lazy loading does not follow the best practices as specified through standard design ... |