*
The moose likes Object Relational Mapping and the fly likes How do I display the first item from a Hibernate set in JSTL? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "How do I display the first item from a Hibernate set in JSTL?" Watch "How do I display the first item from a Hibernate set in JSTL?" New topic
Author

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

Dave Alvarado
Ranch Hand

Joined: Jul 02, 2008
Posts: 436
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How do I display the first item from a Hibernate set in JSTL?
 
Similar Threads
JSTL Request scope bound List problem
global-method-security in spring roo and @ PreAuthorized
Spring and SchedulerFactoryBean
org.hibernate.NonUniqueObjectException at second request
validation problem