Skip to content

Test2 #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 259 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
259 commits
Select commit Hold shift + click to select a range
2f8f317
Generate stable sql objects names (#1802)
fredericDelaporte Jul 18, 2018
78abbbe
Fix HQL and LINQ query by a type on <any/> with meta-types other than…
hazzik Jul 18, 2018
2b45b4c
Reduce cache put batches fragmentation (#1798)
fredericDelaporte Jul 18, 2018
24c5de6
Fix InvalidCastException when casting a field of a type different tha…
hazzik Jul 18, 2018
3f0df4a
Update the <any /> mapping documentation (#1809)
fredericDelaporte Jul 19, 2018
8a92082
Regenerate async, see #1803
hazzik Jul 19, 2018
c9e025c
Fix Informix Boolean Type
hazzik Jul 19, 2018
97dc207
Add support for String indexer property
hazzik Jul 19, 2018
eec2ee6
Clean-up IObjectsFactory usages (#1781)
fredericDelaporte Jul 21, 2018
7b5dd1f
Remove copy-paste remnants from FieldInterceptorProxyBuilder
hazzik Jul 20, 2018
2572caf
Mark proxy assembly with IgnoresAccessChecksToAttribute to allow impl…
hazzik Jul 20, 2018
70c2bab
Fix SchemaValidator fails for PostgreSql sequences
lillo42 Jul 20, 2018
b104ae1
Append the batched sql statement when StaleStateException occurs
maca88 Aug 4, 2018
48ce36b
Handle DbDataReaders that do not support GetSchemaTable
hazzik Jun 15, 2018
eb2adba
Include the query in loader PostInstantiate QueryException (#1827)
carlileconsult Aug 27, 2018
2a6021f
Remove WcfOperationSessionContext from .Net Core and .Net Standard (#…
fredericDelaporte Sep 12, 2018
5e8f2c8
Remove dependency on System.Security.Permissions package for .NET Sta…
hazzik Sep 12, 2018
f7bc251
Parameterize string type comparer (#1833)
fredericDelaporte Sep 16, 2018
ea4c7ff
Async Before-/AfterTransactionCompletionProcess (#1452)
gliljas Sep 16, 2018
233c3b4
Add in ByCode support of all type mappings on Id (#1848)
fredericDelaporte Sep 17, 2018
019a82d
Add HqlTreeBuilder.From overload that accepts HqlJoin
hazzik Sep 17, 2018
50a8c77
Revert "Add HqlTreeBuilder.From overload that accepts HqlJoin"
hazzik Sep 17, 2018
cef9f04
Add HqlTreeBuilder.From overload which accepts HqlRange and a collect…
hazzik Sep 17, 2018
3dc082f
Loquatious QueryCache constraint should be an IQueryCacheFactory cons…
InlineAsm Sep 18, 2018
65750bd
Adjust string parameter sizes for MSSQL (#1844)
gliljas Sep 18, 2018
061c0b6
Avoid initializing proxies when ordering inserts
fredericDelaporte Sep 19, 2018
d506d3c
Run tests for SQLite on .NET Core (#1823)
hazzik Oct 1, 2018
facb8c2
Add an async enabled transaction synchronization (#1864)
fredericDelaporte Oct 4, 2018
3fd4d65
Add an UtcTicksType
fredericDelaporte Oct 2, 2018
32537ba
Add an UtcDbTimestampType
fredericDelaporte Oct 2, 2018
fe440a0
Fix registration of current_date for some dialects
fredericDelaporte Oct 4, 2018
a58a56c
Replace an O(n) lookup in LINQ query parsing by an O(1) one
fredericDelaporte Oct 6, 2018
3f53ab6
Update build-menu options in documentation
fredericDelaporte Oct 10, 2018
8a9f7ee
Add tests for property ref on a component's property
hazzik Jun 6, 2018
7f503d0
Fix property-ref on a component's property
fredericDelaporte Oct 12, 2018
539a814
Merge pull request #1871 from fredericDelaporte/propertyRefOnComponen…
fredericDelaporte Oct 15, 2018
baee90e
Add a Linux build menu (#1830)
lillo42 Oct 15, 2018
0309504
Fix extra-lazy collection forgetting changes (#1878)
fredericDelaporte Oct 23, 2018
5c18452
Obsolete a forgotten dynamic proxy class
fredericDelaporte Oct 23, 2018
f096548
Process classes accordingly to inheritance path in mapping by code
hazzik Oct 24, 2018
9ed4314
Add test case for many-to-many with property ref
fredericDelaporte Oct 13, 2018
5456d85
Revert #378 - NH-3480
fredericDelaporte Oct 14, 2018
0245389
Fix component equality failure
fredericDelaporte Oct 14, 2018
1102acf
Resolve collection owner correctly in case of property-ref
fredericDelaporte Oct 16, 2018
8124cb5
Resolve owner's key correctly in case of property-ref
fredericDelaporte Oct 17, 2018
932ffff
Merge pull request #1872 from fredericDelaporte/GH1214
fredericDelaporte Oct 24, 2018
f8485f6
Allow Coalesce and Conditional logic on entity properties in LINQ (#1…
PleasantD Oct 25, 2018
41782de
Test ref and out methods with static proxy
fredericDelaporte Oct 24, 2018
4c1e27f
Merge two logs in one
fredericDelaporte Oct 26, 2018
fc76122
Fix attempt of static proxies to call base method for abstract classe…
hazzik Oct 27, 2018
229c6c4
Add SybaseASE driver for ado.net 4/4.5 connector
Jul 1, 2015
583bcc8
Fix Trim for Sybase ASE
fredericDelaporte Oct 27, 2018
b1b4fd9
Merge pull request #435 from nrubino/master
fredericDelaporte Oct 29, 2018
d01f8a8
Avoid some superfluous parameter casts with Firebird
fredericDelaporte Oct 29, 2018
33c1555
Allow disabling Firebird driver parameter casting
fredericDelaporte Oct 29, 2018
128e336
Add support for querying dynamic objects with Linq
hazzik Jun 7, 2018
5df1fde
Add ability to use dynamic component in any format
hazzik Jun 7, 2018
52a4bd4
Merge pull request #1778 from hazzik/dynamic-component
hazzik Oct 30, 2018
6fedcb6
Replace ICache interface by a CacheBase class (#1777)
fredericDelaporte Oct 31, 2018
385a861
Fix many-to-many with property-ref
fredericDelaporte Oct 15, 2018
ae61594
Support multiple properties in select id generator
mickfold May 16, 2012
4620c94
Support IdBag in select id generator
mickfold May 16, 2012
1b0efb7
Support ICompositeUserType for ByCode Element, KeyProperty, MapKey
fredericDelaporte Nov 4, 2018
35a582f
Improve exception message in case of duplicated column (#1875)
increddibelly Nov 5, 2018
f31fe59
Test ISession.IsDurty() does not trigger cascade saving
bahusoid Nov 1, 2017
af5e6fa
Support mixed formulas and columns (#1808)
fredericDelaporte Nov 6, 2018
adc1aaf
Test Parent property is not accessible in queries (#1584)
SlyNet Nov 6, 2018
7f3dec8
Fix filter/where fragment appended after lock hint
fredericDelaporte Sep 26, 2018
a2f9a27
Fix NotNullUnique not taken into account for single column (#1855)
fredericDelaporte Nov 7, 2018
61d9fda
Support mixed formulas and columns in By Code (#1759)
fredericDelaporte Nov 8, 2018
a9a728b
Test case for ComposedId Entity with Lazy Property is not proxified (…
MarkPerryBV Nov 8, 2018
9de4aaa
Test Merging a bidirectonal list creates unecessary UPDATE statement …
RogerKratz Nov 8, 2018
241d2f5
Add ability to use dynamic entities as C# dynamic
fredericDelaporte Jun 28, 2018
99dc4a9
Fix the any handling without meta-values
fredericDelaporte Jul 19, 2018
39bf753
Fix Guid.ToString() (#1856)
lillo42 Nov 14, 2018
8061e2b
Do not generate FK on non-generated unique constraint
fredericDelaporte Nov 8, 2018
4110d2e
Added SQL Anywhere 17 support
Sep 20, 2018
06da1c9
Fix failing tests for SQL Anywhere
fredericDelaporte Sep 21, 2018
018cf1c
Merge pull request #1854 from pettersoft/master
fredericDelaporte Nov 15, 2018
a56e683
Merge pull request #1707 from fredericDelaporte/NH-3150
fredericDelaporte Nov 19, 2018
4261804
Fix a test on an feature obsoleted by #1707
fredericDelaporte Nov 19, 2018
051cc87
Recompute hashcodes on deserialization (#1891)
fredericDelaporte Nov 20, 2018
94bcb21
Have more robust log4net loading (#1837)
fredericDelaporte Nov 20, 2018
a09830f
Fix Criteria caching filtered collections (#460)
zalewskil Nov 22, 2018
8477eeb
Add tests for mapping of intermediate inherited classes
Oct 26, 2017
d147b77
Fix mapping of intermediate inherited classes
hazzik Nov 20, 2018
8649f9a
Merge pull request #609 from ManufacturingIntelligence/NH-3992
fredericDelaporte Nov 22, 2018
71aa211
NH-2016 - Fix joining to association twice using criteria (#287)
gmalyshev Nov 25, 2018
9bd9a80
Fix ICriteria/QueryOver create incorrect left join condition when tab…
froedep Nov 25, 2018
0c3c49b
Add an overridable ADO BeginTransaction method (#1910)
fredericDelaporte Nov 26, 2018
fa978cf
Improve support of Npgsql 4
hazzik Nov 26, 2018
1ba7f9b
Fix regressions introduced by Conditional and Coalesce expansion (#18…
PleasantD Nov 30, 2018
67a0064
NH-2285 - Support for LockMode in Linq provider
oskarb Dec 2, 2018
fdac0d0
Release 5.2.0
fredericDelaporte Sep 30, 2018
6f38e13
Fix property-ref on many-to-one with composite id fails (#1918)
RogerKratz Dec 7, 2018
7ea063e
Fix batch fetch queue null exception (#1925)
maca88 Dec 8, 2018
19e13e0
Fix alias join on join
fredericDelaporte Dec 7, 2018
b2e5396
Add missing possible breaking change
fredericDelaporte Dec 7, 2018
9312c37
Release 5.2.1
fredericDelaporte Dec 8, 2018
92d9b07
Fix generation of version update statement for joined subclasses
hazzik Dec 13, 2018
17b8bf5
Obsolete StringHelper.Replace
hazzik Dec 13, 2018
17ec8ee
Add session filter support for DML statement (#1931)
maca88 Dec 14, 2018
e313b07
Cease having dynamic composite-id causing swallowed exceptions (#1938)
RogerKratz Dec 19, 2018
9d4d2c9
Support Future for collection filters
bahusoid Dec 18, 2018
4d887d8
Allow to provide dev specific properties in NHibernate.dev.props
bahusoid Dec 20, 2018
ce73fc0
Skip initialization of lazy properties when setting one (#1943)
maca88 Dec 25, 2018
df84e62
Delay entity insert on Persist until session is flushed
hazzik Dec 28, 2018
cbc2527
Cache Dialect when creating a session factory
maca88 Dec 28, 2018
dfd9c3b
Port Hibernate's BytecodeEnhancementMetadata (#1946)
maca88 Jan 1, 2019
aff89d4
Extend IAccessOptimizer to support getting/setting single property va…
maca88 Jan 1, 2019
646c8c2
Move discovery of executedSpaces to RegisterCleanupActions
gliljas Jan 2, 2019
f490609
Release 5.2.2 (#1957)
fredericDelaporte Jan 6, 2019
ce6e8ef
Merge branch '5.2.x'
fredericDelaporte Jan 6, 2019
d277be2
Fix lazy property caching
maca88 Jan 5, 2019
6b8c692
Add missing pragma warning for FieldInterceptorProxyBuilder
maca88 Jan 6, 2019
5ba22d8
Fix code sample in docs, section 10.4.2
stefanhamburger Jan 10, 2019
70c948e
Partially port Hibernate's current field interceptor mechanism (#1947)
maca88 Jan 11, 2019
18c34b0
Optimize StaticProxyFactory GetProxy and GetFieldInterceptionProxy me…
maca88 Jan 12, 2019
c774a99
Do not serialize FieldInfos in FieldInterceptorObjectReference
hazzik Jan 12, 2019
02d9bd7
Release 5.2.3
hazzik Jan 13, 2019
b73861b
Merge pull request #1970 from hazzik/gh-1964
fredericDelaporte Jan 13, 2019
c7d2a6f
Merge branch '5.2.x'
fredericDelaporte Jan 14, 2019
14c5cdb
Port Hibernate's EntityKey optimization (#1972)
maca88 Jan 14, 2019
1711b5c
Obsolete IDeserializationCallback from EntityKey (#1977)
bahusoid Jan 16, 2019
74d3786
Test duplicated join on some Linq queries
fredericDelaporte Jan 9, 2019
e11ec16
Optimize and fix CriteriaQueryTranslator GetColumns and GetTypes (#1974)
bahusoid Jan 20, 2019
38afb8a
Remove AbstractLazyInitializer unused field
bahusoid Jan 16, 2019
5144a57
Allow projections in SelectGroup and CountDistinct expressions (#1987)
bahusoid Jan 20, 2019
3dcb91b
Reduce SessionIdLoggingContext creation (#1984)
bahusoid Jan 23, 2019
f7f783e
Upgrade AsyncGenerator to 0.13.1 (#1936)
fredericDelaporte Jan 24, 2019
f3487e3
Optimize ProxyCacheEntry for the same instance
hazzik Jan 24, 2019
ef5986e
Fix cast exception when merging a collection with a lazy property (#1…
offan Jan 24, 2019
f5e2431
Replace <PackageLicenseUrl /> with <PackageLicenseExpression />
hazzik Jan 25, 2019
116398d
Add support for fetching an individual lazy property with hql and lin…
maca88 Jan 30, 2019
7ccb678
Refactor sequential select (#1979)
maca88 Jan 31, 2019
cbea12e
Fix criteria collection ordering (#1997)
bahusoid Jan 31, 2019
e305b67
Improve exception on user types lacking some interfaces (#1988)
fredericDelaporte Feb 2, 2019
e59d124
Fixed Equals method for transformers (#2000)
bahusoid Feb 3, 2019
f0f2a53
Optimize DistinctRootEntityResultTransformer (#1999)
bahusoid Feb 3, 2019
ac55892
NH-3848 - Do not cache collections loaded with restrictions (#463)
zalewskil Feb 6, 2019
8421141
Refactor DependentAlias handling logic in JoinWalker (#2002)
bahusoid Feb 6, 2019
df2ca71
Dispose session in cascade tests (#2007)
bahusoid Feb 7, 2019
fff0d08
Avoid some cases of Type -> string -> Type conversion in Mapping By C…
bahusoid Feb 10, 2019
6cb478f
Port Hibernate's lazy attribute fetch groups (#1949)
maca88 Feb 14, 2019
95dda1d
Cache Dialect when creating a session factory
maca88 Dec 28, 2018
8bc24b7
Use a statically resolved dialect when building the session factory
fredericDelaporte Feb 17, 2019
f633248
Skip Topological sorting if not required (#2006)
bahusoid Feb 17, 2019
109f085
Make SqlClientBatchingBatcher respect CommandTimeout seting in config…
hazzik Feb 20, 2019
c0e9d73
Avoid recursive ProcessKey calls in BatchFetchQueue (#2016)
bahusoid Feb 23, 2019
da429f7
Fix cache build for honoring mapped concurrency (#1480)
fredericDelaporte Feb 24, 2019
5b6ca3f
Add support for caching fetched relations with linq query provider (#…
maca88 Feb 24, 2019
a27b10f
Obsolete Environment.Properties
hazzik Feb 24, 2019
b7cf53d
Make CancellationToken optional for async Linq DML queries
hazzik Feb 26, 2019
21d0d20
Update AsyncGenerator to 0.13.2
hazzik Feb 26, 2019
db0f002
Update symbol package format and add Sourcelink
fredericDelaporte Jan 25, 2019
11bc49d
Port HQL Entity Join
bahusoid Feb 27, 2019
9119714
Throw for LINQ DML on filter
bahusoid Feb 26, 2019
2a31626
Merge pull request #2011 from fredericDelaporte/SpatialDialect
fredericDelaporte Feb 28, 2019
22cd760
Release 5.2.4 (#2030)
fredericDelaporte Mar 1, 2019
95c43e4
Refactor to simplify netfx retargeting (#2024)
bahusoid Mar 2, 2019
70e25a3
Fixing typo on the memcached distributed cache description in the docs.
teonivalois Mar 4, 2019
a6e7a44
Fix missing cast when comparing a Guid and String columns in Sql Serv…
maca88 Mar 9, 2019
0b27dd5
Allow using ON instead of WITH in hql (#2032)
bahusoid Mar 10, 2019
f1e54fc
Fix nullable Guid ToString is not translated correctly on some dialec…
hazzik Mar 11, 2019
ad676cc
Fix SELECT N+1 for not-found=ignore
lillo42 Mar 11, 2019
8d13f24
Fix unexpected order by clause in a criteria with projections
bahusoid Mar 11, 2019
5873ddb
Optimize batchable cache calls for cached queries (#1955)
maca88 Mar 13, 2019
cc61512
Do missing async generation for cache batch optimization
fredericDelaporte Mar 16, 2019
21846c0
Fix invalid DML statements for static where in mapping
maca88 Mar 16, 2019
656a88b
Fix transient detection for proxy (#2045)
bahusoid Mar 18, 2019
034552d
Fix missing cast when comparing a guid and string column in SAP SQL A…
fredericDelaporte Mar 20, 2019
7ae2b5d
Avoid unnecessary join for entity comparisons in with clause
bahusoid Mar 20, 2019
bf1e116
Use generic CollectingNodeVisitor in hql parser (#2039)
bahusoid Mar 21, 2019
eb8c13f
Add ability to set extending entity name for subclasses in mapping by…
hazzik Mar 19, 2019
bd761ff
Eliminated double Persister resolution in Loader.InstanceNotYetLoaded…
usarskyy Mar 23, 2019
1aeed38
DB2 dialect enhancements
hazzik Mar 24, 2019
6277f51
Add ability to set custom collection type as string in mapping by code
hazzik Mar 21, 2019
c8b9ae6
Fix determination of interface proxies (#2070)
hazzik Mar 24, 2019
95d38c1
Improve one-to-one handling in queries (#2084)
bahusoid Mar 27, 2019
5417dbc
Obsolete StringHelper.Join
bahusoid Mar 28, 2019
c628337
Release 5.2.5 (#2086)
fredericDelaporte Mar 31, 2019
f824b0b
Merge branch '5.2.x'
fredericDelaporte Mar 31, 2019
151194f
Fix cacheable CreateSQLQuery throws ArgumentException on query with A…
bahusoid Mar 26, 2019
7b335fe
Update AsyncGenerator to 0.13.3
hazzik Apr 11, 2019
e3b245c
Small stylistic improvement in unit test
HerrAachen Apr 12, 2019
03a19ac
Add failure messages back into unit test
HerrAachen Apr 12, 2019
27ea900
Fix query for joins/fetches on entity joins
bahusoid Apr 14, 2019
e0fe87b
Create Stopwatch only if stats is enabled
bahusoid Apr 15, 2019
9575f61
Replace array concatenation with hand written append
hazzik Apr 11, 2019
78ce59e
Skip NHibernateLogger default initialization logic when logger provid…
bahusoid Apr 16, 2019
e26af46
Fixup for NHibernate logger changes
bahusoid Apr 17, 2019
4f4343e
Add ability to set fetch for <one-to-one> mapping in mapping by code
hazzik Apr 21, 2019
21975f6
Fix properties mapped inside a <properties> group are empty when retr…
lillo42 Apr 30, 2019
ba46d8f
Upgrade AsyncGenerator to 0.14.0
maca88 May 6, 2019
cf930a5
Fix exception on session refresh for removed collection item
bahusoid May 8, 2019
a05b336
Use generic parameters in ActionQueue
bahusoid May 9, 2019
b734d00
Fix NullReferenceException in EntityEntry.GetLoadedValue
picbeats May 14, 2019
7997e22
Fix quoting <key /> columns containing reserved words
lillo42 May 17, 2019
8642b19
Use collection types for private members
bahusoid May 19, 2019
b3cdf05
Add virtual DefaultQueryProvider.CreateWithOptions
bahusoid May 26, 2019
e8288a5
Do not call GC.SuppressFinalize from finalizer thread
bahusoid May 28, 2019
f13368c
Allow setting dynamic component templates from dictionary in ByCode
rjperes Sep 22, 2014
d0aecf2
Allow columns index be shared between columns from base and subclass …
bahusoid May 29, 2019
5ee4401
Optimize ToArray conversions
bahusoid May 31, 2019
95d78af
Fix property-ref ignoring not-found="exception" mapping
bahusoid Jun 9, 2019
c4b806c
Fix many-to-many filter in hql
bahusoid Jun 9, 2019
218add4
Support projections arguments in Coalesce and other QueryOver extensions
bahusoid Jun 11, 2019
bc3f56b
Upgrade NUnit
hazzik Jun 10, 2019
c436dd4
Fix Criteria withClause for many-to-many
bahusoid Apr 30, 2019
af3ad13
Obsolete interfaces for Loquacios configuration and use config class…
bahusoid Jun 18, 2019
0bdee94
Port Hibernate's support subqueries in HQL as CASE statement alternat…
maca88 Jun 19, 2019
3f9d6d6
Port Hibernate's Aggregate functions for subqueries
maca88 Jun 20, 2019
03e5fa6
Add test for bidirectional list fail when session only knows about child
RogerKratz Jun 20, 2019
4d0da00
Allow to override default types with length or precision parameters (…
bahusoid Jul 11, 2019
3041c49
Optimize usages of SqlString.Append (#2166)
bahusoid Jul 12, 2019
3819f09
Skip null entities when bag is populated (#2181)
bahusoid Jul 16, 2019
89e4422
Fix HQL with joins in sub-select creating wrong SQL (#2146)
csharper2010 Jul 16, 2019
3873844
Fix braces layout in .editorconfig setting
hazzik Jul 17, 2019
0ca3028
Fix nuget symbol push
fredericDelaporte Aug 18, 2019
3e78b69
Unify handling of composite values in hql and Criteria (#2159)
bahusoid Sep 11, 2019
673084b
Port SupportsRowValueConstructorSyntaxInInList values
bahusoid Sep 12, 2019
76ff41d
Fix build menu for running NUnit tests with 3.10.0
fredericDelaporte Sep 15, 2019
f1aa87f
Fix ShowBuildMenu.sh current directory (#2215)
hazzik Sep 15, 2019
1c779fa
Allow configuring auto-join transaction globally (#2214)
fredericDelaporte Sep 16, 2019
03500af
Add a shortcut to reduce Transaction.Current reads (#2213)
fredericDelaporte Sep 16, 2019
3f74632
Fix missing alias for subquery entity references in update statements…
bahusoid Sep 18, 2019
7560377
Restrict #2218 tests to only dialects that are supported
hazzik Sep 18, 2019
48b3bb9
Fix BuildTool output path (#2219)
hazzik Sep 20, 2019
8a8c3f2
Avoid unnecessary locking via MethodImplOptions.Synchronized (#2225)
bahusoid Sep 24, 2019
a41010f
Use DateTime.UtcNow for timestamps
bahusoid Sep 23, 2019
141d5a0
Upgrade AsyncGenerator to 0.16.0
maca88 Jun 18, 2019
d8ee68d
Use .NET Core
maca88 Jun 18, 2019
04b41be
Fix targetFramework and update ShowBuildMenu.sh
maca88 Jun 19, 2019
dfbd3c5
Upgrade AsyncGenerator to 0.16.1
maca88 Jun 19, 2019
5517c15
Upgrade AsyncGenerator to 0.16.2
maca88 Jun 20, 2019
83d4f25
Fix ShowBuildMenu.sh
maca88 Jun 20, 2019
177a9b4
Fix MathFTests tests
maca88 Jun 20, 2019
fb99562
Add packages.csproj for AsyncGenerator to avoid using nuget
maca88 Aug 26, 2019
638ed29
Moved all tools into packages.csproj
maca88 Aug 28, 2019
35ba6f5
Restore packages into Tools folder
maca88 Aug 28, 2019
ec9455c
Fix nunit
maca88 Aug 28, 2019
52394f4
Fix ShowBuildMenu.sh
maca88 Aug 28, 2019
bbc764b
Fix tests
maca88 Aug 29, 2019
37621c1
Add NetFxOnlyAttribute
maca88 Aug 29, 2019
39bb17c
Fix documentation build
maca88 Aug 30, 2019
a8facf0
Upgrade AsyncGenerator to 0.17.0 #2205
maca88 Sep 10, 2019
c3a78e9
Review changes
maca88 Sep 19, 2019
8f765cf
Upgrade AsyncGenerator to 0.17.1
maca88 Sep 25, 2019
bc5f216
Removed partial for SqlClientBatchingBatcher
maca88 Sep 27, 2019
e8e0af9
Explicit why TestFixture is lacking
fredericDelaporte Sep 28, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
11 changes: 10 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
root=true

[*]
end_of_line = CRLF
insert_final_newline = true

[*.cs]
indent_style = tab
dotnet_sort_system_directives_first = true
csharp_space_after_cast = true
csharp_new_line_before_open_brace = all
csharp_new_line_before_else = true
csharp_new_line_before_catch = true
csharp_new_line_before_finally = true
csharp_new_line_before_members_in_object_initializers = true
csharp_new_line_before_members_in_anonymous_types = true
csharp_new_line_between_query_expression_clauses = true

[*.xsd]
indent_style = tab
Expand All @@ -31,3 +37,6 @@ indent_size = 2
[*.cshtml]
indent_style = space
indent_size = 4

[*.g]
indent_style = tab
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ NHibernate.dll
TestResult.xml
.vscode
.DS_Store

.idea/
.vs/
/build-common/NHibernate.dev.props
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ env:
- DB=PostgreSQL CONNECTION_STRING="Host=localhost;Port=5432;Username=postgres;Database=nhibernate;Enlist=true;"
- DB=Firebird
- DB=MySQL CONNECTION_STRING="Server=127.0.0.1;Uid=root;Database=nhibernate;Old Guids=True;"
- DB=SQLite
matrix:
allow_failures:
- env: DB=MySQL CONNECTION_STRING="Server=127.0.0.1;Uid=root;Database=nhibernate;Old Guids=True;"
Expand Down
14 changes: 8 additions & 6 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ The main GitHub repository is at [https://github.com/nhibernate/nhibernate-core]

## The Build Menu

**ShowBuildMenu.bat** will be your friend throughout this journey. He's easiest to work with if you make his box bigger by following these steps:
**ShowBuildMenu.bat** will be your friend throughout this journey. A .sh version exists for Linux. It's easiest to work with if you make his box bigger by following these steps:

1. Run ShowBuildMenu.bat.
2. Right click on the title bar of the window.
Expand All @@ -36,10 +36,12 @@ The main GitHub repository is at [https://github.com/nhibernate/nhibernate-core]
## Setting up For Development

1. Install your favorite database and optionally set up a user capable of creating and dropping a database called **nhibernate**. There are some per-database instructions in the lib/teamcity/* folders, which you may find helpful. For SQL Server, you might be able to use the **localhost\sqlexpress** instance installed with Visual Studio. Often people already have databases set up, so you might not even need to do anything in this step.
2. Run the build menu and select option B to create a new test configuration. Notepad will pop up and you should edit the connection string information, saving it when you're done. These configurations will appear in the "available-test-configurations" folder.
3. Run the build menu and select option C to activate the test configuration you created. The appropriate configuration will be copied to the "current-test-configuration" folder.
4. (Optional) Run all the tests with option D and hopefully you will see no failing tests. The build may fail on certain databases; please ask on the mailing list if you are having trouble.
5. Before using the database for unit tests from Visual Studio, you'll need to create an empty database that matches your connection string.
2. Run the build menu and select option A to create a new test configuration. Notepad will pop up and you should edit the connection string information, saving it when you're done. These configurations will appear in the "available-test-configurations" folder.
3. Run the build menu and select option B to activate the test configuration you created. The appropriate configuration will be copied to the "current-test-configuration" folder.
4. (Optional) Run all the tests with option C or D and hopefully you will see no failing tests. The build may fail on certain databases; please ask on the mailing list if you are having trouble.
5. Before using the database for unit tests from an IDE, you'll need to create an empty database that matches your connection string. The unit test in NHibernate.TestDatabaseSetup supports some databases. If the one you have configured is supported, it will drop the database if it does already exist, then recreate it.

Compiling the solution under Linux requires installation of the [Mono package mono-complete](https://www.mono-project.com/download/stable) and of the [.NET Core SDK](https://www.microsoft.com/net/download).

## Creating a Test Case to Verify the Issue

Expand Down Expand Up @@ -90,7 +92,7 @@ Since you now have a failing test case, it should be straight-forward to step in

### Ensure All Tests Pass

Once you've made changes to the NHibernate code base, you'll want to ensure that you haven't caused any previously passing tests to fail. The easiest way to check this is to select option D from the build menu, ensure the root tree node is selected, then press run to have all the tests run.
Once you've made changes to the NHibernate code base, you'll want to ensure that you haven't caused any previously passing tests to fail. The easiest way to check this is to select option C or D from the build menu, ensure the root tree node is selected, then press run to have all the tests run.

Please note that some tests assume a case insensitive accent sensitive database when performing string comparison. Some tests assume SQL user locales to be en-US. They will fail otherwise. With SQL Server, collation with supplementary characters (\_SC suffix on collation name) are no supported by legacy tests on "text" types.

Expand Down
4 changes: 2 additions & 2 deletions ReleaseProcedure.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ These are the tasks typically needed to create an official NHibernate release.
that is about to happen (as these will show in the milestone).

* Create a draft release in Github with GitReleaseManager. If you have used
the NHibernate build menu, it should be available in Tools\gitreleasemanage.x.x.x\
the NHibernate build menu, it should be available in Tools\gitreleasemanager\x.x.x\
(change x.x.x by its current version in tools).
By example:

Tools\gitreleasemanager.0.7.0\tools\GitReleaseManager.exe create -o nhibernate -r nhibernate-core -m 5.1 -u username -p password
Tools\gitreleasemanager\0.7.0\tools\GitReleaseManager.exe create -o nhibernate -r nhibernate-core -m 5.1 -u username -p password

(Adjust the -m milestone parameter above, and add "-c branchname" if
releasing another branch than master)
Expand Down
43 changes: 36 additions & 7 deletions ShowBuildMenu.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
@echo off
pushd %~dp0

for /f "tokens=* USEBACKQ delims= " %%i in (`findstr /c:"NUnit.Console" "Tools\packages.csproj"`) do set NUNIT_VERSION=%%i
set NUNIT_VERSION=%NUNIT_VERSION:~51%
set NUNIT_VERSION=%NUNIT_VERSION:" />=%

set NANT="%~dp0Tools\nant\bin\NAnt.exe" -t:net-4.0
set BUILDTOOL="%~dp0Tools\BuildTool\bin\Release\BuildTool.exe"
set BUILD_TOOL_PATH=%~dp0Tools\BuildTool\bin\BuildTool.dll
set BUILDTOOL=dotnet %BUILD_TOOL_PATH%
set AVAILABLE_CONFIGURATIONS=%~dp0available-test-configurations
set CURRENT_CONFIGURATION=%~dp0current-test-configuration
set NUNIT="%~dp0Tools\NUnit.ConsoleRunner.3.7.0\tools\nunit3-console.exe"
set NUNIT="%~dp0Tools\NUnit.ConsoleRunner\%NUNIT_VERSION%\tools\nunit3-console.exe"

if not exist %BUILD_TOOL_PATH% (
pushd %~dp0Tools\BuildTool
dotnet build BuildTool.sln -c Release -o bin
popd
)

:main-menu
echo ========================= NHIBERNATE BUILD MENU ==========================
Expand Down Expand Up @@ -52,12 +63,14 @@ echo F. Add a test configuration for Oracle with managed driver.
echo G. Add a test configuration for SQL Server Compact.
echo H. Add a test configuration for MySql.
echo I. Add a test configuration for SAP HANA.
echo J. Add a test configuration for SAP SQL Anywhere.
echo.
echo X. Exit to main menu.
echo.

%BUILDTOOL% prompt ABCDEFGHIX
if errorlevel 9 goto main-menu
%BUILDTOOL% prompt ABCDEFGHIJX
if errorlevel 10 goto main-menu
if errorlevel 9 goto test-setup-anywhere
if errorlevel 8 goto test-setup-hana
if errorlevel 7 goto test-setup-mysql
if errorlevel 6 goto test-setup-sqlserverce
Expand Down Expand Up @@ -131,6 +144,13 @@ set LIB_FILES=
set LIB_FILES2=
goto test-setup-generic

:test-setup-anywhere
set CONFIG_NAME=SapSQLAnywhere
set TEST_PLATFORM=AnyCPU
set LIB_FILES=
set LIB_FILES2=
goto test-setup-generic

:test-setup-generic
set CFGNAME=
set /p CFGNAME=Enter a name for your test configuration or press enter to use default name:
Expand Down Expand Up @@ -168,7 +188,8 @@ SET NUNITPLATFORM=
goto test-run

:test-run
start "nunit3-console" cmd /K %NUNIT% %NUNITPLATFORM% --agents=1 --process=separate NHibernate.nunit
%NANT% common.tools-restore
start "nunit3-console" cmd /K %NUNIT% %NUNITPLATFORM% --agents=1 NHibernate.nunit
goto main-menu

rem :build-test
Expand Down Expand Up @@ -216,12 +237,14 @@ echo I. NHibernate Trunk - Oracle Managed (64-bit)
echo J. NHibernate Trunk - SQL Server Compact (32-bit)
echo K. NHibernate Trunk - SQL Server Compact (64-bit)
echo L. NHibernate Trunk - SQL Server ODBC (32-bit)
echo M. NHibernate Trunk - SAP SQL Anywhere
echo.
echo X. Exit to main menu.
echo.

%BUILDTOOL% prompt ABCDEFGHIJKLX
if errorlevel 12 goto main-menu
%BUILDTOOL% prompt ABCDEFGHIJKLMX
if errorlevel 13 goto main-menu
if errorlevel 12 goto teamcity-anywhere
if errorlevel 11 goto teamcity-sqlServerOdbc
if errorlevel 10 goto teamcity-sqlServerCe64
if errorlevel 9 goto teamcity-sqlServerCe32
Expand Down Expand Up @@ -307,5 +330,11 @@ move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
goto main-menu

:teamcity-anywhere
move "%CURRENT_CONFIGURATION%" "%CURRENT_CONFIGURATION%-backup" 2> nul
%NANT% /f:teamcity.build -D:skip.manual=true -D:CCNetLabel=-1 -D:config.teamcity=sqlanywhere
move "%CURRENT_CONFIGURATION%-backup" "%CURRENT_CONFIGURATION%" 2> nul
goto main-menu

:end
popd
Loading