-->
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.  [ 1 post ] 
Author Message
 Post subject: Can Hibernate be used without reference mappings?
PostPosted: Tue Feb 24, 2015 3:50 pm 
Newbie

Joined: Tue Feb 24, 2015 3:22 pm
Posts: 1
Hi.

I am a strong SQL developer, using databases with thousands of tables. I am starting to use ORM for new web applications. My problem is that mapping references (many to one, many to many, etc.) with my mapped tables/classes is like enforcing in my app a messy legacy hierarchical database (the 70's!). I see it more as an academical concern than a real practical tool. Remember, I am talking about hundreds of tables interrelated, not two or three like the cases you see in tutorials and books.
Since a tool is a good tool when it lets you use just what you need (and leave what you don't in the shelf, in case you need it in the future) I was wondering if it is architecturally possible for an app to map only the needed tables and keep all referential integrity by (written) code, as it has been done since relational databases exist, letting the database to do what it is mean to do (why would you pay US$5 meg or more for an Oracle infrastructure if you don't?).
I haven't found any advice, example or comment about this concern, so I would like to leave this idea floating around: can Hibernate be used without reference mappings?


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

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.