aspose 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
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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30780
    
157

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
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30780
    
157

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