[nhusers] Batch feature in Oracle

2009-08-22 Thread Victor Rosenberg
Does it exist? Oracle's ODP supports batched inserts, does NHibernate support it too (when its configured to use ODP)? Thanks in advance --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nhusers group. To post to this

[nhusers] Re: batch_size

2009-08-22 Thread srf
hmm, ok, im using assigned , not native, is there a problem using assigned, ie , Im setting the Id myself. thanks scott On Aug 21, 9:42 pm, Fabio Maulo fabioma...@gmail.com wrote: repeat When you make a question here, in general, you are reading the answer ? because even when somebody point

[nhusers] How to handle Session in WinForm project?

2009-08-22 Thread ChrisHolmes
Hey gang, I'm trying to figure out the best way to handle the NHibernate session in a WinForm scenario. I've Googled this to death and I still can't find anything that makes sense and I haven't found any actual code that I can read and make sense out of. I've read a lot about Session-

[nhusers] Re: Batch feature in Oracle

2009-08-22 Thread kasvis...@gmail.com
I tried to use Nhibernate's batching feature (adonet.batch_size) in oracle database. Looks like its not supported. When I changed the configuration to hit the sql server DB, the batching worked. For some reason, setting the batch_size value to something other than 0 (I tried 10 and 100) in the

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread Fabio Maulo
http://fabiomaulo.blogspot.com/2009/01/aspect-conversation-per.htmlhttp://fabiomaulo.blogspot.com/2009/01/aspect-conversation-per.htmlStart from the first of the serie Example http://code.google.com/p/unhaddins/source/browse/#svn/trunk/Examples/uNHAddins.Examples.SessionManagement 2009/8/22

[nhusers] issue with inverse=true

2009-08-22 Thread graphicsxp
Hi, I'll post the relevant part of my mapping. I have two classes : Art and Artist. An Artist owns a collection of Art and an Art belongs to one and only one Artist. Art mapping : class name=xxx table=xxx id name=Id column=xxx type=guid generator class=guid.comb/ /id

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread Raul Carlomagno
you can try castle activerecord too, it abstracts a little NH Sesion artifact On Aug 22, 1:25 pm, ChrisHolmes cb.hol...@gmail.com wrote: Hey gang, I'm trying to figure out the best way to handle the NHibernate session in a WinForm scenario. I've Googled this to death and I still can't find

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread Fabio Maulo
2009/8/22 Raul Carlomagno rcarloma...@gmail.com you can try castle activerecord too, it abstracts a little NH Sesion artifact sure. -- Fabio Maulo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups nhusers

[nhusers] Delete a child and the father gets deleted too ?

2009-08-22 Thread Dimitris Andrakakis
Hi all, I have a problem which I find hard to understand : when I delete a child object, the father gets deleted too. The father is a class called FlightEntry. The children are classes FlightEntryService and FlightEntryDelay (both exchibit the same behaviour). The (ActiveRecord generated) hbm

[nhusers] Re: Delete a child and the father gets deleted too ?

2009-08-22 Thread Oskar Berggren
2009/8/22 Dimitris Andrakakis dandr...@gmail.com: Hi all, I have a problem which I find hard to understand : when I delete a child object, the father gets deleted too. The father is a class called FlightEntry. The children are classes FlightEntryService and FlightEntryDelay (both exchibit

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread ChrisHolmes
I've looked at this blog post before I posted to this message group, and it just doesn't make any sense to me. I don't see how to use it in an actual application scenario. I can't tell if there are multiple sessions, or just one session for the entire application? What is a recommended approach

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread José Romaniello
2009/8/22 ChrisHolmes cb.hol...@gmail.com I've looked at this blog post before I posted to this message group, and it just doesn't make any sense to me. I don't see how to use it in an actual application scenario. I can't tell if there are multiple sessions, or just one session for the

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread ChrisHolmes
I am not interested in Castle ActiveRecord. I'm interested in actually learning how to accomplish my goals. I'll write my own bits to accomplish my tasks, but I need to understand how and why things work, and how they should be done. I don't have an understanding of HOW to actually manage the

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread José Romaniello
I'm working on a WPF example, but this post could help you too: http://nhforge.org/blogs/nhibernate/archive/2009/08/15/nhibernate-and-wpf-models-concept.aspx http://jfromaniello.blogspot.com/2009/08/chinook-media-manager-models-concept.html 2009/8/22 José Romaniello jfromanie...@gmail.com

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread José Romaniello
You call theoretical stuff to a working example: Fabio Maulo says: Example http://code.google.com/p/unhaddins/source/browse/#svn/trunk/Examples/uNHAddins.Examples.SessionManagement Fabio's post are full of samples too. Are you looking for a more personal explanation? 2009/8/22 ChrisHolmes

[nhusers] Re: How to handle Session in WinForm project?

2009-08-22 Thread Belvasis
Hm, I think the first part of the blog describes the how and why of the pattern well enough http://fabiomaulo.blogspot.com/2008/12/conversation-per-business-transaction.html But I think, it will not fit in every scenario of a winform application or maybe I didn't understand all of it :-). The