-->
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.  [ 7 posts ] 
Author Message
 Post subject: Problem in many-to-one association
PostPosted: Sat Feb 23, 2008 1:12 pm 
Newbie

Joined: Fri Feb 15, 2008 5:07 am
Posts: 13
Hi i'm having a problem with a simple one-to-many association, the thing is that another association that is equals works perfectly, and for this case is raising a null pointer exception, i read the documentation and it seems llike the mapping files are ok, so i don't know what is happening, and also the exception text is not very helpful.

Mapping files

<hibernate-mapping>
<class name="sicce.api.info.Location" table="location" catalog="sicce">
<id name="idLocation" type="java.lang.Integer">
<column name="ID_LOCATION" />
<generator class="increment" />
</id>

<many-to-one name="powerMeter" class="sicce.api.info.PowerMeter" fetch="select">
<column name="POWER_METER_ID_POWER_METER" not-null="true" />
</many-to-one>


</class>
</hibernate-mapping>

--------------------------------------------------------------

<hibernate-mapping>
<class name="sicce.api.info.PowerMeter" table="power_meter" catalog="sicce">
<id name="idPowerMeter" type="java.lang.Integer">
<column name="ID_POWER_METER" />
<generator class="increment" ></generator>
</id>

<set name="locations" >
<key>
<column name="POWER_METER_ID_POWER_METER" not-null="true" />
</key>
<one-to-many class="sicce.api.info.Location" />
</set>

</class>
</hibernate-mapping>


-----------------------------------------------------------------------

I have the properties correctly in each class with its respective getter and setter

In Location.class

private PowerMeter powerMeter;

In PowerMeter.class

private Set locations = new HashSet(0);


Full stack trace of any exception that occurs:

Exception in thread "main" java.lang.NullPointerException
at org.hibernate.tuple.AbstractEntityTuplizer.createProxy(AbstractEntityTuplizer.java:372)
at org.hibernate.persister.entity.AbstractEntityPersister.createProxy(AbstractEntityPersister.java:3121)
at org.hibernate.event.def.DefaultLoadEventListener.createProxyIfNecessary(DefaultLoadEventListener.java:232)
at org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:173)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:87)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862)
at org.hibernate.impl.SessionImpl.internalLoad(SessionImpl.java:830)
at org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:266)
at org.hibernate.type.EntityType.resolve(EntityType.java:303)
at org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116)
at org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842)
at org.hibernate.loader.Loader.doQuery(Loader.java:717)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2145)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
at org.hibernate.loader.Loader.list(Loader.java:2024)
at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
at org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
at org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
at org.springframework.orm.hibernate3.HibernateTemplate$29.doInHibernate(HibernateTemplate.java:849)
at org.springframework.orm.hibernate3.HibernateTemplate.execute(HibernateTemplate.java:372)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:840)
at org.springframework.orm.hibernate3.HibernateTemplate.find(HibernateTemplate.java:832)
at sicce.api.dataaccess.LocationDAO.findAll(LocationDAO.java:107)
at sicce.api.info.Main.main(Main.java:76)


Name and version of the database you are using:

MySql 5

The generated SQL (show_sql=true):

Hibernate: select location0_.ID_LOCATION as ID1_11_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_ from sicce.location location0_

Any idea?

Regards,

gishac
Db4o Most Valued Professional


Top
 Profile  
 
 Post subject: Re: Problem in many-to-one association
PostPosted: Sat Feb 23, 2008 1:49 pm 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
What hibernate version are you using? Can you show me the whole log from the beginning till this exception?



Farzad-


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 2:07 pm 
Newbie

Joined: Fri Feb 15, 2008 5:07 am
Posts: 13
I'm using hibernate3.1 with spring 2.0, the complete log is:

at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
WARN [main] (PojoEntityTuplizer.java:173) - could not create proxy factory for:sicce.api.info.OptionSicce
org.hibernate.HibernateException: CGLIB Enhancement failed: sicce.api.info.OptionSicce
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
... 41 more
DEBUG [main] (ReflectHelper.java:220) - reflection optimizer disabled for: sicce.api.info.OptionSicce, NoClassDefFoundError: Could not initialize class net.sf.cglib.beans.BulkBean
DEBUG [main] (AbstractEntityPersister.java:2447) - Static SQL for entity: sicce.api.info.OptionSicce
DEBUG [main] (AbstractEntityPersister.java:2449) - Version select: select ID_OPTION_SICCE from sicce.option_sicce where ID_OPTION_SICCE =?
DEBUG [main] (AbstractEntityPersister.java:2450) - Snapshot select: select optionsicc_.ID_OPTION_SICCE, optionsicc_.DESCRIPTION as DESCRIPT2_10_, optionsicc_.ICON as ICON10_ from sicce.option_sicce optionsicc_ where optionsicc_.ID_OPTION_SICCE=?
DEBUG [main] (AbstractEntityPersister.java:2452) - Insert 0: insert into sicce.option_sicce (DESCRIPTION, ICON, ID_OPTION_SICCE) values (?, ?, ?)
DEBUG [main] (AbstractEntityPersister.java:2453) - Update 0: update sicce.option_sicce set DESCRIPTION=?, ICON=? where ID_OPTION_SICCE=?
DEBUG [main] (AbstractEntityPersister.java:2454) - Delete 0: delete from sicce.option_sicce where ID_OPTION_SICCE=?
ERROR [main] (CGLIBLazyInitializer.java:130) - CGLIB Enhancement failed: sicce.api.info.Measure
java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
WARN [main] (PojoEntityTuplizer.java:173) - could not create proxy factory for:sicce.api.info.Measure
org.hibernate.HibernateException: CGLIB Enhancement failed: sicce.api.info.Measure
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
... 41 more
DEBUG [main] (ReflectHelper.java:220) - reflection optimizer disabled for: sicce.api.info.Measure, NoClassDefFoundError: Could not initialize class net.sf.cglib.beans.BulkBean
DEBUG [main] (AbstractEntityPersister.java:2447) - Static SQL for entity: sicce.api.info.Measure
DEBUG [main] (AbstractEntityPersister.java:2449) - Version select: select ID_MEASURE from sicce.measure where ID_MEASURE =?
DEBUG [main] (AbstractEntityPersister.java:2450) - Snapshot select: select measure_.ID_MEASURE, measure_.ID_POWER_METER as ID2_9_, measure_.LOCATION_ID_LOCATION as LOCATION3_9_, measure_.VALUE as VALUE9_, measure_.DATE_MEASURE as DATE5_9_ from sicce.measure measure_ where measure_.ID_MEASURE=?
DEBUG [main] (AbstractEntityPersister.java:2452) - Insert 0: insert into sicce.measure (ID_POWER_METER, LOCATION_ID_LOCATION, VALUE, DATE_MEASURE, ID_MEASURE) values (?, ?, ?, ?, ?)
DEBUG [main] (AbstractEntityPersister.java:2453) - Update 0: update sicce.measure set ID_POWER_METER=?, LOCATION_ID_LOCATION=?, VALUE=?, DATE_MEASURE=? where ID_MEASURE=?
DEBUG [main] (AbstractEntityPersister.java:2454) - Delete 0: delete from sicce.measure where ID_MEASURE=?
ERROR [main] (CGLIBLazyInitializer.java:130) - CGLIB Enhancement failed: sicce.api.info.PowerMeter
java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
WARN [main] (PojoEntityTuplizer.java:173) - could not create proxy factory for:sicce.api.info.PowerMeter
org.hibernate.HibernateException: CGLIB Enhancement failed: sicce.api.info.PowerMeter
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:132)
at org.hibernate.proxy.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:41)
at org.hibernate.tuple.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:161)
at org.hibernate.tuple.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:131)
at org.hibernate.tuple.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.TuplizerLookup.create(TuplizerLookup.java:64)
at org.hibernate.tuple.EntityMetamodel.<init>(EntityMetamodel.java:257)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:412)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:108)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:216)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1176)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:805)
at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:745)
at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:134)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1202)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1172)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:428)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:261)
at org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:109)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:1100)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:862)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:424)
at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:251)
at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:156)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:248)
at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:160)
at sicce.api.dataaccess.DataAccessManager.getInstance(DataAccessManager.java:87)
at sicce.api.info.Main.main(Main.java:76)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
... 41 more
DEBUG [main] (ReflectHelper.java:220) - reflection optimizer disabled for: sicce.api.info.PowerMeter, NoClassDefFoundError: Could not initialize class net.sf.cglib.beans.BulkBean
DEBUG [main] (AbstractEntityPersister.java:2447) - Static SQL for entity: sicce.api.info.PowerMeter
DEBUG [main] (AbstractEntityPersister.java:2449) - Version select: select ID_POWER_METER from sicce.power_meter where ID_POWER_METER =?
DEBUG [main] (AbstractEntityPersister.java:2450) - Snapshot select: select powermeter_.ID_POWER_METER from sicce.power_meter powermeter_ where powermeter_.ID_POWER_METER=?
DEBUG [main] (AbstractEntityPersister.java:2452) - Insert 0: insert into sicce.power_meter (ID_POWER_METER) values (?)
DEBUG [main] (AbstractEntityPersister.java:2453) - Update 0: null
DEBUG [main] (AbstractEntityPersister.java:2454) - Delete 0: delete from sicce.power_meter where ID_POWER_METER=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.PowerMeter.locations
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: update sicce.location set POWER_METER_ID_POWER_METER=? where ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: update sicce.location set POWER_METER_ID_POWER_METER=null where POWER_METER_ID_POWER_METER=? and ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: update sicce.location set POWER_METER_ID_POWER_METER=null where POWER_METER_ID_POWER_METER=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.Role.permissions
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: insert into option_role (ID_ROLE, ID_OPTION_SICCE) values (?, ?)
DEBUG [main] (AbstractCollectionPersister.java:513) - Row update: update option_role set ID_OPTION_SICCE=? where ID_ROLE=? and ID_OPTION_SICCE=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: delete from option_role where ID_ROLE=? and ID_OPTION_SICCE=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: delete from option_role where ID_ROLE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.OptionSicce.roles
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: insert into option_role (ID_OPTION_SICCE, ID_ROLE) values (?, ?)
DEBUG [main] (AbstractCollectionPersister.java:513) - Row update: update option_role set ID_ROLE=? where ID_OPTION_SICCE=? and ID_ROLE=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: delete from option_role where ID_OPTION_SICCE=? and ID_ROLE=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: delete from option_role where ID_OPTION_SICCE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.UnitMeasure.measures
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: update sicce.measure set ID_MEASURE=? where ID_MEASURE=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: update sicce.measure set ID_MEASURE=null where ID_MEASURE=? and ID_MEASURE=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: update sicce.measure set ID_MEASURE=null where ID_MEASURE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.LocationType.locations
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: update sicce.location set ID_LOCATION_TYPE=? where ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: update sicce.location set ID_LOCATION_TYPE=null where ID_LOCATION_TYPE=? and ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: update sicce.location set ID_LOCATION_TYPE=null where ID_LOCATION_TYPE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.Role.userSicces
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: update sicce.user_sicce set ID_ROLE=? where ID_USER_SICCE=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: update sicce.user_sicce set ID_ROLE=null where ID_ROLE=? and ID_USER_SICCE=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: update sicce.user_sicce set ID_ROLE=null where ID_ROLE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.Zone.locations
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: insert into location_zone (ID_ZONE, ID_LOCATION) values (?, ?)
DEBUG [main] (AbstractCollectionPersister.java:513) - Row update: update location_zone set ID_LOCATION=? where ID_ZONE=? and ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: delete from location_zone where ID_ZONE=? and ID_LOCATION=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: delete from location_zone where ID_ZONE=?
DEBUG [main] (AbstractCollectionPersister.java:511) - Static SQL for collection: sicce.api.info.B.axs
DEBUG [main] (AbstractCollectionPersister.java:512) - Row insert: update sicce.ax set b_id=? where id=?
DEBUG [main] (AbstractCollectionPersister.java:514) - Row delete: update sicce.ax set b_id=null where b_id=? and id=?
DEBUG [main] (AbstractCollectionPersister.java:515) - One-shot delete: update sicce.ax set b_id=null where b_id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Parameter: select parameter0_.ID_PARAMETER as ID1_6_0_, parameter0_.DESCRIPTION as DESCRIPT2_6_0_, parameter0_.VALUE as VALUE6_0_ from sicce.parameter parameter0_ where parameter0_.ID_PARAMETER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.UserSicce: select usersicce0_.ID_USER_SICCE as ID1_2_0_, usersicce0_.ID_ROLE as ID2_2_0_, usersicce0_.NAME as NAME2_0_, usersicce0_.LASTNAME as LASTNAME2_0_, usersicce0_.CODE_UCSG as CODE5_2_0_, usersicce0_.USERNAME_SICCE as USERNAME6_2_0_, usersicce0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicce0_ where usersicce0_.ID_USER_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.UnitMeasure: select unitmeasur0_.ID_UNIT_MEASURE as ID1_5_0_, unitmeasur0_.DESCRIPTION as DESCRIPT2_5_0_ from sicce.unit_measure unitmeasur0_ where unitmeasur0_.ID_UNIT_MEASURE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Role: select role0_.ID_ROLE as ID1_3_0_, role0_.DESCRIPTION as DESCRIPT2_3_0_ from sicce.role role0_ where role0_.ID_ROLE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Zone: select zone0_.ID_ZONE as ID1_0_0_ from sicce.zone zone0_ where zone0_.ID_ZONE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.LocationType: select locationty0_.ID_LOCATION_TYPE as ID1_7_0_, locationty0_.CODE as CODE7_0_, locationty0_.DESCRIPTION as DESCRIPT3_7_0_ from sicce.location_type locationty0_ where locationty0_.ID_LOCATION_TYPE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Location: select location0_.ID_LOCATION as ID1_11_0_, location0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location location0_ where location0_.ID_LOCATION=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.B: select b0_.id as id12_0_ from sicce.b b0_ where b0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Ax: select ax0_.id as id13_0_, ax0_.description as descript2_13_0_, ax0_.b_id as b3_13_0_ from sicce.ax ax0_ where ax0_.id=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.OptionSicce: select optionsicc0_.ID_OPTION_SICCE as ID1_10_0_, optionsicc0_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc0_.ICON as ICON10_0_ from sicce.option_sicce optionsicc0_ where optionsicc0_.ID_OPTION_SICCE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.PowerMeter: select powermeter0_.ID_POWER_METER as ID1_8_0_ from sicce.power_meter powermeter0_ where powermeter0_.ID_POWER_METER=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=?
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=? for update
DEBUG [main] (EntityLoader.java:79) - Static select for entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=? for update
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_MERGE on entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=?
DEBUG [main] (CascadeEntityLoader.java:34) - Static select for action ACTION_REFRESH on entity sicce.api.info.Measure: select measure0_.ID_MEASURE as ID1_9_0_, measure0_.ID_POWER_METER as ID2_9_0_, measure0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measure0_.VALUE as VALUE9_0_, measure0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measure0_ where measure0_.ID_MEASURE=?
DEBUG [main] (OneToManyLoader.java:64) - Static select for one-to-many sicce.api.info.PowerMeter.locations: select locations0_.POWER_METER_ID_POWER_METER as POWER2_1_, locations0_.ID_LOCATION as ID1_1_, locations0_.ID_LOCATION as ID1_11_0_, locations0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location locations0_ where locations0_.POWER_METER_ID_POWER_METER=?
DEBUG [main] (BasicCollectionLoader.java:64) - Static select for collection sicce.api.info.Role.permissions: select permission0_.ID_ROLE as ID1_1_, permission0_.ID_OPTION_SICCE as ID2_1_, optionsicc1_.ID_OPTION_SICCE as ID1_10_0_, optionsicc1_.DESCRIPTION as DESCRIPT2_10_0_, optionsicc1_.ICON as ICON10_0_ from option_role permission0_ left outer join sicce.option_sicce optionsicc1_ on permission0_.ID_OPTION_SICCE=optionsicc1_.ID_OPTION_SICCE where permission0_.ID_ROLE=?
DEBUG [main] (BasicCollectionLoader.java:64) - Static select for collection sicce.api.info.OptionSicce.roles: select roles0_.ID_OPTION_SICCE as ID2_1_, roles0_.ID_ROLE as ID1_1_, role1_.ID_ROLE as ID1_3_0_, role1_.DESCRIPTION as DESCRIPT2_3_0_ from option_role roles0_ left outer join sicce.role role1_ on roles0_.ID_ROLE=role1_.ID_ROLE where roles0_.ID_OPTION_SICCE=?
DEBUG [main] (OneToManyLoader.java:64) - Static select for one-to-many sicce.api.info.UnitMeasure.measures: select measures0_.ID_MEASURE as ID1_1_, measures0_.ID_MEASURE as ID1_9_0_, measures0_.ID_POWER_METER as ID2_9_0_, measures0_.LOCATION_ID_LOCATION as LOCATION3_9_0_, measures0_.VALUE as VALUE9_0_, measures0_.DATE_MEASURE as DATE5_9_0_ from sicce.measure measures0_ where measures0_.ID_MEASURE=?
DEBUG [main] (OneToManyLoader.java:64) - Static select for one-to-many sicce.api.info.LocationType.locations: select locations0_.ID_LOCATION_TYPE as ID3_1_, locations0_.ID_LOCATION as ID1_1_, locations0_.ID_LOCATION as ID1_11_0_, locations0_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from sicce.location locations0_ where locations0_.ID_LOCATION_TYPE=?
DEBUG [main] (BasicCollectionLoader.java:64) - Static select for collection sicce.api.info.Zone.locations: select locations0_.ID_ZONE as ID1_1_, locations0_.ID_LOCATION as ID2_1_, location1_.ID_LOCATION as ID1_11_0_, location1_.POWER_METER_ID_POWER_METER as POWER2_11_0_ from location_zone locations0_ left outer join sicce.location location1_ on locations0_.ID_LOCATION=location1_.ID_LOCATION where locations0_.ID_ZONE=?
DEBUG [main] (OneToManyLoader.java:64) - Static select for one-to-many sicce.api.info.Role.userSicces: select usersicces0_.ID_ROLE as ID2_1_, usersicces0_.ID_USER_SICCE as ID1_1_, usersicces0_.ID_USER_SICCE as ID1_2_0_, usersicces0_.ID_ROLE as ID2_2_0_, usersicces0_.NAME as NAME2_0_, usersicces0_.LASTNAME as LASTNAME2_0_, usersicces0_.CODE_UCSG as CODE5_2_0_, usersicces0_.USERNAME_SICCE as USERNAME6_2_0_, usersicces0_.PASSWORD_SICCE as PASSWORD7_2_0_ from sicce.user_sicce usersicces0_ where usersicces0_.ID_ROLE=?
DEBUG [main] (OneToManyLoader.java:64) - Static select for one-to-many sicce.api.info.B.axs: select axs0_.b_id as b3_1_, axs0_.id as id1_, axs0_.id as id13_0_, axs0_.description as descript2_13_0_, axs0_.b_id as b3_13_0_ from sicce.ax axs0_ where axs0_.b_id=?
DEBUG [main] (SessionFactoryObjectFactory.java:39) - initializing class SessionFactoryObjectFactory
DEBUG [main] (SessionFactoryObjectFactory.java:76) - registered: 3e1a294a18477719011847771c420000 (unnamed)
INFO [main] (SessionFactoryObjectFactory.java:82) - Not binding factory to JNDI, no JNDI name configured
DEBUG [main] (SessionFactoryImpl.java:293) - instantiated session factory
DEBUG [main] (SessionFactoryImpl.java:354) - Checking 0 named HQL queries
DEBUG [main] (SessionFactoryImpl.java:374) - Checking 0 named SQL queries
DEBUG [main] (CollectionFactory.java:90) - Creating [java.util.LinkedHashSet]
DEBUG [main] (CollectionFactory.java:90) - Creating [java.util.LinkedHashSet]
DEBUG [main] (DefaultSingletonBeanRegistry.java:152) - Creating shared instance of singleton bean 'UserSicceDAO'
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:345) - Creating instance of bean 'UserSicceDAO' with merged definition [Root bean: class [sicce.api.dataaccess.UserSicceDAO]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DEBUG [main] (CachedIntrospectionResults.java:242) - Getting BeanInfo for class [sicce.api.dataaccess.UserSicceDAO]
DEBUG [main] (CachedIntrospectionResults.java:258) - Caching PropertyDescriptors for class [sicce.api.dataaccess.UserSicceDAO]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'class' of type [java.lang.Class]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'hibernateTemplate' of type [org.springframework.orm.hibernate3.HibernateTemplate]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'sessionFactory' of type [org.hibernate.SessionFactory]
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:396) - Eagerly caching bean 'UserSicceDAO' to allow for resolving potential circular references
DEBUG [main] (AbstractBeanFactory.java:203) - Returning cached instance of singleton bean 'sessionFactory'
DEBUG [main] (CollectionFactory.java:90) - Creating [java.util.LinkedHashSet]
DEBUG [main] (DefaultSingletonBeanRegistry.java:152) - Creating shared instance of singleton bean 'LocationDAO'
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:345) - Creating instance of bean 'LocationDAO' with merged definition [Root bean: class [sicce.api.dataaccess.LocationDAO]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DEBUG [main] (CachedIntrospectionResults.java:242) - Getting BeanInfo for class [sicce.api.dataaccess.LocationDAO]
DEBUG [main] (CachedIntrospectionResults.java:258) - Caching PropertyDescriptors for class [sicce.api.dataaccess.LocationDAO]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'class' of type [java.lang.Class]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'hibernateTemplate' of type [org.springframework.orm.hibernate3.HibernateTemplate]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'sessionFactory' of type [org.hibernate.SessionFactory]
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:396) - Eagerly caching bean 'LocationDAO' to allow for resolving potential circular references
DEBUG [main] (AbstractBeanFactory.java:203) - Returning cached instance of singleton bean 'sessionFactory'
DEBUG [main] (CollectionFactory.java:90) - Creating [java.util.LinkedHashSet]
DEBUG [main] (DefaultSingletonBeanRegistry.java:152) - Creating shared instance of singleton bean 'LocationTypeDAO'
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:345) - Creating instance of bean 'LocationTypeDAO' with merged definition [Root bean: class [sicce.api.dataaccess.LocationTypeDAO]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DEBUG [main] (CachedIntrospectionResults.java:242) - Getting BeanInfo for class [sicce.api.dataaccess.LocationTypeDAO]
DEBUG [main] (CachedIntrospectionResults.java:258) - Caching PropertyDescriptors for class [sicce.api.dataaccess.LocationTypeDAO]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'class' of type [java.lang.Class]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'hibernateTemplate' of type [org.springframework.orm.hibernate3.HibernateTemplate]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'sessionFactory' of type [org.hibernate.SessionFactory]
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:396) - Eagerly caching bean 'LocationTypeDAO' to allow for resolving potential circular references
DEBUG [main] (AbstractBeanFactory.java:203) - Returning cached instance of singleton bean 'sessionFactory'
DEBUG [main] (CollectionFactory.java:90) - Creating [java.util.LinkedHashSet]
DEBUG [main] (DefaultSingletonBeanRegistry.java:152) - Creating shared instance of singleton bean 'MeasureDAO'
DEBUG [main] (AbstractAutowireCapableBeanFactory.java:345) - Creating instance of bean 'MeasureDAO' with merged definition [Root bean: class [sicce.api.dataaccess.MeasureDAO]; scope=singleton; abstract=false; lazyInit=false; autowireCandidate=true; autowireMode=0; dependencyCheck=0; factoryBeanName=null; factoryMethodName=null; initMethodName=null; destroyMethodName=null; defined in class path resource [applicationContext.xml]]
DEBUG [main] (CachedIntrospectionResults.java:242) - Getting BeanInfo for class [sicce.api.dataaccess.MeasureDAO]
DEBUG [main] (CachedIntrospectionResults.java:258) - Caching PropertyDescriptors for class [sicce.api.dataaccess.MeasureDAO]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'class' of type [java.lang.Class]
DEBUG [main] (CachedIntrospectionResults.java:267) - Found bean property 'hibernateTemplate' of type [org.springframework.orm.hibernate3.Hibern


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 2:10 pm 
Newbie

Joined: Fri Feb 15, 2008 5:07 am
Posts: 13
Ok I think that this part is the important one

Caused by: java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer
at org.hibernate.proxy.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:116)
... 41 more
DEBUG [main] (ReflectHelper.java:220) - reflection optimizer disabled for: sicce.api.info.OptionSicce, NoClassDefFoundError: Could not initialize class net.sf.cglib.beans.BulkBean

DEBUG [main] (AbstractEntityPersister.java:2447) - Static SQL for entity: sicce.api.info.OptionSicce
DEBUG [main] (AbstractEntityPersister.java:2449) - Version select: select ID_OPTION_SICCE from sicce.option_sicce where ID_OPTION_SICCE =?
DEBUG [main] (AbstractEntityPersister.java:2450) - Snapshot select: select optionsicc_.ID_OPTION_SICCE, optionsicc_.DESCRIPTION as DESCRIPT2_10_, optionsicc_.ICON as ICON10_ from sicce.option_sicce optionsicc_ where optionsicc_.ID_OPTION_SICCE=?
DEBUG [main] (AbstractEntityPersister.java:2452) - Insert 0: insert into sicce.option_sicce (DESCRIPTION, ICON, ID_OPTION_SICCE) values (?, ?, ?)

the thing is that the application works for another associations and other classes, i'm missing a jar or something like that? i'm using eclipse europa.

Regards,

gishac


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 2:18 pm 
Newbie

Joined: Fri Feb 15, 2008 5:07 am
Posts: 13
This class is inside the jar cgilib, and i have included in the project the cgilib-2.1.3.jar and the class BulkBean is in the package... so any idea of what is causing the exception?


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 2:32 pm 
Expert
Expert

Joined: Wed Apr 11, 2007 11:39 am
Posts: 735
Location: Montreal, QC
gishac wrote:
This class is inside the jar cgilib, and i have included in the project the cgilib-2.1.3.jar and the class BulkBean is in the package... so any idea of what is causing the exception?



You have class loading issues. See how many cglib jar files you have in your app server. Try to find duplicates. The reason the other association is working is probably because it does not need to proxied.


Farzad-


Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 7:41 pm 
Newbie

Joined: Fri Feb 15, 2008 5:07 am
Posts: 13
Thanks, I solved my problem deleting all the jars added to the project and after that add just the jars from hibernate/lib and the necessary spring jars, I think that the problem was because I generated the files with myEclipse, and it seems like the references added by the IDE aren't working properly


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

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.