• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Liutauras Vilda
  • Paul Clapham
Sheriffs:
  • paul wheaton
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Piet Souris
Bartenders:
  • Mike London

Spring one to many association not working - nested loop throws exception

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys!

In my project I use Spring 3.0.0.RELEASE and Hibernate 3.6.10. I also use JDK7 and PostgreSQL 9.1.9.

Heres goes the dependencies from pom.xml file




I have following DB schema:




When I want to use nested forEach loop in JSP view I get exception.

JSP:





Now I will paste code from my project, so anyone can help me with debug:

MODELS / ENTITIES

ApplicationEntity.java


ApplicationStateEntity.java




DAO

ApplicationDao.java


ApplicationDaoImpl.java




SERVICE

ApplicationService.java



ApplicationServiceImpl.java




CONTROLLER




Edit:


ah and stacktrace

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you please provide me spring-servlet.xml
 
Maciej Kowalski
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I deleted this project.

Well I had a deadline - 15 June.

I posted this question on this board and spring - got no help.

So I rewrote whole project in 1 day in Ruby on Rails + implemented new functionality.

JEE is so frustating compared to Rails.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic