nameObject performance

Thomas Dingler <[email protected]> Thu, 9 Dec 2004 21:22:03 +0100
Newsgroups gmane.comp.java.ozone.user
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I have a database with about 100k objects (5megabyte) stored. When I 
create new objects, I use

createObject(java.lang.String  className,
                                int access,
                                java.lang.String objName)

This call takes on my machine (external database, running on localhost, 
4Ghz)
about 5 seconds, even on very easy objects.

I splitted the call into createObject(className) and nameObject(obj, 
name) and
realised, that the creatObject call takes less than a second, but the 
nameObject takes more than 4 seconds.

Any ideas but not using names ;-) ?

tnx,

Thomas Dingler

-----BEGIN PGP SIGNATURE-----
Version: PGP 8.1

iQA/AwUBQbiz7rn0SLup8M1VEQIVWgCePPW3Bii7m8oYONPZ25ZDMLk5tmIAn1kj
oLSw4T3cG140YR7Tm9CZFUKI
=5z+p
-----END PGP SIGNATURE-----



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/