[gentle-devel] Trouble with Gentle 1.2.5 on Linux/Mono
Brought to you by:
mnmr
From: Peter M. <cri...@gm...> - 2005-09-30 03:57:35
|
I have used Gentle for a while on Windows and now thought that I would give it a try in Linux. So on a machine running openSuSE 10.0-RC1 and Mono 1.1.18 I made a simple class using 2 properties, one autogenerated id and one string value. This class was mapped to a table in mysql. When I try using this class the process hangs when calling Persist or Retrieve. It does actually do the Persist (records show up in the table) but then something happens and CPU utilization goes up and the method call never returns. Same behaviour when calling Retrieve. =3D=3D=3D Snipp from Gentle.NET.log =3D=3D=3D 2005-09-28 16:40:16,857 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show tables 2005-09-28 16:40:16,876 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show columns from ResourceItems 2005-09-28 16:40:16,958 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show table status like 'ResourceItems' 2005-09-28 16:40:16,999 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show columns from Version 2005-09-28 16:40:17,007 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show table status like 'Version' 2005-09-28 16:40:17,034 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: insert into ResourceItems ( ResourceType ) values ( ?ResourceType ); select LAST_INSERT_ID(); Parameter: ResourceType =3D ScrumSharp.Storage.ResourceItem 2005-09-28 16:44:22,963 [1076062432] INFO=20 Gentle.Common.GentleStatistics [(null)] - Info: Cache size/hits/misses: 0/0/0 (0,00% hit ratio) 2005-09-28 16:44:23,008 [1076062432] INFO=20 Gentle.Common.GentleStatistics [(null)] - Info: Cache (objects uniqued): 0 2005-09-28 16:44:23,010 [1076062432] INFO=20 Gentle.Common.GentleStatistics [(null)] - Info: Cache (queries skipped): 0 2005-09-28 16:44:23,258 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show tables 2005-09-28 16:44:23,270 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show columns from ResourceItems 2005-09-28 16:44:23,280 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show table status like 'ResourceItems' 2005-09-28 16:44:23,376 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show columns from Version 2005-09-28 16:44:23,383 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: show table status like 'Version' 2005-09-28 16:44:23,422 [1076062432] INFO=20 Gentle.Framework.SqlStatement [(null)] - Executing query: select Id, ResourceType from ResourceItems where Id =3D ?Id; Parameter: Id =3D 1 2005-09-28 16:44:23,450 [1076062432] INFO=20 Gentle.Framework.ObjectConstructor [(null)] - Info: Best available constructor for type ScrumSharp.Storage.ResourceItem is non-optimal (cost 621). 2005-09-28 16:44:23,452 [1076062432] INFO=20 Gentle.Framework.ObjectConstructor [(null)] - See http://www.mertner.com/confluence/pages/viewpage.action?pageId=3D240 for additional information. 2005-09-28 16:44:23,456 [1076062432] DEBUG Gentle.Common.CacheManager [(null)] - Debug: Cache (get) using key: ScrumSharp.Storage.ResourceItem|tid=3D798052864|Id=3D1 (miss) -- Peter Magnusson cri...@gm... | http://crippledcanary.se |