On Tuesday, August 3, 2021 at 8:48:14 PM UTC+2 marko.t...@gmail.com wrote:
> I would like to find licence information of the outdated 3.2.0.4000
> iesi.collections? I can only find license information for iesi.collections
> 4.* versions.
>
If you are talking about the nuget packages, then li
Hi,
I feel like you kind of skipped over something there - you say you "tried
creating", even by manual action in GUI, and you get an exception from
runtime about invalid column name. But do you actually have the column in
the (correct) table in the (correct) database or not? In other words - i
Your query example seems seems odd too. The variable `jobs` should be typed
as IList but then you try to access `jobs.Departments` - but
`Departments` is hardly defined by the IList interface, so what is
really going on?
Den ons 16 dec. 2020 kl 11:27 skrev Oskar Berggren :
> Where is the HasM
Where is the HasMany() mapping?
Also, you have put Inverse on the References() mapping. I don't think I've
ever tried that, I've only ever put Inverse() on the HasMany-side.
Den ons 16 dec. 2020 kl 10:08 skrev Venkata Krishna Reddy Sangu <
svkreddy...@gmail.com>:
> Team, Any idea on this issue?
Hi,
If you load an object using the NHibernate session and modify that object
in memory and then commit the transaction, a common behaviour is that
NHibernate would detect the changes in the object (dirty checking) and
transmit the changes to the database (flushing) before issuing the command
to c
Hi,
It's difficult to say for sure with just a small method like this taken out
of context. The problem is likely in the interaction between different
parts of your application.
I will say however that I'm very suspicious of your Save() method. I mean
no offence, but to me it looks like a collect
File names:
0001-whatevber.hbm
0002-whatever.hbm
and so on.
Den mån 29 juli 2019 kl 16:13 skrev David Ackroyd <
davidackroydmu...@gmail.com>:
> Hi All,
>
> I was wondering if there was any way to add a list of xml files all at
> once, rather than calling AddXmlFile on each file? For various reaso
You can implement your connection provider. Or connection manager.
Den fre 3 maj 2019 kl 14:00 skrev Paul Duran :
> We have a fairly large NHibernate configuration of approximately 300
> entities / tables.
>
> I've taken a memory dump of our application and I can see that the
> SessionFactory mem
NHibernate and FluentNHibernate are, to my knowledge, still fully managed
code and independent of the CPU architecture assuming you have a working
.Net environment.
Den tors 7 mars 2019 kl 15:54 skrev :
> We are developing a .net core 2.0 background application for *Raspberry
> PI 3 with Windows
Is core 2.1 fully backwards compatible?
On Tue, 5 Feb 2019, 16:12 Roshan Budhathoki I went through nuget package of nhibernate 5.2.3 has .net core 2.0
> dependencies. But it fully supports .net core 2.1?
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers
I believe "native" on the generator should generate a sequence in
PostgreSQL.
I don't know if NHibernate can generate "CREATE TYPE". I have never
actually used the schema generation in a production scenario, preferring to
write the SQL schema upgrade scripts manually instead, as this is the only
w
That sounds much more straight-forward an easier to understand. :)
/Oskar
Den tors 29 nov. 2018 kl 20:46 skrev Gökhan Abatay :
> Hi Oskar Berggren,
> Thank you for quick response, actually I change my perspective after
> posing this message now I have the same idea with you.
> I ch
But HQL is not SQL. Are you looking for CreateSQLQuery()?
/Oskar
Den fre 30 nov. 2018 kl 15:29 skrev Gökhan Abatay :
> Hi I need to pass sequence to hql but it gives me error?
>
> sequenceNextValSql taken from dialect and it's value for oracle =
> MY_SCHEMA.SEQUENCE_NAME.nextval
>
>
I looks to me like you are accessing a bunch of interfaces that are not
necessarily the official way to work with NHibernate. The ISession provides
the interface to reattach objects.
Personally I've always found Evict/Attach messy, to be honest.
You mention that you need very good performance. I'
NH4 doesn't support .Net lower than 4.0 does it?
Den sön 18 nov. 2018 kl 16:54 skrev Gunnar Liljas :
> I don't see why not. You also have Linq to SQL built into the framework,
> if the target is SQL Server. It's actually quite good. Certainly better
> than EF1. But NHibernate will provide a bette
Den tis 13 nov. 2018 kl 19:10 skrev Pratip Bagchi :
> Thanks Roger. But do I pass a new IHttpContextAccessor to the
> RevisionListener. My "AddNhibernate" service extension called only once in
> Startup and as IHttpContextAccessor is singleton in nature once it is
> initialized it is holding the
Envers isn't my strong side, but why can't your RevisionListener access
HttpContext.Current on the fly?
/Oskar
Den mån 12 nov. 2018 kl 17:45 skrev Pratip Bagchi :
> I am in dire need of your help. I have migrated some legacy .Net web API
> applications to .net core and get it all working excep
Den mån 1 okt. 2018 kl 16:24 skrev Yılmaz Demir :
> *Exception Line:*
>
> var retVal = query.Where(() => !realtyFileAlias.IsDeleted &&
> realtyFileAlias.TypeId == (int)RealtyFileType.Image)
> .SelectList(builder => builder .Select(file => file.RealtyId)).List
> ();
>
>
>
>
>
> update for other tab
Which line exhibits the exception, what other tables are updated and what
are your mappings?
On Thu, 27 Sep 2018, 19:26 Yılmaz Demir, wrote:
> *C# Code:*
>
> var query = Session.QueryOver(() => realtyFileAlias);
> query = query.Fetch(sub => sub.Realty).Eager;
>
> query = query.Inner.JoinAlias(()
Historicall NHibernate have worked well on Mono in Linux since forever. I'm
not up to date on the .Net standard patches.
/Oskar
2018-01-24 16:19 GMT+00:00 LightCZ :
> It has been a while for .NET CORE 2.0 (.NET Standard 2.0) to be out now. I
> know about many pull-requests for NHibernate .NET C
The euro symbol is defined in code page ISO-8859-15 - I'm not very familiar
with Oracle, but it would seem that the Oracle client driver (from Oracle)
doesn't use ISO-8859-15 or doesn't agree with the server what encoding to
use.
NHibernate sends .Net strings (internally encoded as UTF-16 I believ
To be clear, length must be at least 4001 and at most 1073741822.
2017-12-05 21:30 GMT+00:00 Oskar Berggren :
> type is not necessary. Set length="" to anything between 4000 and
> 1073741822 (i.e. 1GB-2bytes) and you will get nvarchar(max).
>
> 2017-12-05 3:32 GMT+0
type is not necessary. Set length="" to anything between 4000 and
1073741822 (i.e. 1GB-2bytes) and you will get nvarchar(max).
2017-12-05 3:32 GMT+00:00 chaitanya krishna :
> HI i am new to nhibernate i am facing one problem using nhibernate
>
> i read some where article and added to my xml file
24, 2017 at 12:54:29 AM UTC+5:30, Oskar Berggren wrote:
>
>> NH 4.1
>>
>> 2017-10-23 19:52 GMT+01:00 newnhibernateUser :
>>
>>> Hello All,
>>>
>>> WE have nhibernate 1.0 implemented with dot net 3.5. Now we are planning
>>> to migrate ne
NH 4.1
2017-10-23 19:52 GMT+01:00 newnhibernateUser :
> Hello All,
>
> WE have nhibernate 1.0 implemented with dot net 3.5. Now we are planning
> to migrate newer version.
>
> Please suggest which are the nhibernate version compatible with below
> given dotnet version
>
> dot net 4.0,4.5.2,4.7
>
Might be to use standard .Net deserializing on it?
2017-09-05 6:44 GMT+01:00 Ashwin Kamath :
> How to convert bye[] to string[]
>
> On Monday, September 4, 2017 at 8:27:25 PM UTC+5:30, saltcode wrote:
>>
>> You read it as byte array ado.net data type
>>
>> On Sep 4, 2017 12:54 PM, "Ashwin Kamath
part where FSessionFactory is instantiated.
>>
>> 2017-08-12 17:32 GMT+02:00 Ganesh Gebhard :
>>
>>> Hi Oskar,
>>>
>>> Thanks for the advice, the message is now 'Object reference not set to
>>> an instance of an object.'
>>>
>>
GenereicAdoException will have an InnerException property, and that in turn
may also have an InnerException and so on. These will often tell you what
the problem is.
/Oskar
2017-08-11 1:44 GMT+01:00 Ganesh Gebhard :
> Sure. Everytime I want to add a new table, I get the following error:
>
> NHib
2017-07-06 10:12 GMT+01:00 陈应华 :
>
> Please help! Thanks a lot.
>
Please provide useful content in the body of the email instead of using
overly long subject lines. It makes it easier to quote relevant parts of
the question when replying.
Apart from the one-line question, I think some sample cod
> helpful.
>
>
>
>
>
> On Wednesday, June 7, 2017 at 10:05:22 PM UTC+5:30, Oskar Berggren wrote:
>>
>> I wasn't aware of any 64-bit problem in 2.2, but for sure I'm running NH
>> 3.3 on 64-bit for many years with no problem.
>>
>> A requirem
I wasn't aware of any 64-bit problem in 2.2, but for sure I'm running NH
3.3 on 64-bit for many years with no problem.
A requirement is of course that the underlying ADO.Net database driver
doesn't use native 32-bit only code. Have you checked to make sure this
isn't the problem here?
/Oskar
201
Very interesting!
Some feedback:
I think it would be good if it could optionally retain the parameters (i.e.
generate DECLARE statements with the values before the exected SQL, while
generally leaving the SQL as-is). Executing this query will more closely
resemble what happens when NHibernate exec
Provide the relevant information as text in the message please.
/Oskar
2017-04-11 10:26 GMT+01:00 raghu ram :
> http://imgur.com/8wtrfO1
>
> --
> You received this message because you are subscribed to the Google Groups
> "nhusers" group.
> To unsubscribe from this group and stop receiving email
Also, if you need escaping on certain identifiers, you can use the
NHibernate escape charater ` (backtick) around the identifiers in mapping.
NH will convert to the appropriate dialect-specific escape character for
SQL.
/Oskar
2017-04-04 19:10 GMT+01:00 Fran Knebels :
> have you set the AutoQuot
Also, don't forget to look into setting useful batch sizes for classes and
collections. In that case you may not need all the fetches.
/Oskar
2017-03-14 21:00 GMT+00:00 Gunnar Liljas :
> Avoiding the "select n+1" is usually MUCH more important than avoiding
> the joins.
>
> /Gunnar
>
> 2017-03-
Hi,
Not sure why the talk about "trillions". Sure, that would be a problem too
but it there is an int, the limit would be already at a bit more than 2
billion records, of course.
I don't see a problem with raising that to a 64-bit integer. Perhaps it
should even be unsigned or is there a purpose
Hi,
>From the comments on that class:
/// There is meant to be a one-to-one correspondence between a
SessionImpl and /// a PersistentContext.
A SessionImpl is the same as "a session", and sessions are not safe for use
from multiple threads concurrently. So I think the first thing for you to
c
I've done it on a higher level, and based on linq. Instead of starting with
session.Query() I start with session.QueryAccessible when I write
queries. Collection properties are not filtered when loaded by association
in my scenario.
2017-02-07 7:56 GMT+00:00 gg :
>
>
> On Monday, February 6, 2017
Great!
2017-02-02 1:00 GMT+00:00 Alexander Zaytsev :
> NHibernate 4.1.1 is now released.
>
> For a list of resolved issues, see the release notes:
> https://github.com/nhibernate/nhibernate-core/blob/4.1.1.GA/
> releasenotes.txt
>
> Binaries are available on NuGet and SourceForge:
> https://sourc
Hi,
You are barking up the wrong tree. Database files will typically never
shrink automatically and immediately just because you SQL DELETE something.
Instead, the database engine will typically mark the used space as
"available for reuse by the database engine" so that it can eventually be
overwr
t timezone exactly is (-08:00 Pacific Time or
-08:00 Baja California) you cannot get UTC correctly.
On Thursday, 26 January 2017 03:20:31 UTC-7, Oskar Berggren wrote:
> No, I believe you are mistaken.
>
> There is only one UTC. The UTC is never different. It's value is always
>
Den 26 jan. 2017 2:11 em skrev "Michael Powell" :
On Thu, Jan 26, 2017 at 5:20 AM, Oskar Berggren
wrote:
> No, I believe you are mistaken.
>
> There is only one UTC. The UTC is never different. It's value is always
the
> same everywhere.
This is exactly correct an
which talks about "a local time
>> in a particular time zone". So with DateTimeOffset you know what that
>> particular time is in some unspecified time zone, but you don't know what
>> the local time will be a minute later, as the offset for that time zo
And don't forget, if you store a local time and are affected by DST
changes, make sure you can calculate the exact time around when summer time
changes back to standard time since it's easy to get into ambigous values
here. This would require you to store the offset (in which case you have a
DateTi
By the way, "Instant" sounds closely related to the existing .Net type
DateTimeOffset.
/Oskar
2017-01-24 19:46 GMT+00:00 Oskar Berggren :
> Comparison operators on multi-column user types aren't very useful. The
> behaviour you see will sometimes be useful for equa
Comparison operators on multi-column user types aren't very useful. The
behaviour you see will sometimes be useful for equaliye operators though.
What you are trying to do looks a bit redundant, and I would suggest you
avoid storing what is essentially the same value twice, unless you have a
very
NHibernate 4.1.0 is now released with 105 issues resolved. Approximately 50
different contributors helped with this.
For a list of resolved issues, see the release notes:
https://github.com/nhibernate/nhibernate-core/blob/4.1.0.GA/releasenotes.txt
Binaries are available on NuGet and SourceForge:
o the release-notes document
for the respective tag?
/Oskar
2016-12-14 4:23 GMT+00:00 Michael Powell :
>
>
> On Monday, December 12, 2016 at 6:47:04 AM UTC-5, Oskar Berggren wrote:
>>
>> Agreed.
>>
>> 2016-12-12 6:34 GMT+00:00 cremor :
>>
>>> Tha
hose require an
> additional click to be visible, so many users might miss them.
>
>
> Am Samstag, 26. November 2016 23:38:56 UTC+1 schrieb Oskar Berggren:
>>
>> NHibernate 4.1.0 Candidate Release 1 is now available for download from
>> Sourceforge and Nuget.
>>
&g
NHibernate 4.1.0 Candidate Release 1 is now available for download from
Sourceforge and Nuget.
http://sourceforge.net/projects/nhibernate/?source=directory
Please test this release to find any regressions before the pending 4.1.0
final release.
This contains more than two years of improvements (1
You should direct your question to a forum concerning Hibernate. This
mailing list is for NHibernate, it's not quite the same.
/Oskar
2016-11-25 9:13 GMT+00:00 'Ramiz Uddin' via nhusers <
nhusers@googlegroups.com>:
> I have encountered an issue, I am using SQL SERVER 2012 with Hibernate 4.3
> an
You catch it with the catch statement? How you then handle it it's up to
you.
Or can you be more specific about what specific issue is problematic?
You should dispose the session and transaction if there is an error. In
simple cases, just use the using-statement or try-catch-finally. If this
does
Buildserver is back online. Hopefully there will be a release candidate any
day now.
/Oskar
2016-11-10 12:02 GMT+00:00 Kai Cissarek :
> Hi,
>
> any news about the server status :) ?
>
> Am Dienstag, 18. Oktober 2016 21:54:02 UTC+2 schrieb Oskar Berggren:
>>
>> We are
pository.Get_Paged(GridDataFilter
> filter, Nullable`1 driverId, Nullable`1 vehicleId, Nullable`1
> viewInboundOnly, Nullable`1 viewReadOnly) in C:\Projects\DriverTech\
> WebServices\FWAPI\DriverTech.NH\Repositories\Data\MessageRepository.cs:line
> 54
>at DriverTech.Execution.Message
> "Query which *should* be issued to sql server:"
So you are saying the the exception occurs BEFORE the query is emitted? Or
is the SQL you show exactly what NHibernate produced?
I think it would be good if you also deploy the NHibernate.pdb file, so we
get line numbers in the stack trace.
Also,
We are waiting for the buildserver to come back after hardware failure,
hopefully within days. Then the aim is to relase 4.1 more or less
immediately.
2016-10-12 7:35 GMT+01:00 Leo Y :
> Hello,
>
> The last version of NH was released in a more than a year ago. What is a
> release roadmap of the
gt;> On testing (because of what I posted that was prompted by Oskar Berggren,
>> thank you Oskar) I recognized my vDoors.hbm.xml file was actually named
>> vDoors.xml (without the .hbm.) I move to suggest the nHibernate crew
>> immediately release a version that throws an error un
I have no idea what ISessionBase is. I can't find anything with that name
in NH3 or NH4.
Is the ISessionBase you have really coming from the NHibernate assembly? If
it is, what version? Could it be a locally compiled (and modified) version?
/Oskar
2016-08-10 21:50 GMT+01:00 Steve Lyle :
>
> I i
If you have an interceptor that runs before your handler, wouldn't that
validation take place inside the same session that would later be used for
the handler? So if you do the validation by calling ISession.Get(), it
would be in the first level cache and no need to worry about the cache part.
But
14:44 GMT+01:00 Oskar Berggren :
> I'm looking into it.
>
> My take is that if we're using (modern) MSSQL over ODBC we should set
> dbParam.Scale = 3 if the DbType is DateTime and nothing else have bee
> specified
>
> For the lack of real bug reports showing is
I'm looking into it.
My take is that if we're using (modern) MSSQL over ODBC we should set
dbParam.Scale = 3 if the DbType is DateTime and nothing else have bee
specified
For the lack of real bug reports showing issues on other environments, I'm
consider doing a somewhat hacky solution. It seems
Regarding why mocking your GetByProperty() doesn't work it sounds like more
of a question for the Moq communit. I don't know it at least.
As for mocking the ISession itself I suspect it will lead to much troubles
due to too much work required to return the proper things for each query.
Besides, it
Hi,
Have a look at http://nhibernate.info/.
Is there any question in particular not answered there?
/Oskar
2016-08-02 5:43 GMT+01:00 Kolli Ayyappa :
> Hi,
>
> We are using NH3.3, want to migrate next stable prod Nhibernate version
> in-support of SQL-2012 to utilize SQL-2012 features like pagi
Hi,
The NHibernate code base have some failing tests on Oracle. Some have never
worked, but some of them _have_ worked before. Help with resolving the ones
that used to work is appreciated:
http://teamcity.codebetter.com/viewType.html?buildTypeId=bt873
Here is a summary of the test results:
htt
/nhibernate-core/pull/487
>>
>> On Friday, July 29, 2016 at 2:58:46 PM UTC+1, Oskar Berggren wrote:
>>>
>>> Start using showbuildmenu.bat.
>>>
>>> The fix seems small - woulld be great if you could provide a failing
>>> test case as th
Start using showbuildmenu.bat.
The fix seems small - woulld be great if you could provide a failing test
case as that is required to incorporate the fix. Hopefully you can find
something in the test-project that verifies the unwrapping for the case
that _does_ work, and add another case there perh
It may very well be that the fastest way to resolve the issue is if you
build NH yourself with the required change. Then please also submit the
change and a test case.
/Oskar
2016-07-29 12:38 GMT+01:00 Mark Perry :
> https://nhibernate.jira.com/browse/NH-940
>> https://nhibernate.jira.com/browse
The text in NH-3500 hints at this only being an issue if you use lazy
properties (not the same as collections) which I suspect are used by few.
Does this hold in your case?
Apart from that, and this is just a hypothesis, it may also be that few
people throw the sort of exceptions you would typical
Relevant:
https://nhibernate.jira.com/browse/NH-940
https://nhibernate.jira.com/browse/NH-3500
The presence of the first (resolved) issue above indicates that NH-3500
should probably be regarded as a regression.
/Oskar
2016-07-29 12:26 GMT+01:00 Oskar Berggren :
> It would be interesting
It would be interesting to know what method the older implementation used
to avoid the TIE and when the behaviour changed. If it was when a different
proxy generator was introduced, or if it happened during some later fix.
Could have been by accident.
/Oskar
2016-07-29 12:18 GMT+01:00 Oskar
You should be able to use an alternative proxy generator to modify the
behaviour.
2016-07-29 12:11 GMT+01:00 Mark Perry :
> I just double checked my old NH2 .net 4.6 project and that definitely does
> NOT wrap my execptions in the System.Reflection one.
>
> Now I have no idea whether that is beca
This is the way System.Reflection operates.
.Net 4.5 seem to have gained the ability to unwrap and rethrow the inner
exception without losing its context:
http://stackoverflow.com/questions/57383/in-c-how-can-i-rethrow-innerexception-without-losing-stack-trace
I wonder if NHibernate should eventu
The exception mentions ShowRoom.Vehicle property setter. Have you followed
up what's going on in there? And it's mapping?
/Oskar
Den 18 juli 2016 5:47 em skrev "Jamie D" :
> That's the weird part, the data matches the database values correctly and
> mostly everything is nullable types so labeled
cter following the
> database configured?
>
> Thank you
>
>
>
> On Tue, Jun 21, 2016 at 11:26 AM, Oskar Berggren > wrote:
>
>> The NHibernate quote character is the backtick - NH will translate to
>> suitable character for DB dialect.
>>
>> 2016-06
The NHibernate quote character is the backtick - NH will translate to
suitable character for DB dialect.
2016-06-21 15:10 GMT+01:00 Felipe Oriani :
> Hello guys,
>
> I've developing a project with NHibernate and Oracle. We have a table
> which has a column named Level and Level is a keyword used
stResult(pageNumber * pageSize)
>> .SetMaxResults(pageSize)
>> .Future();
>>
>> Please keep in mind that we're still using NH2.1
>>
>> On Thursday, May 26, 2016 at 11:20:04 AM UTC+2, Oskar Berggren wrote:
>>>
>>> Hmm... it sound like you are
Hmm... it sound like you are using paging while failing to specify a stable
ordering. This is doomed to be unreliable. For stable paging you should
apply an order clause that includes at least one unique column.
/Oskar
Den 25 maj 2016 1:39 em skrev "Gunnar Liljas" :
> I'm guessing, but I think yo
I suspect any of the existing MS SQL Server dialects work. The more
important question is if there is any particular feature of the 2014
dialect that you are looking for?
/Oskar
2016-05-02 19:24 GMT+01:00 Oskar Berggren :
> Yes it does.
>
> 2016-05-02 18:24 GMT+01:00 Ra
Yes it does.
2016-05-02 18:24 GMT+01:00 Rafael Wolf :
> NHibertnate doesn't have the 2014 dialect for sql server.
>
> --
> 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
> ema
se points and try to reproduce by updating the
> same object multiple times!
>
> On Wednesday, April 27, 2016 at 12:12:52 PM UTC-5, Oskar Berggren wrote:
>>
>> The posted code might not be very relevant to figuring out the problem.f
>>
>> StaleObjectstateException s
The posted code might not be very relevant to figuring out the problem.f
StaleObjectstateException should mean that you have an object in memory,
that NHibernate detects have been updated in the database by someone else
(meaning "another session"). If the exception goes away for a while on IIS
res
Hmm. I think WinDbg can be used with the right incantations to find any
references to the lingering session objects. Not sure exactly how.
Note that any objects loaded through the session are likely to contain
references to the session even after the session is closed.
/Oskar
2016-04-19 15:40 GM
2016-04-19 9:52 GMT+01:00 Erik H :
> So I just did a test...
>
> An equals operator in the where statement *does* work!
>
> .Where(ai => ai.AsapVerwerkingsPeriode* == *periodeVanaf
>> && ai.AsapVerwerkingsPeriode* == *periodeTm && ( //niet geblokkeerde
>> beschikbaarstellingen
2016-04-18 12:41 GMT+01:00 Erik H :
>
> public static bool operator >=(JaarEnMaand jaarEnMaand1,
>> JaarEnMaand jaarEnMaand2)
>> {
>> if (jaarEnMaand1.Jaar == jaarEnMaand2.Jaar)
>> {
>> return (jaarEnMaand1.Maand >= jaarEnMaand2.Maand);
>>
is post. Implemented operators:
> ==, !=, >, >=, <, <=, +, -
>
> Are there any options you see that I can do to get it back working?
>
>
> On Monday, April 18, 2016 at 11:55:29 AM UTC+2, Oskar Berggren wrote:
>>
>> I don't think these operators have ever be
I don't think these operators have ever been supported on multi-column user
types. Note that the behaviour you show for 2.1.2.400 also doesn't match
the implementation in your operator>().
/Oskar
2016-04-18 7:56 GMT+01:00 Erik H :
> I've got an struct that implements some operators.
>
> publ
2016-04-06 12:31 GMT+01:00 Евгений Виноградный :
>
>
>
> NH 3.3.3.4001 last NH for .net 3.5.
>
Sorry, but this is a bit misleading.
As I wrote, starting with NH4, it's required to be on .Net 4. I meant that
it also follows that any (non-ancient) version _less_ than NH4 will work on
.Net 3.5. In
>From NH4 .Net 4 is required.
/Oskar
2016-04-05 15:49 GMT+01:00 Shubham Srivastava <
shubhamsrivastava...@gmail.com>:
> Hi Team Nhibernate,
>
> Actually, I want to update old 'nhibernate' version used in my ASP .Net
> project to its latest stable version i.e. 4.0.0.4000.
> However, in this proce
Try the release notes, if you haven't already:
https://github.com/nhibernate/nhibernate-core/blob/master/releasenotes.txt
/Oskar
2016-03-21 15:48 GMT+00:00 John Daues :
> We have a legacy application (Windows SmartClient) that currently uses
> nHiberate 2.2. We are considering upgrading.
> I see
NHibernate has a lot of proxying going on. Have you investigated if you can
hook up this with a custom proxy generator?
/Oskar
2016-03-08 10:52 GMT+00:00 Felix Berlakovich :
> Some additions:
> * a colleague pointed out that the stuff I am talking about are actually
> proxies and not decorators
The type in SQL Server should be "bit".
/Oskar
2016-03-07 18:56 GMT+00:00 Steve Lyle :
> In SQL (2012) I defined a column as binary(1).
> In the mapping file this doesn't naively convert to a type I can
> understand given the documentation.
> In the c# class I defined this attribute as a bool.
>
2016-03-03 19:22 GMT+00:00 Steve Lyle :
> Oh. And this too.
> In Web.config change ** to * debug="true">*
>
Maybe you know this already, but just in case, that flag is for debugging
log4net itself and should normally be false in production code. It does not
affect log4nets handling of DEBUG
2016-03-03 20:55 GMT+00:00 Steve Lyle :
> I don't know what the challenge is but I would like to think the top level
> exception message could be:
>"can't find your file (probably because of a typo in ...)" fix that then
>"can't find the assembly (probably because of a typo in ...)" fix t
The BasicConfigurator.Configure() will only log to Console, which can of
course be tricky in a web project. See
https://logging.apache.org/log4net/release/sdk/index.html and the other
log4net documentation at
https://logging.apache.org/log4net/release/manual/introduction.html
I would put the loggi
2016-03-03 4:25 GMT+00:00 Steve Lyle :
> A) What error do you get when there is a typo in the XML mapping file's
> class-tab name-attribute value and you are using AddFile()?
>In other words when the name-attribute value != the name of the class
> in the class.cs file.
>
*log.txt:*
2016-03-03
of all the very many DBMS.
>
It is.
/Oskar
>
>
>
>
> On Tuesday, March 1, 2016 at 7:59:41 PM UTC-5, Oskar Berggren wrote:
>>
>>
>>
>> 2016-03-01 18:49 GMT+00:00 Steve Lyle :
>>
>>> The following
>>> t
2016-03-02 15:14 GMT+00:00 Steve Lyle :
> Your thoughts on this.
> As soon as I installed and configured log4net ~ *my problem with
> AddFile() when away*.
>
>
It's very likely to be just coincidence, but we will never know because we
never got to see the text from the InnerException so we can onl
2016-03-02 13:29 GMT+00:00 Steve Lyle :
>
> Gunnar! Again, I've given you *everything *nHibernate reports on the
> error. Do you need a live, real-time, firsthand demo?
> You know this. Like anything else nHibernate code, at execution, runs
> into a problem, catches it, and throws a message.
>
2016-03-01 18:49 GMT+00:00 Steve Lyle :
> The following
> txn = ses.BeginTransaction(); //)
> ses.Save(employee);
> txn.Commit();
>
> throws
> IsolationLevel =
> '((NHibernate.Transaction.AdoTransaction)txn).IsolationL
2016-03-01 15:49 GMT+00:00 Steve Lyle :
> This line of code:
> cfg.AddFile(@"C:\Users\slyle\Documents\Visual Studio
> 2015\Projects\Cat\Cat\Models\Cat.hbm.xml");
>
> Throws this error:
> An exception of type 'NHibernate.MappingException' occurred in
> NHibernate.dll but was
1 - 100 of 839 matches
Mail list logo