Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8047115
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:00:15+00:00 2026-06-05T06:00:15+00:00

I have a database set up with hibernate. In my jsp page I display

  • 0

I have a database set up with hibernate. In my jsp page I display a form to insert values, and I pass those values into my java class, which then saves that entry into a database, which works fine, but when I want to display the data from my table it gives me the error

org.apache.jasper.el.JspPropertyNotFoundException: /list_object.jsp(45,0) '${objectManager.allObjects}' The class 'ObjectManager$$EnhancerByCGLIB$$b2d7311' does not have the property 'allObjects'

For the line

<c:forEach var="object" items="${objectManager.allObjects}">

in

<c:forEach var="object" items="${objectManager.allObjects}">
    <tr>
    <td><c:out value="${object.objectID}"/></td>
    <td><c:out value="${object.objectRule}"/></td>
    </tr>
</c:forEach>

I think this is a problem with the Hibernate-Proxy-Object, but I run the same operation with another table/bean with the line

<c:forEach var="object" items="${objectManager.allLayouts}">

and it runs perfectly fine. I checked my xml config files and my hbm.xml config and the bean was set up correctly. I don’t know where the error originates from, and why it would work fine for one Spring-bean and not for the other

EDIT:

 @Transactional
 public class ObjectManager{
      private SessionFactory sessionFactory;

      public void saveObject(Objects object){
           getCurrentSession().save(object);
      }

      @SupressWarnings("unchecked")
      public Iterable<Objects> getAllObjects(){
            return getCurrentSession().createCriteria(Objects.class)
                   .addOrder(Order.desc("objectID"))
                   .list():
      }
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T06:00:16+00:00Added an answer on June 5, 2026 at 6:00 am

    I think the error is pretty self explanatory.

    There is no getAllObjects() method for the objectManager object.

    Your working example is using a different method – getAllLayouts().

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to insert into my database table, which I set up with hibernate/Spring,
Looking to have a database query set all the instance variables in a class:
I have a requirement that i need to set the connection into the hibernate,
I need to have hibernate database config set from outside text file, how can
I have retrieve the Order table form database using hibernate criteria option. In my
Suppose the following: I have a database set up on database.mywebsite.com , which resolves
I have a legacy database set with NLS_LANG set to IW8ISO8859P8. This I cannot
I have a MySQL database set-up in a hierarchy style. There are 4 tables
Quick question I have a database with snapshot enabled using ALTER DATABASE myDB SET
I have an SQL database with a set of tables that have Unique Id's.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.