-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Static select for entity
PostPosted: Fri Dec 11, 2009 1:56 pm 
Beginner
Beginner

Joined: Mon Aug 23, 2004 12:44 am
Posts: 25
Hello,

When starting Hibernate in debug mode I see thousands of statements like the following:

[code]2009-12-11 18:16:43,754 DEBUG [org.hibernate.loader.entity.EntityLoader] - Static select for entity be.xyz.DimensieDefinitie: select dimensiede0_.SK as SK1_0_, dimensiede0_.ORM_VERSIE as ORM2_1_0_, dimensiede0_.CODE as CODE1_0_, dimensiede0_.NAAM as NAAM1_0_, dimensiede0_.VALIDATE_DIM as VALIDATE5_1_0_, dimensiede0_.WIJZIGINGSDATUM as WIJZIGIN6_1_0_, dimensiede0_.WIJZINGSAUTEUR as WIJZINGS7_1_0_, dimensiede0_.AANTAL_BUDD as AANTAL1_2_0_, dimensiede0_.AANTAL_AUDD as AANTAL2_2_0_, dimensiede0_.AFLEIDEND as AFLEIDEND2_0_, dimensiede0_.OPTIONAL as OPTIONAL28_0_, dimensiede0_.UD_CLASSNAME as UD2_28_0_, dimensiede0_.UD_FLDNAME_ON_BWS as UD3_28_0_, dimensiede0_.clazz_ as clazz_0_ from ...[/code]

What do these statements actually mean/do ?
Is this actual sql that gets executed ?
Are all of these objects loaded upon startup and if so why ?

I'm a bit worried, because upon startup I don't want hibernate to go over all of my tables and load all of my data into memory.

Can somebody shed some light on this ?

Thanks,
EDH


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.