This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

View instead of Table

 
Xavier George
Ranch Hand
Posts: 39
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am planning to use database View instead of base table. I know there will be problem with insert/update with view (depends how view is ceated).
But, I want to use view only for select and not for insert/update/delete.

Does Hibernate place any restriction using Database Views instead of Table?
 
Jaikiran Pai
Marshal
Pie
Posts: 10444
227
IntelliJ IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does Hibernate place any restriction using Database Views instead of Table?


We have been using views with Hibernate without any issues.
[ August 04, 2006: Message edited by: jaikiran pai ]
 
Ghulam Rashid
Ranch Hand
Posts: 278
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
View can be used in hibernate without issues, TRUE. But, I beleive its more appropriate for SELECT and not for INSERT/UPDATE/DELETE. Again, it all depeneds how view is created.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic