tagged [fluent-nhibernate]
Fluent NHibernate entity HasMany collections of different subclass types
Fluent NHibernate entity HasMany collections of different subclass types So everything is working well with the basic discriminator mapping. I can interact directly with entities A and B without any p...
- Modified
- 20 Jun at 09:32
nhibernate, could not resolve property
nhibernate, could not resolve property I have a problem with NHibenate. When I run queryover, I get an error "could not resolve property: User.Name of: MegaOnlineChat.Core.Entities.Message".What am I ...
- Modified
- 17 Oct at 08:52
ServiceStack & NHibernate Integration creating two sessions?
ServiceStack & NHibernate Integration creating two sessions? I'm attempting to follow the blog post here: [http://www.philliphaydon.com/2012/06/using-nhibernate-with-servicestack/](http://www.philliph...
- Modified
- 12 Jan at 17:30
Fluent NHibernate Many-to-Many
Fluent NHibernate Many-to-Many I am using Fluent NHibernate and having some issues getting a many to many relationship setup with one of my classes. It's probably a stupid mistake but I've been stuck ...
- Modified
- 21 Dec at 03:33
Fluent NHibernate FluentMappings.AddFromAssemblyOf<> Issue
Fluent NHibernate FluentMappings.AddFromAssemblyOf Issue A coworker and I were recently doing the backend for a small application using Fluent NHibernate. We wrote our entities, mapping files, persist...
- Modified
- 27 May at 21:43
Optimizing nhibernate session factory, startup time of webApp really slow
Optimizing nhibernate session factory, startup time of webApp really slow I have implement testing app. which uses fluent nhibernate mapping to db object inside mssql db. Since I want to learn fine tu...
- Modified
- 26 May at 13:26
How to alter column using nhibernate SchemaUpdate functionality
How to alter column using nhibernate SchemaUpdate functionality I have entity model which I want to be reflected to database each time I run application but without clearing the data thus I'm using `S...
- Modified
- 2 Nov at 14:14
Ensure NHibernate SessionFactory is only created once
Ensure NHibernate SessionFactory is only created once I have written an NHibernateSessionFactory class which holds a static Nhibernate ISessionFactory. This is used to make sure we only have one sessi...
- Modified
- 2 Mar at 09:51
Inserts of stateless session of NHibernate are slow
Inserts of stateless session of NHibernate are slow It's been a couple of days that I'm working on improving NHibernate Insert performance. I'd read in many posts (such as [this one](http://ayende.co...
- Modified
- 19 Dec at 15:19
NHibernate IQueryable collection as property of root
NHibernate IQueryable collection as property of root I have a root object that has a property that is a collection. For example: What I want to accomplish is to return a collection that is I
- Modified
- 25 May at 17:16
nhibernate "cascade="all-delete-orphan" error
nhibernate "cascade="all-delete-orphan" error i have 3 tables in my database: 1. Projects (id, name) 2. Tags (id, name) 3. ProjectsTagss (id, projectId, tagid) As you can see the ProjectsTags table is...
- Modified
- 4 May at 12:33
How to activate the second level cache on a lazy loaded property with own user type?
How to activate the second level cache on a lazy loaded property with own user type? : In my application, I store raw WAV data in the database as `byte[]`. In my domain model there is a class `PcmAudi...
- Modified
- 15 Nov at 14:22
Servicestack UserAuth Persistence using Nhibernate (using ServiceStack.Authentication.NHibernate)
Servicestack UserAuth Persistence using Nhibernate (using ServiceStack.Authentication.NHibernate) I'm trying to use the ServiceStack IUserAuthRepository implementation for Nhibernate. I have registere...
- Modified
- 5 Feb at 08:25
Antlr exception with message "plan b" when walking IQueryable of NHibernate entities
Antlr exception with message "plan b" when walking IQueryable of NHibernate entities I've got quite weird exception when trying to materialize the `IQueryable` I got form `NHibernate.Linq`. The except...
- Modified
- 12 Aug at 10:48
Servicestack NHibernate Auth Repo No CurrentSessionContext configured
Servicestack NHibernate Auth Repo No CurrentSessionContext configured I have the following configuration: And then elsewhere I have: ``` var authRepo = new NHibernateUserAuthRepository (_container.R
- Modified
- 9 Dec at 16:32
NHibernate Mapping: Insert Children after Parent has ID from INSERT Trigger without UPDATE of a child' ParentId
NHibernate Mapping: Insert Children after Parent has ID from INSERT Trigger without UPDATE of a child' ParentId Let me please explain our situation first. We are working on a brown field application. ...
- Modified
- 30 Jan at 10:5
Fluent NHibernate - Dialect does not support DbType.Xml (SQLite)
Fluent NHibernate - Dialect does not support DbType.Xml (SQLite) I have a custom NHibernate XMLtype (Converts POCO to XML on the fly) so i can save objects in the DB. This works with SQL Server 2014 w...
- Modified
- 23 May at 12:25
Inserting a collection of entities in bulk using Fluent NHibernate
Inserting a collection of entities in bulk using Fluent NHibernate I'm trying to insert a large collection of objects into a table using fluent NHibernate, using a call to save or update passing each ...
- Modified
- 5 Jul at 17:2
Fluent NHibernate "Could not resolve property"
Fluent NHibernate "Could not resolve property" I have read a lot of the questions about that same error but none since to match my exact problem. I'm trying to access the property of an object, itself...
- Modified
- 23 Mar at 01:11
Fluent NHibernate cascade delete not working
Fluent NHibernate cascade delete not working I've got a simple phone directory app using Fluent NHibernate 1.1. In the app, a "Person" object has many "PhoneNumber" objects. I'm trying to delete a Per...
- Modified
- 23 May at 12:2
ServiceStack / FluentNHibernate / MySQL - Same connection used by two concurrent requests
ServiceStack / FluentNHibernate / MySQL - Same connection used by two concurrent requests We seem to have come up on a weird issue, where two concurrent requests to our service are actually using the ...
- Modified
- 15 Oct at 11:41
Programming to interfaces while mapping with Fluent NHibernate
Programming to interfaces while mapping with Fluent NHibernate I have been whipped into submission and have started learning Fluent NHibernate (no previous NHibernate experience). In my project, I am ...
- Modified
- 10 May at 17:44
Fluent-NHibernate many-to-many cascade does not populate the link table
Fluent-NHibernate many-to-many cascade does not populate the link table OK, no matter how I define these mappings, my many-to-many mapping does not want to work with cascade insert. I have tried vario...
- Modified
- 17 Mar at 20:4
NHibernate.Spatial and Sql 2008 Geography type - How to configure
NHibernate.Spatial and Sql 2008 Geography type - How to configure I am trying to use Nhibernate with the Sql 2008 Geography type and am having difficulty. I am using Fluent Nhibernate to configure whi...
- Modified
- 16 Mar at 20:34
MS Entity Framework VS NHibernate and its derived contribs (FluentNHibernate, Linq for NHibernate)
MS Entity Framework VS NHibernate and its derived contribs (FluentNHibernate, Linq for NHibernate) I just read this [article](http://visualstudiomagazine.com/Articles/2009/12/01/Entity-Sequel.aspx?Pag...
- Modified
- 23 Jan at 07:43