[nhusers] NHibernate NamedQuery Memory Leak

2011-08-23 Thread spiralni
Hello my friends. I have an issue when using named queries in nhibernate. The problem is that NHib eats all my RAM when executing this queries. Yesterday I had an OutOfMemoryException my app was using +1.3Gb in RAM!!! What a madness... This post says it was because of a bug in the LRUMap

[nhusers] [OT] Where Are You From?

2010-03-03 Thread spiralni
Will be interesting to see where all nhusers lives.. @Cesar Sanz: Nicaragua -- You received this message because you are subscribed to the Google Groups nhusers group. To post to this group, send email to nhus...@googlegroups.com. To unsubscribe from this group, send email to

[nhusers] Re: NH3 RTM?

2010-02-26 Thread spiralni
I am totally confused! NH3.0 will be much different than 2.x version? What are the major changes? What are the benefits? besides, QueryOver? Linq Provider? Please help me, I think I am getting out of date with this things! On 26 feb, 09:34, Jason Dentler jasondent...@gmail.com wrote: Hi

[nhusers] What do you think about fluent nhibernate?

2010-02-26 Thread spiralni
Hi, I have a question regarding FNHibernate. I've been using for a while NHibernate and ActiveRecord from castle.. I want to start reading about FluentNHibernate.. Do you guys, from your experience, can tell me if it is worth learning it for serious projects? Thanks -- You received this

[nhusers] NH 3.0 Info

2010-01-29 Thread spiralni
Hello, Where can I see all the info ralated to nhibernate status? Thanks -- You received this message because you are subscribed to the Google Groups nhusers group. To post to this group, send email to nhus...@googlegroups.com. To unsubscribe from this group, send email to

[nhusers] Join with the same table

2010-01-19 Thread spiralni
Hello, I have a table with this definition: [localizations] + id + resourceKey + resourceValue + cultureName My class is as follows public class Localization{ public int Id { get; set; } public string ResourceKey { get; set; } public string ResourceValue {

[nhusers] Select disctinct in HQL

2010-01-19 Thread spiralni
Hello, Where can I find information about retrieving data using the distinct clause in hql? Chreers -- You received this message because you are subscribed to the Google Groups nhusers group. To post to this group, send email to nhus...@googlegroups.com. To unsubscribe from this group, send

[nhusers] NHibernate Linq Full Featured, When?

2010-01-18 Thread spiralni
Hello, I was using NHibernate for a while, and now I think I am totally out of date with this project. My concern is about the Linq support, I understood it was still in its infancy.. Where Can I see the status of this.. and when is it planned to be released? Regard -- You received this

[nhusers] QueryObjects vs Repository

2009-09-02 Thread spiralni
Hello, I read this http://ayende.com/Blog/archive/2009/04/17/repository-is-the-new-singleton.aspx and it says repository is not the best approach when working with NHibernate, My question is, how do I apply the QueryObjects in a real project? Do you have some examples using this? If using

[nhusers] NHibernate Projects Structure

2009-08-25 Thread spiralni
Hello, I am a little confused about this topic. I want to know if NHibernate has some default structure to work with.. For instances, in my projects I always have this: 1. DomainLayer (Mappings and POCOs) Here I just specifies the realtionship between objects, etc 2. A ServiceLayer

[nhusers] NHibernate.Linq

2009-08-24 Thread spiralni
Good morning.. I have an application using .net2.0 and yesterday I started the migration to 3.5 framework (using nhibernate 2.1) , this is why I am interested in NHib.Linq, to see if I can make use of it. My request is Is NHibernate.Linq ready for production environments? Where Do I find

[nhusers] Inverse=True (again)

2009-08-20 Thread spiralni
I don't get it :( I've read, and test all the references in the web, but this concept is just to complex for me.. Hope you can clarify me. From the 2.1 Reference, I found this in the Bidirectional Associations topics, 1. Please note that NHibernate does not support bidirectional one-to- many

[nhusers] Let nhibernate guess your type?

2009-08-18 Thread spiralni
Hello, I have a column in my database that is of type varchar(50) my question is: property name=Name type=String / or property name=Name / ? which one is the best, and why? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[nhusers] Select top n (MSSQL, ORACLE)

2009-07-31 Thread spiralni
Hello, I need to do a query that returns the top n items from a table. e.g select top 10 * from table the problem is that I need it to work in mssql and oracle, is there any form to do that with nhibernate abstraction?? p.s The table is very large, so I cannot retrieve all and truncate in

[nhusers] Asking for Fluent NHibernate

2009-07-31 Thread spiralni
Hello pals, I am starting with Fluent for NHibernate, I have used ActiveRecord with previous projects, but to tell the truth I do not like to decorate my model with tags, neither I like to write and maintain so many xml files (as the project grows, it get harder) So my question is simple, Is

[nhusers] Are Identity Columns a Bad Practice?

2009-07-13 Thread spiralni
Hello, I have a question about wich is the best approach when creating my tables for using NHibernate. What I do almost always is to create an autoincrement column as my table id. But I have read a lot of thread that talks about this identity strategy (POID) and now I feel I am doing something

[nhusers] HQL Join Problem

2009-07-10 Thread spiralni
Hi.. I'd like to perform a join between two entities.. [Operator] has many [Client] I can do this with this SQL sentence select c.*, o.name from clients c join operators o on c.operator = o.id I would like to do this same query using HQL, for this I use this HQL query from Client c join