I guess you mean if querying onetomany associations is possible? No,
currently it is not, only “traverserelation” using inner join is possible.
Please report an issue on github.
(Depending on what you want to do and how your model look like, a possible
workaround might be to query the chil
NHibernate Envers targeting NH Core 5.2.0 now released.
https://www.nuget.org/packages/NHibernate.Envers/5.2.0
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to nhuser
Yes, IRevisionListener supports DI.
var myListener = new MyRevisionListener(new DepA(), new DepB(new DepC()))
https://nhibernate.jira.com/browse/NHE-17
From: nhusers@googlegroups.com On Behalf Of Pratip
Bagchi
Sent: den 12 november 2018 18:43
To: nhusers
Subject: [nhusers] Add auditing thro
Please add an issue or fix/pull request here
https://github.com/nhibernate/nhibernate-envers
Regards
Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Erko
Sent: den 20 juni 2018 10:49
To: nhusers
Subject: [nhusers] NHibernate.Envers strong-name
Hello
IMHO, do not unit test/mock nhib types. Write integration tests for this
instead.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Robert Eberhart
Sent: den 6 april 2018 19:50
To: nhusers@googlegroups.com
Subject: Re: [nhusers] Custom User Type with IUserType
Hell
explain this better than me.
Regards
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
?? ??
Sent: den 21 oktober 2017 21:31
To: nhusers
Subject: [nhusers] NH-3488 - Strongly typed Inserts, Updates and Deletes vs
NHibernate Envers
Have I any chance
NHibernate.SetForNet4 (before NH Core supported BCL’s ISet out of
the box).
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
codekaizen
Sent: den 16 maj 2017 01:55
To: nhusers
Subject: [nhusers] Envers global ICustomCollectionMapperFactory implementation?
We replace
<>
If so, you need to use distr transactions if you want to ensure db
“consistency”.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
John Rolando Aristizabal Zuluaga
Sent: den 31 augusti 2016 16:16
To: nhusers
Subject: [nhusers] Envers with Custom SessionFactory
ned on
[NHE-138] - FluentConfiguration make setRevisionEntity public
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to nhusers+unsubscr...@googlegroups.com.
To post to
Yes, the “modified bit db columns” are based on the property names. AFAIK, you
cannot configure this today.
Feel free to create a JIRA issue about this.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Alejandro Calbazana
Sent: den 25 februari 2016 21:40
To: nhusers
Not supported.
The issue for related many-to-any is here
https://nhibernate.jira.com/projects/NHE/issues/NHE-61.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
César Pistiner
Sent: den 8 januari 2016 15:11
To: nhusers@googlegroups.com
Subject: [nhusers] Envers w
Might be a bug. Feel free to report a bug to the JIRA
(https://nhibernate.jira.com/projects/NHE), preferably with a small,
failing test.
On Friday, October 16, 2015 at 12:59:26 PM UTC+2, PeSo wrote:
>
> Nobody else encountered this problem?
>
> Am Dienstag, 6. Oktober 2015 12:48:30 UTC+2 schrieb
e modify the schema
whatever way you like.
If you want explicit schema changes added to what’s normally produced by
SchemaExport, you can use in your mapping.
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Matthias Kientz
Sent: den 9 oktober 2015 11:08
With the mapping you have, the ”SettingValue” is supposed to be part in the
audited table’s primary key. Or rather – part of the generated audited
composite-id mapping for ”HardwareSettings”.
<< Has someone an idea where to hook in to change the way Envers creates the
schema for the audit table
Don’t know if I understand you’re attached mapping files correctly but it seems
you’ve manually tried to map the “audited” entities (=LogKisi). You shouldn’t
do that. Just map your entities (“Kisi”) like normal and you’re done.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] O
folder there is
Integration and UnitTests so place it under Integration please.
3.
Please do.
Regards
Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Devin Michael
Sent: den 12 mars 2015 00:32
To: nhusers@googlegroups.com
Subject: [nhusers] Re: Unable to cast
/CONTRIBUTING.md
Some things differ but the principle is the same for Envers.
)
/Roger
On Wednesday, March 11, 2015 at 12:25:08 AM UTC+1, Devin Michael wrote:
>
> I think I might have solved the issue. On line 275 of the
> AuditEventListener class there's the following line of co
Don’t know I’m afraid.
Please try to isolate your problem to a test case and create a pull request.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Devin Michael
Sent: den 9 mars 2015 17:06
To: nhusers@googlegroups.com
Subject: [nhusers] Unable to cast object of typ
know if there is a bug or not. May
also be some attribute conf that needs to be converted to fluent. Please try to
isolate your problem to a small test case (using envers repo) a create a pull
request.
Regards
Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
If your using a custom revision entity, you need to map that entity (as a
normal nh core entity).
Sent from Samsung tablet
Original message
>From Scott Findlater
Date: 2015/03/09 17:58 (GMT+01:00)
To nhusers@googlegroups.com
Subject [nhusers] Envers - Cannot extend unmapp
No, probably not.
Please report an JIRA issue about this and I’ll make it public “soon”. (if you
want to make a pull request, you are more than welcome. If so – have a look at
the RevisionInfo*Test under NetSpecific/UnitTests)
/Roger
From: nhusers@googlegroups.com [mailto:nhusers
NH Core bug.
/Roger
PS: You can use AuditEntity.RelatedId(“ParentObject”) in your query instead –
nothing to do with your issue though.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Johannes Aberidis
Sent: den 15 oktober 2014 15:49
To: nhusers@googlegroups.
It has already been released
http://www.nuget.org/packages/NHibernate.Envers/
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
José Henrique (Zote)
Sent: den 18 augusti 2014 02:22
To: nhusers@googlegroups.com
Cc: nhibernate-developm...@googlegroups.com
Subject: Re: [
SortedSet != OrderedSet
That being said, I defiantly think the dependency should be dropped.
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Ricardo Peres
Sent: den 18 augusti 2014 09:48
To: nhusers@googlegroups.com
Subject: Re: [nhusers]
It's still used for ordered sets.
https://github.com/nhibernate/nhibernate-core/pull/245
Original message
>From Ricardo Peres
Date: 2014/08/18 01:41 (GMT+01:00)
To nhibernate-developm...@googlegroups.com
Cc nhusers@googlegroups.com
Subject [nhusers] Re: NHibernate 4.0.0.GA r
Are you configuring envers using attributes or code?
In either case - sounds like a bug to me. Please create a jira issue,
preferably with a failing test.
Sent from Samsung Mobile
Original message
From: Scott Resnik
Date:2014/08/07 9:28 PM (GMT+01:00)
To: nhusers@googlegroup
I'm away from VS currently so I cant really test your example but...
Yes. Collections of components should work fine since v 1.6.
I dont know fluent nhibernate so if you can reproduce this error with only nh
core (and envers), please report it to the jira (eg use hbm mapping).
Also, dont really k
@googlegroups.com] On Behalf Of
Atilla Ilhan KARTAL
Sent: den 30 maj 2014 08:59
To: nhusers@googlegroups.com
Subject: Re: [nhusers] Nhibernate Envers Multiple Database Auditing
Dear Roger;
Thanks for Reply.
I am setting entity table catalog name with configuration at runtime. After
settings re
uld
that work? What should decide this runtime decision?
/Roger
Original message
>From Atilla İlhan KARTAL
Date: 2014/05/28 15:26 (GMT+01:00)
To nhusers@googlegroups.com
Subject [nhusers] Nhibernate Envers Multiple Database Auditing
Dear All;
I am using multiple datab
Maybe related/same as jira issue NH-2841?
Sent from Samsung tablet
Original message
>From Peter V
Date: 2014/04/08 20:36 (GMT+01:00)
To nhusers@googlegroups.com
Subject Re: [nhusers] Re: How to prevent DB update if value not changed
Thanks, I did find cases of this in ou
I’ve already answered it on SO. At least the “why and if a link table is
needed”. If I got the SO message and his own answer correctly, the exception
problem has been solved (?).
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
José Henrique
Sent: den 26 mars 2014 1
h, by the way, I definatly prefer myself as well), please JIRA this.
/Roger
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Guilherme
Paschoal [guilhermepasch...@gmail.com]
Skickat: den 20 februari 2014 17:59
Till: nhusers@googlegroups.com
do find the time to isolate your problem and it turns out it’s really a
bug in Envers, please report it to the JIRA.
Good luck!
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Guilherme Paschoal
Sent: den 18 februari 2014 18:38
To: nhusers@googlegroups.com
AFAIK, that ”should” work. Is it one specific query that doesn’t work or is it
all of them?
How is your configuration object configured?
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Guilherme Paschoal
Sent: den 17 februari 2014 21:17
To: nhusers@googlegroups.com
Hi
Envers targeting NH 4 Alpha1 is now available on nuget.
https://www.nuget.org/packages/NHibernate.Envers/2.0.0-Beta
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from i
If possible, please pull latest envers code from here
https://bitbucket.org/RogerKratz/nhibernate.envers
and create a small (nunit) test describing your issue.
Thanks
Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Kristof Riebbels
Sent: den 29 oktober 2013
PUTE = OFF, IGNORE_DUP_KEY = OFF,
ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [DATA]
) ON [DATA]
2013/10/29 Roger Kratz
mailto:roger.kr...@teleopti.com>>
Can you show us some simple mapping + code?
From: nhusers@googlegroups.com<mailto:nhusers@googlegroups.com>
[mailto:
Can you show us some simple mapping + code?
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
kriebb
Sent: den 29 oktober 2013 15:06
To: nhusers@googlegroups.com
Subject: [nhusers] [Nhibernate.Envers] [1.6 GA] property auditing check
Hi,
We've setup the auditing on p
I'm not sure I follow you but...
Do you have a single (Nhibernate) Configuration instance for you application or
one per database? The exception you get, occurs when you try to decorate
multiple mapped entities as "RevisionEntity" in the Configuration object.
Maybe you call CreateRevisionInfoMa
Can you send a simplified example of the configuration you use that fails?
Sent from Samsung Mobile
Original message
Subject: [nhusers] several databases
From: Денис Подзюбан
To: "nhusers@googlegroups.com"
CC:
Good day!
I use envers version 1.6.
Our application works with
I don't know if I understand you correctly but assuming you want to get current
and last revision of the 10 "Notes" last modified...
1. Find what Note entities that are changed most recently. Looking at the
mapping I guess, in your case, you can simply use the main tables for this
(DateStamp pr
jira.com/browse/NHE.
/Roger
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Денис Подзюбан
[podzyu...@gmail.com]
Skickat: den 14 juni 2013 11:10
Till: nhusers@googlegroups.com
Ämne: [nhusers] nhibernate envers lazy load collection
hi.
I have a proble
What have you tried? What doesn't work?
Read this in the docs
http://envers.bitbucket.org/#revisionlog
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Nick
Sent: den 23 maj 2013 00:11
To: nhusers@googlegroups.com
Subject: [nhusers] Re: [envers] Tracking Revision a
Using ExcludeRelationData (or RelationTargetAuditMode.NotAudited using
Attribute conf) on a bidirectional one-to-many ref currently doesn't work.
I saw you reported...
https://nhibernate.jira.com/browse/NHE-116
Confirmed.
Från: nhusers@googlegroups.com [nhusers
x27;. Envers
I am new to NH too.
And novice with Envers on NH, i am trying to make this work
http://envers.bitbucket.org/
But i guess something wrong there.
On Tuesday, March 26, 2013 3:24:23 AM UTC+5:30, Roger wrote:
I don't know Fluent NH much but... Where do
I don't know Fluent NH much but... Where do you generate the DDL?
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Sukumar K
[k.su...@gmail.com]
Skickat: den 25 mars 2013 19:12
Till: nhusers@googlegroups.com
Ämne: [nhusers] Invalid object name 'REVINF
Envers supports the same dbs as nh core does. Nh is spezialized around relation
databases, so I find it hard to believe that mongodb ever will be supported.
Sent from Samsung Mobile
Original message
Subject: [nhusers] NHibernate.Envers with MongoDb
From: Deepak Rohilla
To:
NH 4.
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to nhusers+unsubscr...@googlegroups.com.
To post to this group, send email to nhusers@google
http://nhforge.org/doc/nh/en/index.html#inheritance-tableperconcrete
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
mouthbow
Sent: den 13 mars 2013 16:28
To: nhusers@googlegroups.com
Subject: [nhusers] Mapping property of BaseClass type
Hi, I'm trying to make this
't. You need to build this logic
yourself by iterating the properties in the two versions.
)
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
?? ??
Sent: den 24 februari 2013 09:57
To: nhusers@googlegroups.com
Subject: [nhusers] NHibernate.Enve
No.
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för
choboj...@gmail.com [choboj...@gmail.com]
Skickat: den 4 februari 2013 19:05
Till: nhusers@googlegroups.com
Ämne: [nhusers] Can you use linq?
Hi
I am wondering if it is possible to use linq with e
(at least with SQL Server).
However, if that's the only way then I suppose it's not really possible
Thanks
Wes
On Thursday, January 17, 2013 6:13:26 PM UTC+2, Roger wrote:
What do you mean by ”different database”? Another machine/installation or
another catalog (or maybe another sc
What do you mean by "different database"? Another machine/installation or
another catalog (or maybe another schema)?
Catalog and/or schema - yes (http://envers.bitbucket.org/#config-reference)
Another installation - no
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf
t record; however, we do not want an audit record generated if only
the Hours change. Is this possible?
On Tuesday, December 18, 2012 4:10:46 PM UTC-5, Roger wrote:
1. What do you mean by "run time configuration"? You don't mean changing what
properties to audit after the se
1. What do you mean by "run time configuration"? You don't mean changing what
properties to audit after the session factory has been created, right?
But yes, you are right. Fluent interface currently only support "exclusion
model".
2. An entity and its audited counterpart share the same .net typ
<< Is there a built in way in Envers where changes are not automatically
active>>
I'm not sure I fully understand you but... Are you looking for something that
sometime in the future will "publish" a new version of an entity? If so, no -
Envers has no built in support for that. Envers handles a
The link you refer to (primarly) says it's a bad choice choosing a not
sequential guid identifier strategy. Are you aware of guid.comb to avoid (most
of the) fragmentation?
Probably noone can't give you a perfect answer "what's the best" though. Do
some measurements on your important use cases.
Check out nhibernate.envers.do_not_audit_optimistic_locking_field in the docs
http://envers.bitbucket.org/#config-reference
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Alex Brown
Sent: den 19 november 2012 19:26
To: nhusers@googlegroups.com
Subject: [nhusers] U
f you need some assistance.
/Roger
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Pete
Appleton [peteapple...@foretel.co.uk]
Skickat: den 20 november 2012 19:32
Till: nhusers@googlegroups.com
Ämne: RE: [nhusers] RE: Envers - custom IIdMapper imple
injection.
Pseudo-code:
class MyEntity {
Id {get; protected set; }
Name { get; set; }
[DependencyAttribute]
Context { get; set; } // Injected by interceptor
}
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Roger Kratz
Sent:
I don't think it's currently possible.
Why do you want to do this? What do you want to accomplish?
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Pete Appleton
Sent: den 20 november 2012 13:08
To: nhusers@googlegroups.com
Subject: [nhuser
them round the wrong way when i was refactoring.
I'm planning to do a blog post shortly on getting this set up with fluent nh
today, I'll link from here when it's done to help others
On Thursday, 15 November 2012 09:13:57 UTC, Roger wrote:
I don't know fluent nh at all, but it
I don't know fluent nh at all, but it seems you're updating the schema before
configuring envers?
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Alex Brown
Sent: den 14 november 2012 19:34
To: nhusers@googlegroups.com
Subject: [nhusers] NHibernate envers not creati
Probably a bug in Envers. Can you please JIRA this with a (minimal) failing
test?
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Pete Appleton
Sent: den 14 november 2012 17:13
To: nhusers@googlegroups.com
Subject: [nhusers] Antlr.Runtime.
I saw your cross post on stackoverflow...
http://stackoverflow.com/questions/13378429/storing-previous-versions-with-parent-entity-using-nhibernate-envers
... before I saw this one. I posted an answer there.
Short answer here as well;
When using Envers, it take cares of auditing for you. You don't
BEE3391")))
.Results();
Somewhere I think the mapping from ID to VersionNumber has gone wrong...?
On Tuesday, 13 November 2012 14:23:49 UTC, Roger wrote:
Use
ForHistoryOf()
Instead of
ForRevisionsOf
From: nhu...@googlegroups.com
[mailto:nhu...@googlegroups.com] On
Use
ForHistoryOf()
Instead of
ForRevisionsOf
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Alex Brown
Sent: den 13 november 2012 13:06
To: nhusers@googlegroups.com
Subject: [nhusers] Retrieving the revision number and revisionType with
nhibernate.enver
I'm queryi
Absolutely.
Simple example
var enversCfg = new FluentConfiguration();
enversCfg.Audit();
nhConfiguration.IntegrateWithEnvers(enversCfg);
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Alex Brown
[a...@alexjamesbrown.com]
Skickat: den 12 nove
<< Is there any particular reason why IdBag is not supported?>>
No
<< Or is it just waiting for someone to implement it?>>
Yes
Please JIRA (https://nhibernate.jira.com/browse/NHE) this with at least a
failing test. Even better if you can provide a fix as well ;)
From: nhusers@googlegroups.
Hi
Envers 1.4 was released on nuget today. Available here...
http://nuget.org/packages/NHibernate.Envers
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com.
To unsubscribe
In what purpose? Is it "write reasons" or "read reasons"? Do you want it for
audit logging for some security reason or do you want it to because you want to
display some sort of "history list" where changes of Company and Address or
mixed together?
From: nhusers@googlegroups.com [mailto:nhuse
Probably a bug. Please JIRA this here...
https://nhibernate.jira.com/browse/NHE
...with a minimal mapping example and, preferably, a small unit test.
As a work around you should be able to set an explict table name. Use
AuditJoinTableAttribute if you use attribute conf. If you use fluent conf,
w
/nhibernate.envers/src/4fc1063281cf/Src/ReleaseNotes.txt
Enjoy!
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com.
To unsubscribe from this group, send email to
nhusers+unsubscr...@google
NH Envers docs are now available online
http://envers.bitbucket.org/
Contributions to the docs are more than welcome (source code for docs are part
of NH Envers project)!
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To po
: Re: [nhusers] Envers and Oracle
Hi Roger!
I found out that the revision number starts at 2 when I run against Oracle!
Changeing the FieldAccessTest.VerifyHistory to use revision 2 and 3 makes the
first test pass.
Best regards
/Örjan
--
You received this message because you are subscribed to the
juni 2012 15:07
To: nhusers@googlegroups.com
Subject: Re: [nhusers] Envers and Oracle
Hi Roger!
I found out that the revision number starts at 2 when I run against Oracle!
Changeing the FieldAccessTest.VerifyHistory to use revision 2 and 3 makes the
first test pass.
Best regards
/Örjan
--
You
Thanks.
I will try to setup an Oracle db somehow to be able to fix your issue(s). (few
days, weeks - don't know unfortunately)
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Örjan Fjällborg
Sent: den 1 juni 2012 12:46
To: nhusers@googlegroups.com
Subject: Re: [nhu
users@googlegroups.com
Ämne: Re: [nhusers] Envers and Oracle
Thank you Roger and Oskar!
I tried the revision Roger suggested and now the REVINFO table seems to be
correctly generated in Oracle.
I still get an NullReferenceException from my unit tests, but I have probably
used Envers incorrectly.
Stack
-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Oskar Berggren
Sent: den 31 maj 2012 14:35
To: nhusers@googlegroups.com
Subject: Re: [nhusers] Envers and Oracle
2012/5/31 Roger Kratz :
> The problem with making sure tests against Oracle works, is simply
> that I
Can you please run all envers tests against an Oracle db and
come back with the result?
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Örjan Fjällborg
Sent: den 31 maj 2012 13:45
To: nhusers@googlegroups.com
Subject: [nhusers] Envers and Oracle
Hi ev
Hi
No. AFAIK - You don't get any help from Envers here. You'd better script in the
added users to the audited tables. Shouldn't be that hard - just create a new
revision and then copy appropriate rows from "real" tables to audit with
revtype set to Added (=0).
/Rog
bject: Re: [nhusers] Envers - Modify the generated audited entity before
insert ?
Hello Roger,
Thanks for your response !
What we need to do, in this particular case, is to modifiy a revision entry.
We are working with an Adress entity which has a period. When a modification
occurs on this a
Normally you put extra information on the revision entity and not the audited
entity.
What is it you want to do in your use case? What information does this
"specific property" hold?
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
enjoy
Sent: den 9 maj 2012 14:08
, look if X is fulfilled - if it is,
call the base impl. If not, do nothing. Your AuditEventListener impl you pass
into the IntegrationWithEnvers method.
/Roger
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
vigj
Sent: den 7 maj 2012 11:12
AFAIK - It should respect NH Core's setting. Feel free to verify it. :)
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Greg
Sent: den 26 april 2012 16:34
To: nhusers
Subject: [nhusers] Envers and batching
App I am working on has some bulk
I'm not sure but... Maybe/Probably (using binding redirects).
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Greg
[bor...@gmail.com]
Skickat: den 9 april 2012 06:45
Till: nhusers
Ämne: [nhusers] Re: NH Envers 1.1 CR1 released!
Hi
<< Couldn't the datetime be used for that? >>
Depending on the precision on the db column you might end up with two identical
datetimes.
<< Surely people think in terms of Revisions and revision ranges, not revision
numbers?>>
Yes, the revision id has no real business value. It's a primary ke
When having a custom revision entity, the schema generated is outside the
control of envers so to speak. Simple NH Core mapping. So something seems
strange here...
<>
Please do.
Thanks.
Roger
Från: nhusers@googlegroups.com [nhusers@googlegroups.co
Try another inheritance strategy. IIRC - table per subclass defeats batching.
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Tencntraze
[tencntr...@gmail.com]
Skickat: den 3 april 2012 22:28
Till: nhusers@googlegroups.com
Ämne: [nhusers] Batch inser
IMHO, I would prefer writing integration tests for this kind of logic.
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Luis Custodio
Sent: den 2 april 2012 21:56
To: nhusers@googlegroups.com
Subject: [nhusers] Mock an EntityEntry
Hey, this is my question here, so b
T IDENTITY NOT NULL, -- why is this still here
REVTSTMP DateTime null,-- and this one
primary key (REV) -- and why isn't this Id
)
I figure either the documentation is a little misleading or I'm doing something
wrong.
-Patrick
On Friday, Marc
<>
No, not currently. It must be some sort of number because it's used in some
queries (eg "<=", "max", "between").
<>
Hmm... It _should_ be, but I'm not sure it is. If it isn't, please JIRA this.
Från: nhusers@googlegroups.com [nhusers@googlegroups.com
luent cfg...
public class EnversRevisionEntity
{
public virtual long RevisionId {get;set;}
public virtual DateTime TheTimeStamp {get;set;}
}
fluentCfg.SetRevisionEntity(e => e.RevisionId, e =>
e.TheTimeStamp, new EnversRevisionListener());
/Roger
Från
what happens in your scenario (a collection of
custom user types). Out of curiousity - don't you get a "nice" (hmm.. well...)
exception saying this isn't supported? What is your stack trace?
/Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf
3ac1dbd0/Src/NHibernate.Envers.Tests/Integration/CustomType
Simply add a new test in that folder and create a patch (or do a pull request
on bitbucket).
Thanks
Roger
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Patrick
Sent: den 22 mars 2012 01:04
To: nhusers@googlegroups.com
Custom user types is suppose to work just fine with Envers. Can you send a
failing test (using hbm mapping) here please?
https://nhibernate.jira.com/browse/NHE
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Patrick
[rpmcna...@gmail.com]
Skickat: d
You can download docs here
http://sourceforge.net/projects/nhcontrib/files/NHibernate.Envers/
There's a guy who has written a series of blog posts here
http://www.primordialcode.com/blog/post/nhibernate-envers-quick-introduction
There's plenty of information on the net, primarily for (Java) Hiber
Yes.
-Original Message-
From: nhusers@googlegroups.com [mailto:nhusers@googlegroups.com] On Behalf Of
Peter Morris
Sent: den 20 mars 2012 12:26
To: nhusers
Subject: [nhusers] Re: Data versioning
Hi Roger
> NHibernate Envers might be what you're looking for. However - there
>
NHibernate Envers might be what you're looking for. However - there the audit
data will be put in seperate tables.
https://bitbucket.org/RogerKratz/nhibernate.envers
Från: nhusers@googlegroups.com [nhusers@googlegroups.com] för Peter Morris
[mrpmor...@gma
)
http://nuget.org/packages/NHibernate.Envers/1.1.0-CR1
Enjoy!
/Roger
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To post to this group, send email to nhusers@googlegroups.com.
To unsubscribe from this group, send email to
nhuser
1 - 100 of 346 matches
Mail list logo