Re: Performace problems (config mistakes?)

2009-04-28 Thread Corisco
Jason, thanks for the tip, I'll give it a try. However, if anyone else have a different idea all the help is welcomed By the way, sorry for the duplicated post!! On Apr 28, 2:42 pm, Jason Meckley jasonmeck...@gmail.com wrote: just because the data access is located in a remote dll doesn't mean

How to select with HQL a constant decimal value?

2009-04-28 Thread Darius Damalakas
Hi everybody, I've checked HQL docs, but can't find a solution (http://nhforge.org/ doc/nh/en/index.html#queryhql-expressions). I have query which goes like this: select new Record(billPlan.Id, 0.0) from BillPlan billPlan my class Record has a contstuctor, which takes first parameter as

Re: How to select with HQL a constant decimal value?

2009-04-28 Thread Germán Schuager
Try 0m instead of 0.0 On Tue, Apr 28, 2009 at 11:47 AM, Darius Damalakas darius.damala...@gmail.com wrote: Hi everybody, I've checked HQL docs, but can't find a solution (http://nhforge.org/

Re: ActiveRecord/Nhibernate locking table

2009-04-28 Thread Markus Zywitza
This is because SessionScope has to open a NH transaction implicitly (I stopped counting how often I cursed NH2.x for making transactions mandatory...). NH opens a DB transaction for it. If your isolation level is repeatable read, SSMS is locked out because SQLServer waits for the transaction to

Re: Aspect #

2009-04-28 Thread Ayende Rahien
Yes, that one was taken over, no one is doing anything with Aspect# On Tue, Apr 28, 2009 at 6:26 PM, Markus Zywitza markus.zywi...@gmail.comwrote: Even more dead than NHibernate Query Analyzerhttp://www.assembla.com/wiki/show/NHibernateQueryAnalyzer ? 2009/4/27 Ayende Rahien

Re: How to select with HQL a constant decimal value?

2009-04-28 Thread Darius Damalakas
i've tried this already, but with no success. I will try again your suggestion, maybe i just made a simple mistake or something. I will let you know if it helps 2009/4/28 Germán Schuager gschua...@gmail.com: Try 0m instead of 0.0 On Tue, Apr 28, 2009 at 11:47 AM, Darius Damalakas

RoutingModuleEx on Mono+Linux

2009-04-28 Thread heike
Hi, I am doing some tests on mono+linux and everything works fine for my application except for the new routing module. In the routing rules i define the area as empty but the monorail handler seems to be ignoring it. in the Web.config I have added the following: httpModules

Re: Performace problems (config mistakes?)

2009-04-28 Thread Markus Zywitza
Having three types (application, category and package) reference each other bidirectionally is not really a good idea. At least, one side of each relation should be marked as inverse. Additionally, you are getting into trouble as soon as you are updating or deleting data with such a model. I

Re: How to select with HQL a constant decimal value?

2009-04-28 Thread Ayende Rahien
Darius,Create another overload for the TurnoverRecord, that would be easiest On Wed, Apr 29, 2009 at 8:25 AM, Darius Damalakas darius.damala...@gmail.com wrote: I've tried again to use 0.0m, but here is what i've got: NHibernate.QueryException: undefined alias or unknown mapping: 0 This