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.  [ 2 posts ] 
Author Message
 Post subject: Simple update not executed
PostPosted: Tue Apr 08, 2008 6:27 am 
Newbie

Joined: Tue Apr 08, 2008 6:18 am
Posts: 2
Hi,

I update one of my objects properties, I call SaveOrUpdate and Flush but nothing gets persisted in the db.

In the log file you can see that the properties are marked as dirty, followed by a line that says 1 update. But nothing gets executed on the dbs

Thankx,
Bjorn

This my log file:

2008-04-08 12:11:06,634 DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - BoomElem.Naam is dirty
2008-04-08 12:11:06,634 DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - BoomElem.Beschikbaar is dirty
2008-04-08 12:11:06,634 DEBUG NHibernate.Persister.Entity.AbstractEntityPersister - BoomElem.DatLw is dirty
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role BoomElem.Labels
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - Collection found: [BoomElem.Labels#1000018], was: [BoomElem.Labels#1000018]
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role BoomElem.Kinderen
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - Collection found: [BoomElem.Kinderen#1000018], was: [BoomElem.Kinderen#1000018]
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role BoomElem.Labels
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - Collection found: [BoomElem.Labels#1000019], was: [BoomElem.Labels#1000019]
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.AbstractVisitor - Processing collection for role BoomElem.Kinderen
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - Collection found: [BoomElem.Kinderen#1000019], was: [BoomElem.Kinderen#1000019]
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - Processing unreferenced collections
2008-04-08 12:11:06,634 DEBUG NHibernate.Impl.SessionImpl - scheduling collection removes/(re)creates/updates
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 insertions, 0 updates, 0 deletions to 633 objects
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.SessionImpl - Flushed: 0 (re)creations, 1 updates, 0 removals to 1110 collections
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - listing entities:
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1524, UserCreId=1, HuidigeKOVersieID=2449, Naam=Zwaar ziek familielid, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=C9, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1499, UserCreId=1, HuidigeKOVersieID=2362, Naam=individuele rekening - werkgevergegevens, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A84, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1498, UserCreId=1, HuidigeKOVersieID=2399, Naam=Onvolledige arbeidsdag - niet / te laat, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A836, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1493, UserCreId=1, HuidigeKOVersieID=2354, Naam=Feestdagen - extra feestdagen, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A629, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1472, UserCreId=1, HuidigeKOVersieID=2554, Naam=AO - ontslag proefperiode, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A189, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1470, UserCreId=1, HuidigeKOVersieID=2339, Naam=Brugpensioen - definitie, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1847, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1469, UserCreId=1, HuidigeKOVersieID=2351, Naam=Eindejaarspremie - wat, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1795, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1468, UserCreId=1, HuidigeKOVersieID=2470, Naam=Ontslag - overmacht, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1733C, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1467, UserCreId=1, HuidigeKOVersieID=2517, Naam=Ontslag - onderling akkoord, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1731, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ParmWaarde{Parameter=Parameter#5, ID=773, Code=SV, DatLw=16/05/2003, Naam=Swedish, VolgNr=100, UserCreId=1, UserLwId=1, DatCre=16/05/2003, Labels=[Zweeds, Suédois, Swedish]}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1462, UserCreId=1, HuidigeKOVersieID=2045, Naam=Opzegging - te betalen vergoedingen, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1672, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1456, UserCreId=1, HuidigeKOVersieID=2601, Naam=Opzeggingstermijn - bij bedienden, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1576, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1451, UserCreId=1, HuidigeKOVersieID=2034, Naam=Opzegging - door de werknemer, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=88000167, KOStatusKod=373, DatLw=04/10/2007, DatCre=20/09/2004, Code=A1549A, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1450, UserCreId=1, HuidigeKOVersieID=2400, Naam=Opzegging - wat ?, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1545, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - KO{KOAuthorisatieKod=387, ID=1434, UserCreId=1, HuidigeKOVersieID=2503, Naam=BLO - onderbrekingsuitk. - verhoogde, KOVersies=uninitialized, KOType=KOType#1, Actief=True, UserLwId=1, KOStatusKod=373, DatLw=20/09/2004, DatCre=20/09/2004, Code=A1252, Toepassingen=uninitialized, ClusterKOs=uninitialized}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=465, KO=KO#1601, DatLw=20/09/2006, VolgNr=7, UserCreId=1, Cluster=Cluster#103, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=462, KO=KO#1535, DatLw=20/09/2006, VolgNr=9, UserCreId=1, Cluster=Cluster#103, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=461, KO=KO#1589, DatLw=20/09/2006, VolgNr=1, UserCreId=1, Cluster=Cluster#101, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=459, KO=KO#1587, DatLw=20/09/2006, VolgNr=11, UserCreId=1, Cluster=Cluster#107, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=458, KO=KO#1591, DatLw=20/09/2006, VolgNr=2, UserCreId=1, Cluster=Cluster#85, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - ClusterKO{ID=457, KO=KO#1591, DatLw=20/09/2006, VolgNr=1, UserCreId=1, Cluster=Cluster#119, DatCre=20/09/2006, UserLwId=1}
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.Printer - more......
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.SessionImpl - executing flush
2008-04-08 12:11:06,650 DEBUG NHibernate.Impl.ConnectionManager - registering flush begin
2008-04-08 12:11:06,650 DEBUG NHibernate.Persister.Collection.ICollectionPersister - Deleting rows of collection: [BoomElem.Labels#1000018]
2008-04-08 12:11:06,650 DEBUG NHibernate.Persister.Collection.ICollectionPersister - no rows to delete
2008-04-08 12:11:06,665 DEBUG NHibernate.Persister.Collection.ICollectionPersister - Updating rows of collection: BoomElem.Labels#1000018
2008-04-08 12:11:06,665 DEBUG NHibernate.Persister.Collection.ICollectionPersister - done updating rows: 0 updated
2008-04-08 12:11:06,665 DEBUG NHibernate.Persister.Collection.ICollectionPersister - Inserting rows of collection: BoomElem.Labels#1000018
2008-04-08 12:11:06,681 DEBUG NHibernate.Persister.Collection.ICollectionPersister - done inserting rows: 0 inserted
2008-04-08 12:11:06,681 DEBUG NHibernate.Impl.ConnectionManager - registering flush end
2008-04-08 12:11:06,681 DEBUG NHibernate.Impl.SessionImpl - post flush


Top
 Profile  
 
 Post subject:
PostPosted: Tue Apr 08, 2008 7:03 am 
Newbie

Joined: Tue Apr 08, 2008 6:18 am
Posts: 2
Just solved it myself!

Seems that someone added an mutable="false" flag to the mapping file


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.