This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

2 Questions regarding JDO  RSS feed

 
sopal Pal
Ranch Hand
Posts: 83
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
Q1 : I was going through the article JDO Vs CMP located at

http://www.onjava.com/pub/a/onjava/2003/05/21/jdo.html

What does the author mean when he says

- "JDO does not support managed relationships, although some vendors offer them as optional features"

I am confused what does managed relationships mean here.
Does it imply that Cascade Delete(s) etc. are not taken care of in JDO

Q2. My next question is with reference to the Caching Model in JDO.

Assuming that the Client and JDO Implementations are running on the same JVM, if JDO caches all of the query data - would not the JVM run out of memory after some time.

Where are the caching times etc conffigured.

If the Client is a GUI Intensive applications that needs to maintain the queried data in its own structures would not it result in a memory hungry JVM

Thanks
 
Erik Bengtson
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
answer 1:

http://www.jdocentral.com/JDO_Articles_20040224.html

jdo 2 introduces dependent objects which permits you to cascade delete your objects

answer 2:

the default jdo cache is weak reference type which means in general terms if you get out of memory the cache will be gargabe collected
 
Erik Bengtson
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I forgot to say, JPOX supports managed relationships
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!