-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Map java POJOs to DB views
PostPosted: Mon Feb 20, 2006 1:40 pm 
Newbie

Joined: Mon Feb 20, 2006 1:27 pm
Posts: 1
I'm currently working on a web application that get/store information in a DB2 database.
Every CRUD is done manually through DB views (substitution of select for update, insert, etc.. by triggers through the "INSTEAD OF " sql command) and SQL queries
My question is (and I didn't find anything in the doc ) : is it possible to map POJOs to these views with Hibernate, instead of mapping them directly to tables ?


Top
 Profile  
 
 Post subject: 2c
PostPosted: Mon Feb 20, 2006 6:07 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
If you are heavy on using SQL and DB features than iBatis might be a better fit in your situation.
http://ibatis.apache.org/

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.