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
|