You cannot post messages because only members can post, and you are not currently a member.
Description:
Users of NHibernate unite! This group is aimed at people using NHibernate and looking for tips, tricks, or just want to ask a question. Post your code on how you use NHibernate or share some experiences with it here. Good, bad, or ugly, this is the place for it!
|
|
|
Inserting a Value Object Collection using composite-element
|
| |
Hi all, I have the following problem. I've defined 3 classes by using the following structure: public class ReducedModalityReductionDataSe t : Entity<Guid> { public ReducedModalityReductionDataSe t() { ReducedModalityReductionDataSe tItems = new Iesi.Collections.Generic.Hashe dSet<ReducedModalityReductionD ataSetItem>();... more »
|
|
Many to Many bidirectional with fluent NHibernate
|
| |
Hello, What I have to change in the mapping below to have a bidirectionnal relation ? I'd like when I have a "ProductDetail" object have access to "Product" at this time Product properties is always null when I get a ProductDetail. Thanks, public class ProductMap : ClassMap<Product> { public ProductMap()... more »
|
|
Performance issues with NHibernate 3.1.0 -> oracle database
|
| |
We have a web application that is load balanced on 4 servers running on windows 2008r2 servers. The web application hosted on iis 7.* experience periodic bad performance where quries can take extra 1-60 seconds than expected. Using nhprof and wireshark it seems possible to confirm the slow query... more »
|
|
query to select orphans item
|
| |
hi, i have a "parent" entity that reference a list of items <class name=Group> <list name="Items" cascade="none"> <key column="Group_Id" foreign-key="fk_ItemToGroupId" /> <index column="Item_Index"/> <one-to-many class="Item"/> </list> </class> <class name=Item> </class> i need to do a query (it's better if it's not hql but with queryover,... more »
|
|
testing whether a schema is created or is up-to-date
|
| |
Hi,
I'm working on a project where I need to test whether a schema is up-to-date or has even been created.
I'm currently looking at the number of tables in the database and checking whether it is equal to the number of map files in the project.
Is there a more reliable way using NHibernate only?... more »
|
|
nvarvchar(max) issues
|
| |
This is crossposted to NServiceBus and NHUsers mailing list.
I have a custom mapping (hbm.xml) for a saga class. One property should be
mapped to a nvarchar(max) column.
I started with the following property type:
<property name="Data" type="StringClob"/>
This created the correct schema but when data is getting larger then 4000... more »
|
|
Errors in Named queries:{queryname}
|
| |
I'm new to nhibernate and fluent nhibernate. For one of our projects we are using fluent hibernate which works fine, we would like to extend this to support .hbm.xml files mainly to execute stored procedures on legacy systems. I've find many articles which helped me for getting started like [link]... more »
|
|
|