Announcement Announcement Module
Collapse
No announcement yet.
Query the database views Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    Looks like there might be issue in your mapping. There's too less info provided for anybody to help

    Comment

    Working...
    X