Results 1 to 3 of 3
  1. #1
    rajiv is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Question display tag hibernate problem

    hai any one say how to refer parent table attribute using display tag property ..

    my hibernate pojo class contains

    variable name as parent table name...

    example : private MaterialRequest materialrequest;

    how to get attribute from MaterialRequest in display tag property

  2. #2
    arun9683 is offline Member
    Join Date
    Jun 2010
    Location
    Bangalore,India
    Posts
    70
    Rep Power
    0

    Default

    can you paste your display tag code ?
    Arun K R,Bangalore,India
    :)

  3. #3
    rajiv is offline Member
    Join Date
    Jul 2010
    Posts
    2
    Rep Power
    0

    Default

    i retrive child table(MaterialRequestItems) attributes using select query from hibernate and then set to list named ''REQUEST "

    <display:table id="row" name="request" >
    <display:column property ="materialRequest.materialId " title="materialRequest.materialId " sortable="true" headerClass="sortable" />

    materialRequest is object of MaterialRequest(parent table) in hibernate POJO class

    but i need to get materialCode . ie i need to get column materialCode
    from parent table...

    can u provide solution?????

Similar Threads

  1. hibernate struts problem
    By laxmankande in forum Advanced Java
    Replies: 8
    Last Post: 02-22-2010, 06:08 PM
  2. Hibernate aplication Problem
    By Prashant.surwade in forum Advanced Java
    Replies: 6
    Last Post: 09-18-2009, 10:32 AM
  3. composite-id problem hibernate
    By javadev in forum JDBC
    Replies: 14
    Last Post: 07-27-2009, 06:30 PM
  4. problem in hibernate need help!
    By jrgahan in forum Advanced Java
    Replies: 0
    Last Post: 05-22-2008, 09:00 AM
  5. Problem with First Hibernate program
    By sireesha in forum JDBC
    Replies: 11
    Last Post: 05-05-2008, 04:19 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •