The Artima Developer Community
Sponsored Link

Java Buzz Forum
Transparent Persistence: It's ok that it isn't totally transparent!

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Transparent Persistence: It's ok that it isn't totally transparent! Posted: Sep 1, 2004 9:49 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Transparent Persistence: It's ok that it isn't totally transparent!
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
I have recently been in a few conversations regarding Transparent Persistence. Is it possible to have 100% transparent persistence? Not within Java. There is an impedence mismatch between objects and relational. You don't "delete" an object in Java. You let it go out of scope, or you set it to null, or something else. What would it mean to delete the object? How would you query for objects? We need some kind of API/QL to do this Oh man, so we DON'T have transparent persistence. Woe is me. We are doomed It isn't bad that we don't have fully transparent persistence. I think it is actually a GOOD thing. As soon as you go into the way of data and persistence the rules change, and you may want to do things differently. However, for many of the things that you do, you want to basically be working with objects and have persistence taken care of for you. What we DON'T want to do, is the manual mapping between objects and JDBC/SQL. Or manually working with connections, and statements, and all that garbage :) So. With JDO (and Hibernate and Cayenne and ...) we have a good level of transparency, but we are allowed to get in there when we need too. However, maybe we are doing OR mapping all wrong (NOTE: Google. How about hiring Brian and funding him to do this work?)

Read: Transparent Persistence: It's ok that it isn't totally transparent!

Topic: More GMail Invites Previous Topic   Next Topic Topic: Network Discovery

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use