1. How can I simulate the ending of a transaction using JUnit with Spring and Hibernate to isolate a LazyInitializationException? stackoverflow.comI'm trying to write a test that isolates the failure to load a property because no Session exists. The following path fails
|
2. Hibernate/Spring: Error loading lazy collection in a @Transactional stackoverflow.comI though I understood lazy/eager loading, but obviously I don't: I have a service that is marked @Transactional, yet when I try to manipulate the list I get (accessing its objects), I ... |
3. Spring transactions & hibernate: lazy initialization stackoverflow.comFrom what I've read so far I had the understanding that using transactions would be the solution to hibernate's lazy loading problems. The session would be available during the whole transaction ... |
4. Spring, @Transactional and Hibernate Lazy Loading stackoverflow.comi'm using spring + hibernate. All my HibernateDAO use directly sessionFactory. I have application layer -> service layer -> DAO layer and all collections is lazly loaded. So, the problem is that sometime ... |
5. Lazy Loading error stackoverflow.comI know that this issue was already raised here several time. However I couldn't find any solution which will help so I decided to post it again. I'm using Hibernate with ... |
6. LazyInitializationException due to no session defined in "parent" application context in Hibernate 3 in a moduled Spring application using annotations stackoverflow.comI am fairly new to both Hibernate3 and Spring3, and I'm having an issue related to initializing lazy references of a hibernate object. I have a fully contained dao and service. The ... |
7. Weired session error in lazy-fetch stackoverflow.comThe error is |
8. Prevent Dozer from triggering Hibernate lazy loading stackoverflow.comI am using Spring transactions so the transaction is still active when POJO to DTO conversion occurs. I would like to prevent Dozer from triggering lazy loading, so that hidden sql queries ... |
9. Keeping Hibernate Session from Expiring via Annotations? -- failed to lazily initialize a collection of role stackoverflow.comI have a hibernate DAO that is throwing a "failed to lazily initialize a collection of role" Exception when trying to access a member of the returned object that is a ... |
10. Lazy Loading/@Transactional - Closing Session issue forum.springsource.orgCode: DEBUG: org.springframework.orm.hibernate3.HibernateTemplate - Not closing pre-bound Hibernate Session after HibernateTemplate DEBUG: org.springframework.orm.hibernate3.HibernateTransactionManager - Initiating transaction commit DEBUG: org.springframework.orm.hibernate3.HibernateTransactionManager - Committing Hibernate transaction on Session [org.hibernate.impl.SessionImpl@6bc839a] DEBUG: org.springframework.orm.hibernate3.HibernateTransactionManager - Closing Hibernate ... |
11. iBatis lazy load transaction issues. forum.springsource.orgiBatis lazy load transaction issues. Hi forum, I'm having a problem with ibatis plus lazy load when I'm dealing with transactions managed by Spring. If I have a transaction initialized by ... |
12. Spring TransactionProxyFactoryBean & lazy initialization forum.springsource.orgAug 5th, 2005, 05:32 PM #1 apuarimus View Profile View Forum Posts Private Message Junior Member Join Date Dec 2004 Posts 4 Spring TransactionProxyFactoryBean & lazy initialization The basic info: Dao ... |
13. how to have Hibernate lazy loading with Spring transaction forum.springsource.orghow to have Hibernate lazy loading with Spring transaction Hi, My application is built on spring hibernate. we are using inversion of control with hibernate template and callback. For transaction mamagement ... |
14. how to use hibernate lazy loading with spring transaction forum.springsource.orghow to use hibernate lazy loading with spring transaction Hi, My application is built on spring hibernate. we are using inversion of control with hibernate template and callback. For transaction mamagement ... |
15. AOP and transaction lazy init forum.springsource.orgHi, I tried to use |
16. how to make lazy loading transactional forum.springsource.orghow to make lazy loading transactional hi, i'm using * Hibernate 3.2.3 * Spring 2.0.5 * @Transactional annotations and |
17. JPA Fetch.LAZY causes strange behaviour in Transaction forum.springsource.orgJPA Fetch.LAZY causes strange behaviour in Transaction Hi, I'm not sure if this is a Toplink or Spring problem or my problem but here we go anyway! if I mark a ... |
18. JMS, transactions and Hibernate's lazy initialization exceptions forum.springsource.orgJMS, transactions and Hibernate's lazy initialization exceptions I have a webapp that uses annotation driven transactions. It's a configuration I've used with a number of small projects and seems to work ... |
19. Lazy Loading error with Transaction when using ContextLoaderListener - Very odd forum.springsource.orgLazy Loading error with Transaction when using ContextLoaderListener - Very odd Hi, I'm getting a very odd issue with transaction management when using a ContextLoaderListener. Any help would be much appreciated. ... |
20. Transaction commits just before lazy load failure forum.springsource.orgMar 26th, 2009, 08:47 PM #1 dkarr View Profile View Forum Posts Private Message Visit Homepage Senior Member Join Date Jan 2006 Location Seattle, Washington Posts 403 Transaction commits just before ... |
21. JTA + (Hibernate) Lazy Loading forum.springsource.orgApr 15th, 2009, 08:37 AM #1 flai View Profile View Forum Posts Private Message Junior Member Join Date Aug 2008 Posts 7 JTA + (Hibernate) Lazy Loading Hi, Is it possible ... |
22. GenericApplicationContext + @Transactional -> lazy-init exception forum.springsource.orgGenericApplicationContext + @Transactional -> lazy-init exception Hi, I think I've read 95% of the worlds blog- and forum posts on this issue. I still can't resolve it. I get the dreaded: ... |
23. Spring, Hibernate, Transactions and Lazy Loading forum.springsource.orgSpring, Hibernate, Transactions and Lazy Loading I'm fairly new to Spring/Hibernate, and I've set up a learner site for myself using the "latest and greatest" of both. I'm using the OpenSessionInViewFilter ... |
24. Spring, Hibernate, lazy loading, transactions, no web container forum.springsource.orgSpring, Hibernate, lazy loading, transactions, no web container Hi All, I know that this is a very common topic here but I couldn't find the solution so far. I have tried ... |