In my experience with this type thing, take a look at what objects are
persisted or not persisted. It sounds like you are trying to persist the goal,
which is plausibly transient (?) while the match has already been persisted
(?). I would persist the match with a newly added goal and see what y
Hello,
I've got an NHibernate performance optimization question. I believe what I
am seeing has to do with SaveOrUpdate() latency, but I'm not 100% sure of
it.
What's going on is this: I've got a data service which job it is to factory
create a bunch of data for test and/or production environment
Hello,
I am refreshing my memory, I an fluently configuring my connection
string and mappings, however, I would like to capture database
configuration in the hibernate-configuration section.
For my solution architecture, I am referencing FluentNHibernate
sourced from NuGet packages. This is fine
P/IP are both enabled and database
> service restarted. I've also verified my ConnectionString credentials connect
> just using SQL Management Studio. Is it a bug in the Named Pipes Provider?
> Can I use a different provider?
>
>
>
>
>
>
>
> - Original Mes
Here is the error(s) that I am getting: assumption: remember, I am
adding the references from NuGet-gotten packages. I can add
Castle.Core, but I'm not sure that's the right one to be getting
either.
{"Unable to load type 'NHibernate.ByteCode.Castle.ProxyFactoryFactory,
NHibernate.ByteCode.Castle'
Need a general idea, what's the proxyfactory low down? As regards
latest FNH? And latest NH that FNH incorporates?
Do we need a proxyfactory or don't we? Is there a "default" one we can
use if we take the configuration line out? Where/how do we obtain
Castle and/or LinFu if we want to evaluate one
e NH 3.2 there is a built in proxy generator which is used unless
> you explicitly tell if otherwise in the configuration.
>
> /Oskar
>
> 2012/6/7 Michael Powell :
>
>
>
>
>
>
>
> > Need a general idea, what's the proxyfactory low down? As regards
> &
Hello,
I'm looking at NH as one plausible upgrade path to address some
performance and memory issues we've had with our application as of
late as one radical option from what we currently do, which is
basically heavy weight domain objects: including both database parts
and so on.
We've got an app
necessary to me.
I am running against FluentNHibernate 1.4.0.0, NHibernate 3.3.1.4000,
.NET 4.5.x.
Thank you...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and
test Fluent and NHibernate versions, .NET,
etc. Thank you...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to f
On Sat, Aug 30, 2014 at 6:37 AM, Gleb Chermennov
wrote:
> I see your point.
> Can you post your code - classes, mappings and Fluent configuration -
> somewhere on the web (like gist/github) or just email them to me in case
> your project isn't opensource?
> I'll investigate.
Thanks for being avai
On Sat, Aug 30, 2014 at 7:30 AM, Michael Powell wrote:
> On Sat, Aug 30, 2014 at 6:37 AM, Gleb Chermennov
> wrote:
>> I see your point.
>> Can you post your code - classes, mappings and Fluent configuration -
>> somewhere on the web (like gist/github) or just email th
e
table, not so sure of that.
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fluent-nhibernate+unsubscr...@goo
On Sun, Oct 12, 2014 at 7:10 AM, Oskar Berggren
wrote:
> I'm not quite sure what's going on, but yeah if you just want to have the
> db-generated GUID available in the model, "Generated" seems like a
> reasonable idea.
Well, the crux of it is, I can't simply swap a Guid for a long, even
though te
the convention wants to operate
instead. That is unless there's something else I can override in the
convention to flag this being the case.
Thank you...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHiberna
On Sun, Nov 9, 2014 at 12:27 AM, Michael Powell wrote:
> Hello,
>
> I've managed to build up a series of Collection/CollectionItem
> containers, whose Items themselves host another domain model,
> something like CollectionItem type thing.
>
> For the most part I
On Sun, Nov 9, 2014 at 1:10 AM, Michael Powell wrote:
> On Sun, Nov 9, 2014 at 12:27 AM, Michael Powell wrote:
>> Hello,
>>
>> I've managed to build up a series of Collection/CollectionItem
>> containers, whose Items themselves host another domain model,
>&
aligns with the domain model, single Id, for example. It must be
the same column name(s), I believe, for that to make any sense
whatsoever.
I've tried following the examples to no avail. I'm sure when the AHA
moment occurs, it will be obvious.
I am using VS22013 Update 4 + FNH 1.4.0.0 + N
On Thu, May 28, 2015 at 8:43 PM, Michael Powell wrote:
> Hello,
>
> I'm sure this has been asked a dozen times or more, but I am having a
> devil of a time persuading FNH to behave with my table-per-subclass
> inheritance hierarchy strategy.
Ah! Nevermind, turns out I was pr
based on Type, something like a "C/C++" union might
do?
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
he game, so I wonder what I can do to get past this.
I bright idea may occur to me once I send this, but in the meantime...
Any ideas?
Thank you...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
On Wed, Jul 8, 2015 at 5:27 PM, Michael Powell wrote:
> Hello,
>
> With a couple of exceptions, I am mapping my classes as TPC (table per class).
>
> I now want to document some statistics throughout the model, but I
> don't want to repeat myself where the stats tables a
On Wed, Jul 8, 2015 at 6:22 PM, Michael Powell wrote:
> On Wed, Jul 8, 2015 at 5:27 PM, Michael Powell wrote:
>> Hello,
>>
>> With a couple of exceptions, I am mapping my classes as TPC (table per
>> class).
>>
>> I now want to document some statistics th
On Wed, Jul 8, 2015 at 8:33 PM, Michael Powell wrote:
> On Wed, Jul 8, 2015 at 6:22 PM, Michael Powell wrote:
>> On Wed, Jul 8, 2015 at 5:27 PM, Michael Powell wrote:
>>> Hello,
>>>
>>> With a couple of exceptions, I am mapping my classes as TPC (table pe
implied by virtue of the fact
that there may not be anything referencing the base table?
Thanks in advance for clarification...
Best regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from thi
figure is
that somehow what I am trying to do isn't quite supported in a
ComponentMap, but I could be wrong. I assure you, for ClassMap,
EnumerationUserType is working just fine, but not, it seems, for
ComponentMap.
Best regards,
Michael Powell
--
You received this message because you are sub
On Wed, Jul 15, 2015 at 3:22 PM, Michael Powell wrote:
> Hello,
>
> I am trying to map custom type, for which I've got a working IUserType
> implementation. The user type works fine in an "ordinary" mapping. Now
> I am using the same approach in a ComponentMa
On Wed, Jul 15, 2015 at 3:25 PM, Michael Powell wrote:
> On Wed, Jul 15, 2015 at 3:22 PM, Michael Powell wrote:
>> Hello,
>>
>> I am trying to map custom type, for which I've got a working IUserType
>> implementation. The user type works fine in an "ordinary
On Wed, Jul 15, 2015 at 3:35 PM, Michael Powell wrote:
> On Wed, Jul 15, 2015 at 3:25 PM, Michael Powell wrote:
>> On Wed, Jul 15, 2015 at 3:22 PM, Michael Powell
>> wrote:
>>> Hello,
Did some fact checking, I've got Fluent 1.4 installed; and a mixed
NHibernate
at FluentNHibernate.Cfg.FluentConfiguration.BuildSessionFactory()
in
c:\work\coding\fluentNhibernate\src\FluentNHibernate\Cfg\FluentConfiguration.cs:line
230
InnerException:
On Wed, Jul 15, 2015 at 4:43 PM, Michael Powell wrote:
> On Wed, Jul 15, 2015 at 3:35 PM, Michael Powell wrote:
On Wed, Jul 15, 2015 at 3:22 PM, Michael Powell wrote:
> Hello,
>
> I am trying to map custom type, for which I've got a working IUserType
> implementation. The user type works fine in an "ordinary" mapping. Now
> I am using the same approach in a ComponentMa
.AddMetaValue(typeof (TClass), typeof (TClass).Name);
Thoughts? Insights?
Thank you,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
On Thu, Dec 31, 2015 at 2:41 PM, Michael Powell wrote:
> Hello,
>
> I have some confusion about how to best handle meta-ownership of
> parent/child records. Briefly, I have a statistics table whose rows
> may be owned by one of several parent tables.
I got past that bit, but no
On Thu, Dec 31, 2015 at 3:30 PM, Michael Powell wrote:
> On Thu, Dec 31, 2015 at 2:41 PM, Michael Powell wrote:
>> Hello,
>>
>> I have some confusion about how to best handle meta-ownership of
>> parent/child records. Briefly, I have a statistics table whose row
On Thu, Dec 31, 2015 at 3:31 PM, Michael Powell wrote:
> On Thu, Dec 31, 2015 at 3:30 PM, Michael Powell wrote:
>> On Thu, Dec 31, 2015 at 2:41 PM, Michael Powell
>> wrote:
>>> Hello,
>>>
>>> I have some confusion about how to best handle meta-ownersh
On Thu, Dec 31, 2015 at 4:56 PM, Michael Powell wrote:
> On Thu, Dec 31, 2015 at 3:31 PM, Michael Powell wrote:
>> On Thu, Dec 31, 2015 at 3:30 PM, Michael Powell
>> wrote:
>>> On Thu, Dec 31, 2015 at 2:41 PM, Michael Powell
>>> wrote:
>>>> Hello,
.Cascade.AllDeleteOrphan();
I don't know if the Husband/Wife relationships are automatically
figured, or I need to further constraint in a .Where(), not even sure
how I would do that in Fluent-isms?
It's one thing there is a "simple" parent/child collection
relationship goi
On Wed, Jan 6, 2016 at 10:45 AM, Michael Powell wrote:
> Hello,
>
> I've got a situation where I'd like to reference some children from
> the parent, but the children can reference potentially multiple
> parents. That's by design.
>
> Allow me to explain:
>
Hello,
I am finding a strange error. I've double checked and I am 99% sure
that I've got the "missing" table referenced.
An association from the table Commissions refers to an unmapped class:
Football.Models.FootballUser
>From CommissionMap:
References(x => x.Commissioner, "CommissionerId")
On Wed, Feb 10, 2016 at 5:35 PM, Michael Powell wrote:
> Hello,
>
> I am finding a strange error. I've double checked and I am 99% sure
> that I've got the "missing" table referenced.
I got past this one. Turns out I was not referencing one of the other
assemb
(string[] args)
Line 66 + 0x36 bytes C#
[External Code]
Suggestions?
Thank you.
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, se
CommonAssemblyInfo.cs is missing.
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fluent-nhibernate+unsubscr...@googlegroups.com.
To post to this group, sen
on't mind inheriting from BMap,if that's what it takes, but might
like to preserve the B mapping at the same time, if possible.
Any suggestions?
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
On Sat, Feb 27, 2016 at 6:28 PM, Michael Powell wrote:
> Hello,
>
> I have a situation something like this:
>
> // Yes, A is abstract
> abstract class A {}
>
> // B is not abstract, could inquire about B's
> class B : A {}
>
> // C is also not abstract,
On Sat, Feb 27, 2016 at 6:33 PM, Michael Powell wrote:
> On Sat, Feb 27, 2016 at 6:28 PM, Michael Powell wrote:
>> Hello,
>>
>> I have a situation something like this:
Well, I figured out one part of what was going one. I had recently
refactored one of the "hooks&qu
be closer, and
therefore feel more natural, to the model.
Thank you...
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to f
(Widget).FullName);
.EntityTypeColumn(...)
.EntityIdentifierColumnAndType(...)
.Cascade.None();
Does this work, or does the Container need to be a concrete
("polymorphic") type?
Thank you...
Regards,
Michael Powell
--
You received this message because you are subscribed to
[T](T[]
items) in d:\Source\Kingdom
Software\FootballSimulator\Working\src\Football.Data.NHibernate\Repository\NHibernateRepository.cs:line
129
InnerException:
Thanks,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" g
igh performance,
responsive web sites, ASP.NET, MVC, etc.
Eventually, I suspect I should be able to do something like this on
the client side (JavaScript/jQuery):
$.when(ajax1(), ajax2(), ..., ajaxn()).done(response1, response2, ...,
responsen);
Any suggestions, pointers, thanks in advance!
Re
stent throughout, or at least have a solid understanding
when/where/why those conversions are necessary.
Thank you!
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop r
On Fri, Jul 8, 2016 at 5:08 PM, Michael Powell wrote:
> Hello,
>
> I've got a custom user type which maps to a VARBINARY. I am working on
> the domain side of things for the moment, resolving MSB concerns for
> consistency throughout. Now I am ready to look into the ORM mappin
On Sat, Jul 9, 2016 at 9:43 PM, Michael Powell wrote:
> On Fri, Jul 8, 2016 at 5:08 PM, Michael Powell wrote:
>> Hello,
>>
>> I've got a custom user type which maps to a VARBINARY. I am working on
>> the domain side of things for the moment, resolving MSB concer
ss hierarchies, is there a recommended workaround? Do I need to do
some other form(s) of casting, or have some event handlers connecting
with ISession bits?
Thanks!
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate
On Wed, Aug 10, 2016 at 11:55 AM, Michael Powell wrote:
> Hello,
>
> I have a use case where I'd like to cast an abstract base class to a
> child class in order to verify one of the child class properties.
In my joining table mapping, in this case the reference from Cup to
Juic
e object can be assigned to historic
entities, and I should be able to see the most recent version.
Perhaps Version isn't the right approach, but I'm trying to find some
clarification on just what exactly Version potentially buys me.
Regards,
Michael Powell
--
You received this message b
ssembly version
details to file. Maybe that's a better approach than to depend upon
the FileInfo for dates that are somehow broken.
Environment: Windows 7 64-bit SP1
Targeting .NET Framework 4.5 (database migrations), 4.6 (ASP.NET MVC)
Anyone have any thoughts on this?
Regards,
Michael Powe
On Mon, Aug 29, 2016 at 7:56 AM, Ivan Ruiz de Eguilaz Sosoaga
wrote:
> I finally found the problem about why I was not able to generate a new table
> from the dictionary. I did not have the override class as Public, so it did
> not work.
>
> public class Email_Map : IAutoMappingOverride
> {
t through the fluent mappings signaling
deletion activities.
Thanks!
Thank you...
Regards,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
On Sun, Sep 4, 2016 at 5:57 PM, Michael Powell wrote:
> Hello,
>
> I've got a table per class domain model with a hierarchy going on.
> What I am finding is that the error: "Batch update returned unexpected
> row count from update; actual row count: 0; expected: 1&
nstead of the actual Meta types? For instance, I've seen that in
other places, where "domain level" polymorphism, casting from base
class, etc, is a problem when proxies are involved.
It does not do much good for me to save the journals only not to be
able to re-load them.
Regards
On Fri, Sep 16, 2016 at 6:23 PM, Michael Powell wrote:
> Hello,
>
> I've got a situation where I have a "Log" or "Journal" object, that
> may ReferencesAny host model, for Journaling purposes.
>
> Data is saving okay to the database, it seems, howeve
ndard, at this point.
Thoughts?
Best,
Michael Powell
--
You received this message because you are subscribed to the Google Groups
"Fluent NHibernate" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to fluent-nhibernate+unsubscr...@googlegroups.
ope, IComponentRegistration registration,
IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration
registration, IEnumerable`1 parameters)
InnerException:
On Tue, Feb 27, 2018 at 3:08 PM, Michael Powell wrote:
> Hello,
>
> I have what
I wonder if this is a similar AppDomain issue as compared to this?
https://stackoverflow.com/questions/48641137/filenotfoundexception-for-cefsharp-when-running-xunit-test
On Tue, Feb 27, 2018 at 3:27 PM, Michael Powell wrote:
> I am receiving the following exception as well. It's been
he PRECISE NuGet version. Thoughts?
On Tue, Feb 27, 2018 at 4:02 PM, Michael Powell wrote:
> I wonder if this is a similar AppDomain issue as compared to this?
>
> https://stackoverflow.com/questions/48641137/filenotfoundexception-for-cefsharp-when-running-xunit-test
>
> On Tue
g/packages/FluentNHibernate
>>
>> Which is a shame because anyone subscribing to Fluent prior to 2.1 is
>> unable to leverage those patch releases.
>>
>> For future reference, I will reiterate, what breaking changes there might
>> have been migrating to 2.1?
On Wed, Feb 28, 2018 at 1:35 PM, Michael Powell wrote:
> What I'm saying is that any strong name reference effectively BREAKS
> the migration path. That's not an NHibernate thing but a Fluent thing.
> The migration path from an NHibernate POV is established: 4.0 -> 4.0.1
67 matches
Mail list logo