Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Group info
Discussions
View:  Topic list, Topic summary Topics 1 - 10 of 7701  Older »

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 »
By Jorge Caballero  - 8:53am - 1 new of 1 message    

Property with insert="false" and lazy="true" is null when using session.Get 
  Hi I have been having some problems and would be grateful for any guidance on an issue I am having. For simplicity I have created the following test class and mappings to demonstrate the issue I have: public class House { public virtual int id { get; set; } public virtual string name { get; set; }... more »
By Michael Charalambous  - 7:14am - 1 new of 1 message    

Obtaining a list of classes/types that have been mapped 
  Hi, Is it possible through either the ISession or ISession factory object to retrieve a list of types which have been mapped. Any help appreciated. Regards Sean.
By Sean Farrow  - 4:11am - 2 new of 2 messages    

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 »
By Christian I.  - May 22 - 1 new of 1 message    

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 »
By Kim Bendtsen  - May 21 - 3 new of 3 messages    

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 »
By kor  - May 21 - 4 new of 4 messages    

NHibernate in Firebird: Tables won't get foreign key trigger definitions (Cascade rules) 
  When foreign key constraints are set (on delete=cascade etc.), those constraints are not reflected in the database. Only the foreign key references are set (alter table TABLE_NAME add constraint CONSTRAINT_NAME foreign key ( COLUMN_NAME) references FOREIGN_TABLE_NAME) Hence, in the database, the default remains (On Delete Rule NO ACTION).... more »
By Dani  - May 21 - 3 new of 3 messages    

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 »
By Sean Farrow  - May 20 - 3 new of 3 messages    

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 »
By Ramon Smits  - May 17 - 3 new of 3 messages    

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 »
By Shravan Yadav  - May 17 - 11 new of 11 messages    

1 - 10 of 7701   « Newer | Older »

XML       Send email to this group: nhusers@googlegroups.com