Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How do I display the first item from a Hibernate set in JSTL?

 
Dave Alvarado
Ranch Hand
Posts: 436
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'm using Spring 3.1.1.RELEASE, Hibernate 4.1.0.Final, and JBoss 7.1.3 AS. I have a Hibernate entity with this field …



I would like to reference the first address in the field and so through JSTL I tried doing this:



However I get the exception …



Is it possible to access the first address object? Thanks, - Dave
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic