Results 1 to 2 of 2

Thread: Query the database views

  1. #1
    Join Date
    Dec 2012
    Posts
    3

    Default Query the database views

    Is accessing the database view are same as tables using hibernate3 and springframework ?. I get a null values populated . The hibernate mapping was done using middlegen to generate the mapping file for the Oracle view. Rest was all the same as accesing a table .

    List l = this.getHibernateTemplate().find("from abcView")

    The returned list size was actually the number of records in the view, but all of the individual elements in the returned list are NULL. Appreciate your help.

    Thanks

  2. #2
    Join Date
    Dec 2009
    Location
    India
    Posts
    108

    Default

    Looks like there might be issue in your mapping. There's too less info provided for anybody to help

Posting Permissions

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