File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
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: 30068
    
149

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: 30068
    
149

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: How to calculate space complexity for JPA
 
Similar Threads
Scriptlets -> Time and Space Complexity
Good book to understand the Analysis and Design of Algorithm
How to transpose a matrix?
I want to learn how to Determine the complexity o fthe algorithm.
What is the relationship between JMS and MDB?