The core part of MindLib was extracted as a new proj called
NHibernate.Burrow and merged to the NHibernate Contrib
proj(http://sourceforge.net/projects/nhcontrib).
We will release NHibernate.Burrow and MindLib 2.0 alpha soon.
| You must Sign In to use this message board. |
|
| | Msgs 1 to 10 of 10 (Total in Forum: 10) (Refresh) | FirstPrevNext |
|
 |
|
 |
Hi,
I'm using NHibernate 2.0.1 and I want to know if NHibernate Burrow can help me to achieve this case : - I have an entity "A" (identity PK) with a one-to-many relation to "B" entities. - I have an ASP.NET page allowing to edit an entity "A" and choose "B" entities - I must save "A" in database in order to save "B" entities - I only want to commit "A" entity and "B" entities when the user press the "Save" button (ie. rollback "A" and "B" if the user press "Cancel" button or close its browser)
Does a NHibernate Burrow conversation can do this ?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Hi Kai,
I was wondering if MindLib has been integrated to NHibernate 2.0 alpha ... if not ... what's your estimates on the release date? ... I want to use Mindlib but at the same time, knowing it will be intergated to Nhibernate 2.0 makes me want to wait for it...
thank you
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
thanks for being interested in MindLib The core part of MindLib was extracted as a new proj called NHibernate.Burrow and merged to the NHibernate Contrib proj(http://sourceforge.net/projects/nhcontrib). NH.Burrow 1.0 alpha 1, which is based on NH 2.0 alpha will be released soon ( our target is within 2 weeks)
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
When using Master Pages in ASP and MidLib I cant get the project work.
Exception of type 'MindHarbor.DomainTemplate.NHDomain.Exceptions.DomainContextUninitializedException' was thrown.
Anyone had the same problem?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
MindLib has been working fine with master pages. However I strongly recommend you wait for the alpha release of NHibernate.Burrow ( migrated and greatly improved from MindLib) which should be in 2 - 3 weeks.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
There is a [N]Hibernate pattern called Session-per-conversation[^] who maintains the session open in a conversation (multiple pages/requests).
Part of the NHibernate team (Thanks Fabio) helped me with that, not so long ago... This pattern can be implemented with 1.2.x and 2.0.0 Alpha 1 (I'm using the trunk on a personal project and works like a charm).
The 2.0 branch has lots of improvements. Also has the Unhaddins: Unofficial addins for NHibernate[^] which are some addins to make your life more simple when using NHibernate
I'm on a Fuzzy State: Between 0 an 1
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Thanks for your comment, Gonzalo, As far as I know implementing Session per conversation manually could be difficult especially when you want to enable the use to have multiple conversations at the same time, you will need to track the conversation status. Both Seam and MindLib write a lot of code to support that. I am currently studying NH2.0 and target to support it in the next version when NH2.0 releases. Thanks for your information about Unhaddins. Actually MindLib provides a lot more features than what is mentioned here. I just didn't get the time to write documentation for them. One of them I plan to talk about next is the 4 NH usertypes MindLib provides.
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
Multiple conversations?? Please give me (I'm honestly still trying to imagine this) a sample of multiple conversations with the same web application!
Specially when you define what a conversation is, on each case...
Generally you have a conversation per use case.
I'm on a Fuzzy State: Between 0 an 1
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
 |
The user might open multiple browser windows trying to do multiple tasks at the same time. Take ecommerce application as an example, user may use one browser to manage his account, one browser to checkout and one browser to browse the catalogs. If your implementation also works in this scenario, I am really interested in how you achieved it. Here is the chapter from Seam documentation introducing the conversation concept. It mentioned multiple simultaneous conversations. http://docs.jboss.com/seam/2.0.1.CR1/reference/en/html/tutorial.html#d0e1568[^]
|
| Sign In·View Thread·PermaLink | 5.00/5 (1 vote) |
|
|
|
 |
|
 |
Hi Kailuo, Thanks for you work, I really appreciate it! For one of my projects I'd like to implement multiple simultaneous conversations feature but it seems it doesn't work with the current version of MindLib. I try it with TestPages/Checkout.aspx page from the test project - I open the page in a browser and proceed to Step 3, then open another tab and proceed to the end, when try to finish the first conversation - an exception is thrown: "Conversation (aa5e6fbc-5c0a-48d7-b56a-995ff318fadb) does not exists in the pool, it may already expired. . Do not try to recover a conversation after an exception occurred." Is it a bug in the current version or am I doing something wrong?
|
| Sign In·View Thread·PermaLink | |
|
|
|
 |
|
|
General
News
Question
Answer
Joke
Rant
Admin