This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes How to calculate space complexity for JPA Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Reply Bookmark "How to calculate space complexity for JPA" Watch "How to calculate space complexity for JPA" New topic
Author

How to calculate space complexity for JPA

Haseeb Yousaf
Greenhorn

Joined: Oct 31, 2011
Posts: 5
Hi,
I am doing some performance comparisons between different JPA implementations (Hibernate, OpenJPA and Eclipse). One of the features for the comparison is the space complexity of each JPA implementation. I need some tool with the help of which I can do this kind of testing. Please any help is appreciated.
thanks
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26182
    
  66

Number entities/ Number fields? Number relationships?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Haseeb Yousaf
Greenhorn

Joined: Oct 31, 2011
Posts: 5
The number of entities are almost 45, the number of fields are about 50 and the number of association about 20,,,
I hope that helps
Jeanne Boyarsky
internet detective
Marshal

Joined: May 26, 2003
Posts: 26182
    
  66

I was suggesting that those numbers give you a guide as to complexity. I don't know that there is a specific formula for JPA.
Haseeb Yousaf
Greenhorn

Joined: Oct 31, 2011
Posts: 5
My question is if there is any way how much space the hibernate will take when the application is run and when the hibernate maps the entities to the application.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to calculate space complexity for JPA
 
Similar Threads
Good book to understand the Analysis and Design of Algorithm
How to transpose a matrix?
What is the relationship between JMS and MDB?
I want to learn how to Determine the complexity o fthe algorithm.
Scriptlets -> Time and Space Complexity