I did briefly try that, and ended up having some different issues
(don't remember exactly what the problem was now, I'll try to
reproduce that on Monday).
Does FlushEventListener get called for dirty objects only?
Cheers,
Krzysztof
On May 6, 10:04 pm, Fabio Maulo wrote:
> IPreUpdate is intended
you was estimulated to think ;)
--
Fabio Maulo
El 06/05/2011, a las 17:18, Neo escribió:
> I subclassed the MsSql2005Dialect, and just added a
>
> RegisterColumnType(DbType.Double, "FLOAT(53)");
>
> in the constructor, that seemed to do the trick in my scenario.
> Thanks for the hint, Fabio, e
I subclassed the MsSql2005Dialect, and just added a
RegisterColumnType(DbType.Double, "FLOAT(53)");
in the constructor, that seemed to do the trick in my scenario.
Thanks for the hint, Fabio, even if cryptic! :)
On 6 Maj, 14:14, Fabio Maulo wrote:
> RegisterColumnType(DbType.Currency, "MONEY"
Hello,
I am familiar with the nature of a SqlDateTime overflow exception.
But I just came a cross a situation very peculiar. The exception is
thrown when I try to delete an entity not when I try to save it. If
there is any information you could provide as to why this happing will
be appreciated.
I'm trying to have a generic abstract base class to persist many
inherited joined subclasses.
I need this because a requirement is to keep centralized in one table
(the info generic abstract) some informations.
Each subclass has a many-to-one relation to the T entity they manage.
Everything works
I using fluent nhibernate 1.2, NHibernate 3.1 and Nhibernate Validator
1.3
In my session factory, I am making a call to configure the nhibernate
validator as prescribed by the community.
When I make a call to ValidatorInitializer.Initialize, I get a first
chance exception whenever a property on o
If you don't need lazy-property feature then do the same you are seeing in
Linfu proxy factory.
On Fri, May 6, 2011 at 11:16 AM, michal wrote:
> Yes I know it can look little odd. This it result of some bad
> decisions made some years ago by our team (me too!) . We put huge
> number of ASP.NET s
Yes I know it can look little odd. This it result of some bad
decisions made some years ago by our team (me too!) . We put huge
number of ASP.NET sites with large number of mappings on single server
so dynamic proxy generation just kills our servers when session
factory is lost somehow (expired cac
well... I said "what about *a failing test* with a JIRA ticket ?"
instead I found an image :((
On Thu, May 5, 2011 at 1:18 PM, pcon wrote:
> I think JIRA is offline... http://jira.nhforge.org/
>
> On 5 Mai, 16:22, Fabio Maulo wrote:
> > And what about a failing test with a JIRA ticket ?
> >
> >
you can put true and return a proxy in GetFieldInterceptorProxy.
More than that, we have to know which is the target of your custom
proxyfactoryfactory (95% of users does not need a custom proxy factory).
On Fri, May 6, 2011 at 9:38 AM, michal wrote:
> Thank you for the answer, but I still don't
Thank you for the answer, but I still don't know what to do.
IsInstrumented should be true or false in my case ? Proxies are
generated by Castle, but GetFieldInterceptionProxy from IProxyFactory
not implemented (like LinFu).
On 6 Maj, 14:30, Fabio Maulo wrote:
> It is to manage lazy-properties
It is to manage lazy-properties
On Fri, May 6, 2011 at 9:16 AM, michal wrote:
> Hi
>
> I am using custom ProxyFactory in my project (it is based on the one
> from the old Proxy Generators project). I almost finished to make it
> compatible with NH 3.1 (used 2.1.2 before) , only one thing is left
Hi
I am using custom ProxyFactory in my project (it is based on the one
from the old Proxy Generators project). I almost finished to make it
compatible with NH 3.1 (used 2.1.2 before) , only one thing is left.
There is new method "IsInstrumented" in the IProxyFactoryFactory
interface. I saw it is
RegisterColumnType(DbType.Currency, "MONEY");
RegisterColumnType(DbType.Decimal, "DECIMAL(19,5)");
RegisterColumnType(DbType.Decimal, 19, "DECIMAL($p, $s)");
RegisterColumnType(DbType.Double, "DOUBLE PRECISION"); //synonym for
FLOAT(53)
RegisterColumnType(DbType.Int16, "SMALLINT");
RegisterColumnT
IPreUpdate is intended to be used for entity-state checking (veto) not to
change the state.
What is happening is that NH found a strange operation in a collection
(something like "somebody have changed it outside my control or I have a
bug").
For what you need you have to use ISaveOrUpdateEventList
Hi I m trying to pass User Defined Type as parameter to stored
procedure define in Oracle.Its is working fine with Oracle 11 +
ADO.net.But facing problem in integrating with NHibernate.
Following are the IType implementation procedure ,User defined Type ,
Call from NHibernate and Exception coming.
I have an entity with a double property, in the database this column
is a float.
During SchemaValidation I get an exception stating that it expected
"double precision".
If I, using ConfORM, set the property type to be "Single" it instead
expects a "real".
I've tried the following different ones:
m
I'm using Oracle database.
I have a IPreUpdateEventListener and IPreInsertEventListener which set
CreatedBy and UpdatedBy properties on some of the entities.
Those properties point to another entity Person which is assigned in the
listeners via Session.Load<>
this all used to work quite nice
18 matches
Mail list logo