Gavin King
78c8a04486
add example of subquery join with 'on' to docs
2022-10-21 23:43:15 +02:00
Christian Beikov
940f15b63e
HHH-15528 Add Cockroach to Jenkins nightly test matrix and fix issues
2022-10-21 09:51:16 +02:00
Gavin King
8f23e16a35
explain wtf 'join lateral' means
...
and that it's the same thing as 'cross apply'
2022-10-19 13:59:04 +02:00
Gavin King
4453af984b
minor improvement to table in doc
2022-10-09 11:45:04 +02:00
Gavin King
f324204514
HHH-15589 document var_xxx() and stddev_xxx()
2022-10-08 22:20:03 +02:00
Gavin King
f5a5990d03
try to make var_xxx() and sdtev_xxx() more portable
2022-10-08 21:27:43 +02:00
Gavin King
477f1e7af6
HHH-15588 promote sinh(), cosh(), and tanh()
2022-10-08 18:58:42 +02:00
Gavin King
6ea6359638
add a couple of crosslinks to HQL chapter of doc
2022-10-08 14:09:10 +02:00
Gavin King
4451611311
HHH-15518 bless degrees() and radians() as standard
...
- add a test
- emulate them on HANA and Oracle
2022-10-06 23:20:02 +02:00
Gavin King
6de92c4f90
document window functions in HQL
...
thanks to @beikov who collected + wrote up most of the information here
2022-10-06 18:03:58 +02:00
Gavin King
be4934d17d
reorg the documentation of HQL functions
2022-10-06 14:37:46 +02:00
Gavin King
f70d09175a
update the HQL chapter to acknowledge changes in JPA 3.1
2022-10-05 17:12:52 +02:00
Gavin King
a7bb19a2ea
clarify semantics of query with no 'select' in documentation
2022-10-05 14:05:53 +02:00
Gavin King
6e94b35ee1
HHH-15549 remove mapping of NUMBER(1,0) to BOOLEAN on Oracle
...
This just seems wrong to me. We have no way to say that a NUMBER(1,0)
column isn't a single-digit number.
Simplify the other mappings for NUMBER(n,0).
2022-10-02 12:12:33 +02:00
Jan Schatteman
bb5aa62927
HHH-15487 - Remove support for PostgreSQL versions older than 10
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 19:57:32 +02:00
Jan Schatteman
89a98f2dc7
HHH-15489 - Remove support for Oracle versions older than 11.2
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-21 17:52:03 +02:00
Gavin King
3ddfa3f47c
HHH-15516 add two-arg form of log() to HQL
2022-09-16 13:21:44 +02:00
Gavin King
1b5935e66d
HHH-15515 make pi a portable HQL function
2022-09-16 13:21:44 +02:00
Christian Beikov
60bd1c657b
HHH-15504 Add UUID support for SQL Server
2022-09-14 11:11:10 +02:00
Jan Schatteman
3dec1ca4dc
HHH-15447 - Remove references to deprecated dialects
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-09-12 16:05:00 +02:00
Christian Beikov
eb1f56d542
HHH-15458 Interpret String with JSON/XML type code as plain JSON/XML
2022-08-29 10:57:49 +02:00
Andrea Boriero
6507ac4f88
HHH-15455 User Guide Contains a reference to hibernate-ehcache, no longer supported
2022-08-22 15:28:43 +02:00
Yoann Rodière
8c33056d93
Fix dead link in documentation section "Java API for HQL and JPQL"
...
See the link "next chapter" at the beginning of this section:
https://docs.jboss.org/hibernate/orm/current/userguide/html_single/Hibernate_User_Guide.html#hql
2022-08-17 08:56:29 +02:00
Christian Beikov
7b6df34519
HHH-15428 Fix handling of converters by moving them to JdbcMapping
2022-08-03 14:38:46 +02:00
Andrea Boriero
e80fb85dae
HHH-15420 Getting Started Guide Code does not build
2022-08-02 15:47:14 +02:00
Andrea Boriero
0f599da6c4
HHH-15406 Tests annotated with org.hibernate.testing.RequiresDialect having as value a deprecated dialect are not executed
2022-07-21 22:00:14 +02:00
Jan Schatteman
d6f9b0b683
HHH-15401 - Update the topical guide
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-07-18 12:04:45 +01:00
Andrea Boriero
e3d524fe5e
HHH-15396 Quick Start guide, hibernate-tutorials.zip link is broken
2022-07-13 13:54:28 +02:00
Gavin King
6588d2db46
somewhat improve the documentation of StatelessSession
...
mention fetch()
2022-07-04 21:05:14 +02:00
Gavin King
7b8bf8b98e
minor changes to HQL docs
2022-07-02 20:53:03 +02:00
Gavin King
c3e0bc44ba
document right/full join syntax
2022-07-02 20:50:13 +02:00
Christian Beikov
9c660f7e0a
HHH-15367 Lift embedded/id-class to-one selection limitation for from clause subqueries
2022-07-01 12:05:54 +02:00
Gavin King
bb29e3b060
document root joins
2022-06-24 17:14:13 +02:00
Christian Beikov
9cff075a89
HHH-15349 Fix rendering of EntityValuedPathInterpretation when comparing different model parts
2022-06-23 20:20:00 +02:00
Gavin King
1eb75e22ef
improve language and formatting in new HQL doc sections
2022-06-18 00:22:17 +02:00
Gavin King
58da5f24f9
"sub query" -> "subquery"
...
The word "sub" means "submarine", "submissive", or "substitute".
It's never an adjective.
2022-06-18 00:22:17 +02:00
Gavin King
c163e1f2ed
minor clarifications to HQL chapter
2022-06-17 18:14:30 +02:00
Gavin King
c60fbc20ec
documentation for hibernate.enable_lazy_load_no_trans
2022-06-10 17:00:29 +02:00
Christian Beikov
341267b133
HHH-3356 Support for normal and lateral subquery in from clause
2022-06-04 19:07:43 +02:00
Steve Ebersole
a488e1a269
minor doc fix-up
2022-05-31 06:31:55 -05:00
Christian Beikov
497c09cddb
HHH-10999 Remove configuration setting for configuring the JDBC type for arrays
2022-05-30 19:52:39 +02:00
Christian Beikov
45fc49314e
HHH-10999 Add support for SQL array types mapped as Java arrays and collections
2022-05-30 19:52:39 +02:00
Nathan Xu
087b9d83ff
HHH-15010 - update Java type list for '@CreationTimestamp' and '@UpdateTimestamp' in user guide
2022-05-23 15:37:18 +02:00
Christian Beikov
a961ba45ac
Add documentation for CompositeUserType
2022-05-05 09:18:19 +02:00
Christian Beikov
c18e611ed6
HHH-15200 Add support for the SQLXML type
2022-05-05 09:07:37 +02:00
Nathan Xu
79adc41918
HHH-15224 update the module list in "getting started guide"
2022-05-03 10:20:40 +02:00
Nathan Xu
8af615386f
HHH-15154 tweak verbiage in user guide on FetchMode.SUBSELECT
2022-05-03 10:15:06 +02:00
Hirosato Hano
ef443b11ad
HHH-15238 - Documentation: update JDBC logging configuration for 6.0
2022-05-02 13:10:04 +02:00
Nathan Xu
049a61479b
HHH-15239 add 5.6 link in user guide after v6 became the new "current"
2022-05-02 09:13:56 +02:00
Jan Schatteman
eab669f04e
Some minor corrections to the docs
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-04-27 17:39:52 +02:00
Steve Ebersole
69e57404c6
HHH-15226 - Publish a Gradle platform (Maven Bom++) for Hibernate ORM
...
- plus use Gradle version catalogs as opposed to `libraries.gradle`
- dropped OSGi manifest entries for hibernate-envers - they were broken and we decided we no longer support OSGi
2022-04-26 14:41:04 -05:00
Christian Beikov
776bc1d0aa
HHH-15174 Move annotation handling code to common method for element collection and basic values
2022-04-07 21:03:20 +02:00
Steve Ebersole
84cf4524ea
HHH-15170 - Dedicated chapter for "Build Tool Support"
...
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 16:13:03 -05:00
Steve Ebersole
17bb4aa066
HHH-15170 - Dedicated chapter for "Build Tool Support"
...
HHH-15171 - Add discussion of the Ant Plugin
2022-04-05 15:25:34 -05:00
Steve Ebersole
9d3726e39d
HHH-15170 - Dedicated chapter for "Build Tool Support"
2022-04-04 19:15:15 -05:00
Steve Ebersole
ad828a0a4a
release announcement, doc artifacts
2022-03-31 11:01:06 -05:00
Steve Ebersole
8d20c033b1
Address test failures in Gradle plugin module
...
- I was not able to figure this out, so simply disabled the TestKit related tests
- unfortunately, this means we have no automated functional testing of the plugin in the build
2022-03-31 07:49:28 -05:00
Steve Ebersole
bec32ebbc4
HHH-15133 - Use specified result-type to better infer "shape" of query results with implicit selections
2022-03-30 13:34:18 -05:00
Christian Beikov
4334b46376
Update the bulk section of the batching documentation chapter for the new mutation strategies. Also implement the missing InlineUpdateHandler
2022-03-30 18:21:27 +02:00
Christian Beikov
111fe26ccc
Fix some issues in the legacy type resolution documentation and raw types issues for UserType
2022-03-30 18:21:27 +02:00
Christian Beikov
29d457b16a
Add documentation for the sql function
2022-03-30 18:21:27 +02:00
Christian Beikov
117e62195a
Allow configuring the preferred JDBC type for Instant
2022-03-29 19:31:53 +02:00
Christian Beikov
a9d1035806
Do some renaming for consistency and update documentation for new SQL types
2022-03-29 19:31:53 +02:00
Steve Ebersole
814c164c81
HHH-14672 - Allow specifying CHAR-based storage for UUID mappings
2022-03-29 16:53:35 +02:00
Christian Beikov
b4a1b149fb
Add support for specifying the SqlTypes field name when a type code is expected
2022-03-26 00:02:18 +01:00
Christian Beikov
f2aa533dfc
Switch back to numeric(21) with nanosecond resolution as fallback for mapping Duration to retain backwards compatibility
2022-03-25 20:20:28 +01:00
Christian Beikov
6801ff0f26
Introduce option to configure how to store java.time.Duration
2022-03-25 20:20:28 +01:00
Christian Beikov
ce298a1566
Make use of type variable for a few CompositeUserType methods
2022-03-24 09:29:45 +01:00
Christian Beikov
4b48dd31f6
Get rid of MVCC JDBC connection parameter
2022-03-24 09:15:11 +01:00
CHAPEL Guillaume
c57d394445
HHH-15118 Fix duplicate ids with PooledOptimizer when sequence value is initialValue
2022-03-18 10:27:06 +01:00
Steve Ebersole
6ab1cd3434
fix problem with release.gradle
2022-03-16 11:36:11 -05:00
Steve Ebersole
f82d381fe3
Gradle build clean-ups
...
- re-organize release task definitions to avoid use of subproject iteration
2022-03-15 12:15:56 -05:00
Steve Ebersole
741b6b71f1
logging report
2022-03-11 14:45:43 -06:00
Steve Ebersole
7a1d6f13dd
doc fix-ups
2022-03-09 13:45:11 -06:00
Steve Ebersole
e16fbb6c31
report-tasks
2022-03-09 12:28:13 -06:00
Steve Ebersole
415b28f116
HHH-15114 - Clean up deprecations
2022-03-08 20:24:14 -06:00
Steve Ebersole
b8c416744d
not-found and fk() docs
2022-03-08 18:11:07 -06:00
Christian Beikov
af9edd50d6
Add SqlTypes.TIMESTAMP_UTC to as jdbc type for java.time.Instant
2022-03-08 23:05:09 +01:00
Christian Beikov
964e72f536
Implement support for TimeZoneStorageType.COLUMN
2022-03-08 23:05:09 +01:00
Christian Beikov
2c80250b0e
Replace typeNames in Dialect with SqlType and SqlTypeRegistry that dialects contribute into
2022-03-08 21:59:49 +01:00
Steve Ebersole
ac4a792f84
render migration guide using asciidoctor and publish with docs
2022-03-08 11:26:55 -06:00
Steve Ebersole
d52ebfb41d
HHH-15099 - Improve handling of associations marked with @NotFound
...
- Keep track of NotFoundAction into mapping model
- Fix tests with erroneous assertions about `@NotFound` associations allowed to be lazy
2022-03-05 08:59:31 -06:00
Christian Beikov
bdf8b2fc2e
Fully generify and simplify UserType contract
2022-03-04 11:14:17 +01:00
Christian Beikov
8183901cfe
Add documentation notes about LIST semantics for mappedBy mappings
2022-03-02 17:02:53 +01:00
Christian Beikov
7aaeebe3af
Switch back to bag by default for list semantics
2022-03-02 17:02:53 +01:00
Christian Beikov
8e6fb5636b
Adapt EmbeddableInstantiator and CompositeUserType to accept a ValueAccess instead of a Supplier
2022-02-25 19:15:38 +01:00
Christian Beikov
c520b48487
Implement support for CompositeUserType and re-enable tests that make use of it
2022-02-25 15:36:16 +01:00
Andrea Boriero
dc3b3db512
Re-enable additional tests
2022-02-15 17:45:39 +01:00
Christian Beikov
5bfbc466eb
Rename JPA copy compliance setting to `hibernate.criteria.copy_tree`
2022-02-10 18:24:23 +01:00
Gavin King
4d024fde8b
update documentation to explain implicit collection joins
2022-02-09 22:05:21 +01:00
Gavin King
9ebac67737
change the new syntax for HQL collection-aggregates
...
this feels more consistent to me, and avoids introducing "new" syntax
2022-02-09 22:05:21 +01:00
Gavin King
65e282766c
test showing 'join treat' broken for @OneToMany
2022-02-08 12:23:43 +01:00
Gavin King
a25758f519
don't write @SuppressWarnings({ "unchecked" })
2022-02-05 20:03:50 +01:00
Steve Ebersole
86cdf67016
HHH-15055 - Document SelectionQuery and MutationQuery
2022-02-05 10:50:13 -06:00
Gavin King
798f9b0518
disable test on Sybase
...
oops, I missed that this failed in CI!
2022-02-02 20:41:52 +01:00
Gavin King
f9392406b7
mention ordered set functions in documentation
2022-02-02 20:00:58 +01:00
Jan Schatteman
d2b740ce5b
Jrenaat 6.0 deprecation removals ( #4718 )
...
* Removed deprecated org.hibernate.boot.jaxb.internal.stax.LocalSchema
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove some deprecations from org.hibernate.engine.jdbc
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated misspelled method in PostActionEventListener
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated getSource() from AbstractPreDatabaseOperationEvent
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Privatize deprecated buildOptimizer method in OptimizerFactory
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated ServiceContributingIntegrator
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove some more deprecated features
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2022-01-31 19:14:48 +01:00
Christian Beikov
0ad5796ffd
Implement SQM copying for JPA Criteria API uses
2022-01-31 19:04:37 +01:00
Gavin King
ef391bf644
get rid of warnings about use of deprecated PersisterCreationContext
2022-01-31 14:10:04 +01:00
Gavin King
6f3592ac25
Streams are no longer closed by terminal operations
...
This is no longer true, according to H6 migration guide, so undocument it
2022-01-30 18:35:08 +01:00
Gavin King
99e43537c1
fix a couple of minor errors in doc
2022-01-30 06:21:53 +01:00
Gavin King
1188c6e628
Use a table instead of a list
2022-01-29 20:01:20 +01:00
Gavin King
b2a929a46e
fix quoting
2022-01-29 19:42:59 +01:00
Gavin King
475d028981
remove @TimeZoneColumn for now because it's unimplemented
...
and there's no plan to implement it for 6.0
(we can put it back later if someone gets around to implementing it)
2022-01-28 16:01:58 +01:00
Gavin King
e80892b77f
fix typo
2022-01-27 20:31:05 +01:00
Steve Ebersole
5436f441ae
move remaining tests from o.h.test to o.h.orm.test
2022-01-26 17:06:53 -06:00
Steve Ebersole
7b00d3ce78
Migrate internal uses of `MetamodelImplementor` (deprecated) to instead use `MappingMetamodel`
2022-01-25 20:22:29 -06:00
Gavin King
e51c210d78
squash lots of warnings in services
...
change the raw Map representation of config properties to Map<String,Object>
2022-01-25 21:04:50 +01:00
Steve Ebersole
3f879dc3db
User Guide - collection mapping docs
2022-01-24 19:52:41 -06:00
Steve Ebersole
a332d9191e
Work on the User Guide section on @NotFound
2022-01-24 13:28:07 -06:00
Steve Ebersole
d6c4f90f4c
Change `@ParamDef#type` associated with a `@FilterDef` from `String` to `Class` in keeping with the general move away from String-based type usage in annotations
2022-01-24 08:27:11 -06:00
Gavin King
766483e46d
remove hibernate.query.omit_join_of_superclass_tables
2022-01-22 20:01:17 +01:00
Steve Ebersole
8cda382ef9
api, spi, internal, deprecation
...
org.hibernate.query package
2022-01-21 13:34:06 -06:00
Gavin King
2df71bb7ab
remove some more deprecated stuff from Environment
...
and refresh its Javadoc
2022-01-21 16:52:09 +01:00
Gavin King
329b2fc9c4
remove hibernate.jdbc.use_streams_for_binary config property
...
this should be handled by the Dialects
2022-01-21 16:52:09 +01:00
Steve Ebersole
5761e7801b
api, spi, internal, deprecation
...
org.hibernate.jpa
2022-01-20 22:19:13 -06:00
Gavin King
d385cc8825
remove hibernate.query.validate_parameters
...
in H6 we're going to always validate them
2022-01-20 23:20:16 +01:00
Gavin King
a59bf70ccf
remove hibernate.query.conventional_java_constants
...
this was apparently a sorta nasty bandaid to a performance problem in query compilation
and it caused problems for some users, breaking interpretation of enum values
2022-01-20 23:20:16 +01:00
Gavin King
846af92b54
remove JACC and JMX stuff from docs
...
it got left over somehow
2022-01-20 18:03:51 +01:00
Gavin King
e7acffef15
remove some legacy config properties
...
the following are gone:
hibernate.ejb.resource_scanner
hibernate.query.substitutions
hibernate.jdbc.sql_exception_converter
hibernate.native_exception_handling_51_compliance
hibernate.legacy_limit_handler
hibernate.jdbc.wrap_result_sets
2022-01-20 18:03:51 +01:00
Christian Beikov
445cedfec7
Cleanup the naming of JavaDescriptor and JavaTypeDescriptor to align with the new naming JavaType
2022-01-20 16:01:02 +01:00
Christian Beikov
fb749b6b32
Adapt tests and skips for H2 2.0.202+
2022-01-18 15:18:01 +01:00
Steve Ebersole
7de0e79cad
Clean up usages of ``@NotImplementedYet`
2022-01-14 15:56:59 -06:00
Steve Ebersole
9fe3c861ca
HHH-15023 - Move Query and NativeQuery back to org.hibernate.query
2022-01-14 14:49:17 -06:00
Steve Ebersole
fda6e96c5e
HHH-15023 - Move Query and NativeQuery back to org.hibernate
2022-01-11 21:01:56 -06:00
Steve Ebersole
d2584730f3
Document @IdGeneratorType;
...
Some work to clean up User Guide sections on id-generators
2022-01-10 09:54:06 -06:00
Gavin King
64d25f16d1
make 'element' and 'value' synonyms in doc
2022-01-10 15:48:34 +01:00
Gavin King
e6128551b3
document new collection aggregate function syntax
...
and fix some other problems I found in the examples
2022-01-10 15:48:34 +01:00
Gavin King
4b5e6e1969
introduce new syntax for aggregate functions applying to collections
...
max(element x.y), min(index x.y), sum(element x.y)
and rationalize the node types here
2022-01-10 15:48:34 +01:00
Gavin King
596debed4d
make @Check work when applied at the field level
...
This was a bug!
Also add checkConstraint member to @Table to allow check constraints on secondary tables
Also clean up some Javadoc of some related annotations
2022-01-10 00:01:24 +01:00
Gavin King
60ad64b2a6
update explanation of limit/fetch join problem for H6
2022-01-08 11:58:44 +01:00
Gavin King
3103d84949
fix an incorrect statement about case sensitivity
2022-01-08 02:31:20 +01:00
Steve Ebersole
448d678fb5
Drop `@CollectionClassificationType`;
...
Drop `@CollectionSemantics`;
Drop `@CollectionSemanticsRegistration(s)`;
Add `@CollectionTypeRegistration(s)`;
Rename `@CustomType` to `@Type`;
User Guide and Migration Guide changes
2022-01-06 21:46:48 -06:00
Gavin King
a1ea84a3ac
two very minor doc fixes
2022-01-06 23:26:21 +01:00
Gavin King
aef951f279
move some function arg typechecking up to the SQM phase
...
this is where it needs to be for checking of named queries at startup
and for any checks that happen in an IDE or at build time
2022-01-06 18:10:00 +01:00
Steve Ebersole
773f3429c6
hibernate.mapping.default_list_semantics (`AvailableSettings#DEFAULT_LIST_SEMANTICS`)
...
make LIST the default classification for List attributes with no `@OrderColumn`, etc.
2022-01-06 08:53:00 -06:00
Gavin King
c96f22dfe0
remove hibernate.dialect.show_hql_functions and just make it a log category
...
really unclear why I didn't do it that way in the first place
2022-01-06 15:24:35 +01:00
Steve Ebersole
1131292fa9
- fix apparently illegal Oracle identifier
2022-01-05 20:51:41 -06:00
Steve Ebersole
a71ba9e385
Initial work to re-organize the Collections chapter in the UserGuide;
...
Docs for @CollectionType, @CollectionClassificationType and @CollectionSemantics;
Some api/spi/internal work;
Migration Guide;
2022-01-05 16:26:58 -06:00
Christian Beikov
2666f3f6e0
Add feature requirement for multi-insert test
2022-01-05 14:37:50 +01:00
Christian Beikov
6e8f344a9f
Implement handling of top level limit/offset/fetch clause when collection fetches are involved
2022-01-05 14:37:50 +01:00
Christian Beikov
2e0a2eea43
Fix issues with multi table values inserts and add optimization for simple values inserts
2022-01-05 14:37:50 +01:00
Gavin King
bddbb4d287
examples for native functions
2022-01-05 13:16:52 +01:00
Gavin King
31a795b8c7
quotes not needed for enum values in doc example
2022-01-05 00:42:05 +01:00
Gavin King
e1d1d21a30
move a passage to a place it's easier to find
2022-01-05 00:42:05 +01:00
Gavin King
2d55d9a3a8
document id(), version(), naturalid() functions
2022-01-04 23:07:39 +01:00
Gavin King
4ae977a41e
disable a test on Sybase
...
(missed this failure)
2022-01-04 18:06:43 +01:00
Gavin King
b1aea5f993
document the existence of quoted identifiers
2022-01-04 16:18:55 +01:00
Gavin King
1934236314
document that you can insert multiple rows with 'values'
2022-01-04 15:05:42 +01:00
Gavin King
ef53b2a2de
make the BNFs more readable
...
and add one for grouped item
2022-01-04 15:05:42 +01:00
Gavin King
ae2b19cbb0
finally rewrite a sentence I wrote close to 20 years ago
...
I almost feel like I shouldn't push this...
2022-01-04 02:39:18 +01:00
Gavin King
59e36c46c4
better documentation for limit and friends
...
with code example
2022-01-04 00:22:57 +01:00
Gavin King
b9a040effb
switch to inconsolata for monospace font
2022-01-03 21:26:03 +01:00
Gavin King
b72e2620c6
remove a strange statement that was simply wrong from the docs
2022-01-03 21:25:50 +01:00
Gavin King
0e55930c75
use more standard whitespace in example code in docs
2022-01-03 21:25:16 +01:00
Gavin King
0f9faf85e5
minor improvements to the beginning part of HQL chapter
2022-01-03 19:39:14 +01:00
Gavin
b55ccabba1
slightly nicer css
2022-01-03 18:39:58 +01:00
Gavin
49d9155f4e
do a much better job of explaining query language concepts
...
and add an example of a union query
2022-01-03 18:39:58 +01:00
Gavin
cf4d2d4338
undocument a fixed limitation
2022-01-03 17:09:18 +01:00
Gavin King
948eaf7210
more comments on 'fetch join'
...
- and improve a table
- and add BNF for limit/offset and order by
2022-01-02 18:56:07 +01:00
Gavin King
6c28a133dd
enum + Java constant examples
...
+ minor fixes
2022-01-02 16:51:50 +01:00
Gavin King
72889fe861
add some missing functions to docs
2022-01-02 16:10:33 +01:00
Gavin King
c48be75d3b
add an examples with treat() ( #4552 )
...
and slightly reorg doc
2022-01-02 15:45:48 +01:00
Gavin King
5ae55d7bfb
redesign 'collate' and add tests
...
* and add tests and documentation for 'collate'
* much better and less-ambiguous syntax for collate(), consistent with cast() and treat()
* reimplement collate() using the function infrastructure
* implement collate() for HSQLDB
This feature was previously untested and at least partially broken, and was making a mess
of the HQL grammar.
2022-01-02 13:39:33 +01:00
Gavin King
4509cad315
at least *mention* treat()
2022-01-02 03:33:08 +01:00
Gavin King
648dac628f
minor fixes to docs
2022-01-02 03:33:08 +01:00
Gavin King
de7aaa88dc
clean up sample BNFs
2022-01-01 23:52:27 +01:00
Gavin King
9edcf6b0c0
moar tables
2022-01-01 23:52:27 +01:00
Gavin King
cb787e87a8
mention OffsetDateTime in lterals
2022-01-01 23:52:27 +01:00
Gavin King
ec6540ea56
get rid of useless headings on sample code fragments
2022-01-01 23:52:27 +01:00
Gavin King
0966c7be1d
more HQL doc rewriting
...
much better documentation for HQL statement types
rewrite section on predicates and logical operators
rewrite from/join section
stop shouting so much
document that H6 auto-removes non-distinct entity results
document limit/offset
document set operators and 'cross join'
slight reorg of Query API chapter, and new title
use "ordinal" instead of "positional" for parameters
2022-01-01 23:52:27 +01:00
Steve Ebersole
7599d3b2dd
Re-write of `Collections` domain model section
...
preliminary work
2021-12-31 16:37:55 -06:00
Steve Ebersole
7c475c8ac0
migration-guide
2021-12-31 16:21:32 -06:00
Fabio Massimo Ercoli
f5fdb653a8
Remove not used examples from documentation
2021-12-31 11:46:10 -06:00
Gavin King
3f8a0b6776
HQL doc rewrite/restructure
...
- document new features of HQL (literals, functions, filter, rollup)
- rewrite parts of the section dealing with the Query API + execution
- split out a new chapter about the query language, and reorder sections
- remove material about deprecated/removed features
- get rid of use of java.sql.Timestamp from the code!
- make use of repeatable annotations in code examples
2021-12-31 18:35:14 +01:00
Steve Ebersole
9beab38716
Re-write of `Collections` domain model section
...
preliminary work
2021-12-31 11:32:44 -06:00
Steve Ebersole
4ea949d93d
Re-write of `Collections` domain model section
...
preliminary work
2021-12-31 11:08:25 -06:00
Gavin King
5bcf691d2b
mention @GeneratedColumn in the docs
2021-12-31 16:01:32 +01:00
Christian Beikov
1184a5963b
Re-add AvailableSettings.JPA_METAMODEL_GENERATION and re-enable metamodel tests
2021-12-23 10:01:07 +01:00
Christian Beikov
29bfb799aa
Fix some test issues with HANA and emulate derived table column naming on HANA
2021-12-21 18:59:08 +01:00
Chris Cranford
99c13e5965
HHH-11595 Introduce `CollectionAuditTable` support
2021-12-18 22:53:42 -05:00
Steve Ebersole
fe5a7466cf
slightly expand the documentation for Boolean - minor fix-ups
2021-12-18 07:22:13 -06:00
Gavin King
7a81ec78ff
slightly expand the documentation for Boolean
2021-12-18 07:22:13 -06:00
Gavin King
a2272be61c
documentation surrounding @Lob and Length
2021-12-18 05:05:55 -06:00
Chris Cranford
b384b37f39
HHH-8051 Gracefully handle not-found to-one associations
2021-12-16 01:05:27 -05:00
Steve Ebersole
76c329f919
More work on ``@AttributeBinderType`
2021-12-09 12:54:20 -06:00
Steve Ebersole
1e33836632
to test pushing
2021-12-09 07:03:28 -06:00
Steve Ebersole
7a6cef5838
Miscellaneous
...
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
2021-12-09 00:51:40 -06:00
Gavin King
365aa58254
add two new annotations to the list in Annotations.adoc
2021-12-08 08:44:09 -05:00
Gavin King
6f0676cf96
HHH-6054 add docs for @TenantId
2021-12-08 08:44:09 -05:00
gavin
b2e6965577
remove MultiTenancyStrategy
...
Use the existence of a MultiTenantConnectionProvider to infer that multitenancy is enabled.
2021-12-08 08:44:09 -05:00
Steve Ebersole
915da5228d
HHH-14497 - Drop legacy id-generator settings;
...
HHH-14718 - Drop deprecated generator implementations
2021-12-07 11:12:44 -06:00
Andrea Boriero
07155b7993
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-12-06 17:56:17 +01:00
Neon Ngo
fa8b78d345
HHH-14956 Fix link to MetadataBuilderContributor javadocs
...
- Under Appendix > Configurations > Bootstrap properties
- hibernate.metadata_builder_contributor
2021-12-06 16:33:09 +00:00
Steve Ebersole
ae25b651ca
HHH-14885 - New composite user-type
...
HHH-14951 - Add @EmbeddableRepresentationStrategy
Prep work for `@EmbeddableRepresentationStrategy` - mostly move things from spi package to api, generally all marked `@Incubating`
2021-12-02 14:49:23 -06:00
Christian Beikov
47416b9e24
Fixup review comments
2021-12-02 13:17:53 +01:00
Steve Ebersole
5e0b98dd61
HHH-14928 - Document CDI integration
2021-12-01 22:11:56 -06:00
Steve Ebersole
9137b9e79a
HHH-14885 - New composite user-type
...
`@EmbeddableInstantiatorRegistration`
2021-12-01 20:47:14 -06:00
Steve Ebersole
61d178ef1b
HHH-14885 - New composite user-type
...
`@EmbeddableInstantiatorRegistration`
2021-12-01 18:16:29 -06:00
Steve Ebersole
924c2b29c3
HHH-14885 - New composite user-type
...
Working support for `@EmbeddableInstantiator` on either the embedded site or on the embeddable class.
2021-12-01 17:35:43 -06:00
Sanne Grinovero
334aeb1349
HHH-14946 Upgrading base requirements to Java 11
2021-12-01 17:34:28 +00:00
Chris Dennis
55db51894f
HHH-14837 : Re-enable hibernate-jcache module.
2021-11-29 11:44:16 -05:00
Chris Cranford
dbecdc41ac
HHH-9062 Allow validity audit strategy to store revision end timestamps on joined subclass audit tables.
2021-11-27 04:41:52 -05:00
Chris Cranford
205f0ce9bf
HHH-6210 Added config option to allow revend timestamp fields to be long data types
2021-11-26 02:20:28 -05:00
Andrea Boriero
b971d76bf6
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-11-18 12:45:25 +01:00
Jan Schatteman
69d2c65880
Removal @Deprecated from availablesettings ( #4369 )
...
* Remove deprecated *_CLASSLOADER from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated HBM2DLL_CREATE_NAMESPACES and DEPRECATED_EXTRA_PHYSICAL_TABLE_TYPES from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated and duplicated HBM2DDL_DB_NAME, HBM2DDL_DB_VERSION, HBM2DDL_DB_MAJOR_VERSION, HBM2DDL_DB_MINOR_VERSION from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-17 14:52:52 +01:00
nathan.xu
c3631970a5
HHH-14927 fix other obvious defects in user guide
2021-11-17 10:52:56 +01:00
nathan.xu
f54f6bdf4e
HHH-14927 bump current hibernate version from 5.5 to 5.6 in user guide
2021-11-17 10:52:56 +01:00
Andrea Boriero
2e74d026f2
Merge branch 'wip/6.0_merge_main' into wip/6.0
2021-11-16 09:28:40 +01:00
Andrea Boriero
0c0fab9cef
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main
2021-11-16 09:27:42 +01:00
Maciej Walkowiak
3845d2f97f
Refer correct entity in "Composite identifiers with associations" section
...
Code sample uses `Book` entity instead of `PersonAddress`.
2021-11-16 08:47:03 +01:00
Björn Kautler
fa3a364b79
Fix dead link in documentation
2021-11-16 08:46:07 +01:00
Jan Schatteman
37703e2e4c
Remove deprecated properties from AvailableSettings ( #4362 )
...
* Remove deprecated ACQUIRE_CONNECTIONS and RELEASE_CONNECTIONS from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
* Remove deprecated PROXOOL_PREFIX and PREFER_POOLED_VALUES_LO from AvailableSettings
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-15 23:03:16 +01:00
Karel Maesen
8a96c4e7c7
HHH-4925 Minor fixes
2021-11-15 16:17:11 +01:00
Karel Maesen
64331aada6
Fix documentation issues
2021-11-15 16:17:11 +01:00
Karel Maesen
0300e54fef
HHH-14925 Remove deprecated BasicType implementations
2021-11-15 16:17:11 +01:00
Karel Maesen
e48da8d52c
HHH-14925 Switch for Postgis to javatype/jdbctype
...
Also some documentation improvements and dead code removal.
2021-11-15 16:17:11 +01:00
Karel Maesen
022d2c0a13
HHH-14906 Fix naming inconsistencies
...
Also fixes some minor checkstyle violations and
removes dead code
2021-11-15 16:17:11 +01:00
Jan Schatteman
db12d5a17a
Remove deprecated JPA_METAMODEL_GENERATION and JPA_METAMODEL_POPULATION from AvailableSettings
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-11-12 14:57:52 +01:00
Christian Beikov
60a3c08563
Downgrade H2 to 1.4.197 for testing and to allow usage of H2GIS
2021-11-12 12:09:49 +01:00
Steve Ebersole
599b0ba39f
HHH-14919 - Improve handling for java.sql.Date, Time and Timestamp
2021-11-09 07:18:09 -06:00
Steve Ebersole
0925e48ebf
more user-guide basic-type chapter work;
...
renamed `JavaTypeDescriptorRegistry` to `JavaTypeRegistry`;
renamed `JdbcTypeDescriptorRegistry` to `JdbcTypeRegistry`
2021-10-25 13:55:53 -05:00
Andrea Boriero
5d62eac4b9
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-10-25 18:05:46 +02:00
Steve Ebersole
f043014ec7
more user-guide basic-type chapter work
2021-10-22 06:42:08 -05:00
Steve Ebersole
c34ea34f6b
Clean up various legacy "read path" contracts
...
- clean-up unused Type methods
* Type#nullSafeGet
* Type#hydrate
* Type#resolve
* Type#getSemiResolvedType
* Type#semiResolve
* related
- start removing usage of Tuplizer
- start removing usage of legacy Tuplizer-based Instantiator
- Drop `EntityMode` completely
2021-10-21 16:26:49 -05:00
bb7133
5bd27eb853
HHH-14576 : Introduce the dialect for TiDB
2021-10-20 16:19:22 +02:00
nathan.xu
ead2447524
HHH-14891 update JTS package name in user guide (Hibernate Spatial BasicTypes table in 'Domain Model' chapter)
2021-10-20 10:05:11 +02:00
Andrea Boriero
dd36e349b1
Merge branch 'wip/6.0_merge' into wip/6.0
2021-10-19 16:36:48 +02:00
Christian Beikov
a4e406a54e
* Add SqlTypes as analogy to java.sql.Types containing constants for Hibernate specified types
...
* Add FormatMapper for a pluggable JSON serialization and deserialization strategy
* Add native UUID type support for H2, Cockroach, PostgreSQL
* Add native INET type support for Cockroach, PostgreSQL
* Add native JSON type support for MySQL, Cockroach, PostgreSQL
* Add native INTERVAL SECOND type support for H2, Cockroach, PostgreSQL
* Add fallback JdbcTypes for new SqlTypes
* Register column types for new SqlTypes
* Add support for BasicTypeReference in TypedParameterValue
* Fix a lot of method signatures with respect to type parameter issues
* Fix CustomType, UserType and EnhancedUserType with respect to type parameters
* Get rid of StringRepresentableType and some other unused deprecated methods
2021-10-19 16:33:36 +02:00
Christian Beikov
541302a511
Get rid of most basic type subclasses
2021-10-19 16:33:36 +02:00
Andrea Boriero
d2906c022e
Upgrade org.asciidoctor.jvm.convert to 3.3.2
2021-10-19 16:23:42 +02:00
Andrea Boriero
7f46f11f3b
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-10-19 16:23:07 +02:00
nathan.xu
8cf51a601b
HHH-14883 Fix an Asciidoc defect and other verbiage issues in 'spatial' chapter in user guide
2021-10-18 09:47:52 +01:00
Steve Ebersole
92e1f593dc
Drop doc section on JACC
2021-10-12 10:48:02 -05:00
Steve Ebersole
48068e0311
HHH-14857 Deprecations in preparation for 6
2021-10-11 19:36:23 +01:00
Steve Ebersole
686d8fcbf1
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:13:13 -05:00
Steve Ebersole
3a0065eea4
HHH-14870 - Rename {Xyz}TypeDescriptor as {Xyz}Type
...
* `JavaTypeDescriptor` -> `JavaType`
* `JdbcTypeDescriptor` -> `JdbcType`
2021-10-11 13:11:32 -05:00
Christian Beikov
548df627e6
Implement global configuration and sketch out annotations for time zone storage configuration. Move type tests and add skips for some tests running into H2 bugs. Also, fix some jdbc type assertion tests
2021-10-11 16:11:46 +02:00
Christian Beikov
597f4bdf6a
Get rid of JdbcTypeDescriptor remapping
2021-10-11 16:11:46 +02:00
Steve Ebersole
41603e8d75
Fix User Guide build problems
2021-10-08 09:18:58 -05:00
Steve Ebersole
d452b6e3ea
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
* documentation work
2021-10-07 16:53:30 -05:00
Steve Ebersole
ede52e9aba
HHH-14856 - Introduce @CustomType;
...
HHH-14865 - Re-work @Any and @ManyToAny support;
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations
* documentation work
* support for using most of the new mapping annotations related to basic and any mappings as meta-annotations
* support for `@Mutability` on AttributeConverter implementations
* additional tests in the User Guide's BitSet mapping Case Study
2021-10-07 16:46:35 -05:00
Steve Ebersole
9ad34c21d4
HHH-14856 - Introduce @CustomType;
...
HHH-14863 - Compositional definition of basic value mappings;
HHH-14864 - Drop legacy Type-based annotations;
HHH-14865 - Re-work @Any and @ManyToAny support;
* re-use BeanInstanceProducer
* Removed `@CollectionId#type`
* Change `@Any` / `@ManyToAny`
* Removed `@MapKeyType`
* Removed `@TypeDef`
* Removed `@TypeDefs`
* Removed `@Type`
* Removed `@AnyMetaDefs`
* Removed `@AnyMetaDef`
* Removed `@MetaValue`
2021-10-07 10:01:21 -05:00
Christian Beikov
710ebe57b0
Get rid of using specialized BasicType implementations and references to those and instead use a BasicTypeReference that is lazily resolved
2021-10-07 08:15:53 +02:00
Christian Beikov
1cb6ff8916
Cleanup naming of JavaTypeDescriptor and JdbcTypeDescriptor implementations. Get rid of PrimitiveType, IdentifierType, DiscriminatorType and AllowableTemporalParameterType
2021-10-07 08:15:53 +02:00
Christian Beikov
653f62ac60
Move VersionType logic to VersionJavaTypeDescriptor
2021-10-07 08:15:53 +02:00
Christian Beikov
81e66fa970
Get rid of LiteralType
2021-10-07 08:15:53 +02:00
Christian Beikov
9e83129fc3
Change JavaTypeDescriptor#fromString to accept a CharSequence instead of String and introduce CharSequence utilities to avoid creating intermediate strings
2021-10-05 15:18:38 +02:00
Andrea Boriero
8c40de9cff
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_main_7
2021-10-01 11:34:10 +02:00
Christian Beikov
05f643f208
Move some more jpa.test subpackages to orm.test
2021-09-30 13:52:31 +02:00
Steve Ebersole
8a8a92ca5e
HHH-14844 - Drop JACC integration
2021-09-29 01:08:07 -05:00
Steve Ebersole
986d65a288
HHH-14837 - Move to Jakarta EE
...
More settings work
2021-09-28 19:01:28 -05:00
Steve Ebersole
828b96522c
HHH-14837 - Move to Jakarta EE
...
fix references to JPA as Jakarta Persistence
2021-09-27 15:13:33 -05:00
Steve Ebersole
7bc1d55cdd
improved aggregated javadoc generation
2021-09-27 08:21:36 -05:00
Steve Ebersole
089a3f86ae
HHH-14837 - Move to Jakarta EE
...
preliminary transformation;
only `javax.persistence.*` settings supported atm
2021-09-27 08:21:27 -05:00
Steve Ebersole
bd2f8271bd
fix aggregateJavadoc task config
2021-09-23 08:32:46 -05:00
Karel Maesen
3995c644d1
HHH-14800 Implements suggestions from code review
...
- set version in deprecated Postgis dialects
- fast path for Contributor resolution
- add TODO label for Ignored tests
2021-09-21 11:55:41 +02:00
Karel Maesen
9316c161c7
HHH-14802 Update CockroachDB support for 6
2021-09-21 11:55:41 +02:00
Christian Beikov
77c1370e45
HHH-14642, HHH-13717 Various JPA Criteria related fixes
...
* Get rid of unnecessary whitespace and optional keywords in generated SQL
* Handle some type inference related issues with some databases requiring to render casted parameters in some situations
* Ensure SQM model is fully serializable
* Ensure JPA Criteria throws expected exceptions
* Make sure JPA Criteria implementations work properly
* Move jpa.test.callback and jpa.test.criteria packages
* Improve the reuse of SqmPath instances
* Get rid of many raw-types related warnings
* Make Predicate extend Expression and handle SQL rendering/emulation
* Support fetching SqmTuple as array
* Implement treat operator support
2021-09-09 16:39:31 +02:00
Christian Beikov
dd6efa509b
Introduce internal init_sql config and by default enable ansinull for Sybase ASE
2021-09-02 16:54:46 +02:00
Christian Beikov
c71171a762
fixup! Ignore some tests that run into HSQLDB bugs
2021-09-02 16:54:46 +02:00
Christian Beikov
c16731d14a
Cleanup docs, implement appendHqlString for DiscriminatorSqmPath and fix MapMember type
2021-09-02 16:54:46 +02:00
Christian Beikov
118b160b02
Introduce special str function implementation for T-SQL
2021-08-31 14:52:59 +02:00
Christian Beikov
b4a82f0854
Introduce TupleType for modelling structural types
2021-08-31 14:52:59 +02:00
Christian Beikov
1a3629a571
Fix some tests and config. Enable all documentation tests. Add profile for PG13
2021-08-31 14:52:59 +02:00
Christian Beikov
c01734adca
Rely on fetch of version attribute mapping instead of creating domain result for version mapping for entity initializers to allow overriding the selection expression
2021-08-30 17:18:02 +02:00
Christian Beikov
58440ed42d
Fix failing EmbeddableOverrideTest on old Oracle versions due to too long identifier
2021-08-30 17:18:02 +02:00
Andrea Boriero
cdeb95a4d5
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-08-30 14:07:19 +02:00
Sanne Grinovero
9267c5e6a6
HHH-14792 Remove support for bytecode enhancement via Javassist
2021-08-26 15:22:30 +01:00
Andrea Boriero
64c331150b
Re-enabled additional documentation tests
2021-08-23 18:57:28 +02:00
Christian Beikov
1544493edc
Wire up custom collection types
2021-08-16 17:36:50 +02:00
Christian Beikov
2f166c31df
Fix some documentation tests and respect filters in Session.find as per HHH-14772, and respect explicit polymorphism
2021-08-09 07:22:57 +02:00
Christian Beikov
b6683d2352
Fix some more result set mapping issues and fix HHH-7525 as well as HHH-10504
2021-08-06 23:15:50 +02:00
Jan Schatteman
3ec8b27b2a
Added doc notes on the filter clause and the ilike predicate
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2021-08-05 23:35:17 +02:00
Steve Ebersole
07ec4f208d
asciidoctor task config
2021-08-05 10:04:54 -05:00
Christian Beikov
ca22db14bb
Fix some issues with collection-path related HQL functions minindex/maxindex/minelement/maxelement/elements/indices and group by item rendering problems
2021-08-05 09:50:28 +02:00
Steve Ebersole
53fc490181
Document value generation;
...
Moved `@CurrentTimestamp` from src/test/java to src/main/java
2021-08-03 14:03:32 -05:00
Steve Ebersole
be8be18bc0
minor asciidoctor task improvements + update plugin to 3.1 version
2021-08-02 18:04:41 -05:00
Gavin King
7aeb03beea
remove older getJdbcType() method
2021-07-28 15:22:41 +02:00
Gavin King
07096e7cc1
introduce JDBCTypeDescriptor.getDefaultSqlTypeCode()
...
and rename sqlType -> jdbcTypeCode in Type hierarchy for consistency
See https://github.com/hibernate/hibernate-orm/discussions/4088
2021-07-28 15:22:41 +02:00
Steve Ebersole
b26b00a358
Bump matrix testing plugin to 3.1.0 (prep for Gradle 7)
2021-07-14 11:44:35 -05:00
Andrea Boriero
d6518e0c7a
Re-enabled additional tests
2021-07-08 14:09:46 +02:00
Andrea Boriero
8895347867
Fix null dicriminator unable to cast MarkerObject to ...
2021-07-08 11:48:54 +02:00
Christian Beikov
6447ca9b26
HHH-14693, HHH-10668 Move non-supported dialects to the hibernate-community-dialects artifact and add the SQLite dialect originally contributed by Vlad Mihalcea which was adapted for Hibernate 6. Also add HSQLDB, MySQL and Sybase ASE configurations and a CI job config
2021-07-06 10:14:20 +02:00
Steve Ebersole
59f033194a
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Moved custom Antlr plugin to hibernate-orm-build module
- more deprecation clean ups
2021-06-28 15:59:35 -05:00
Steve Ebersole
172ddf8700
Improved build configuration to better leverage Gradle up-to-date handling;
...
Preparation for moving to Gradle 7.0
- Improve Jakarta transformation handling (tests are also actually run now as a bonus);
- Improved CacheableHbmXmlTest to not write "ser" file to `${buildDir}/resources/test`
- Improved DatabaseService(Plugin)
- Update a number of plugins which did not handle up-to-date-ness properly
2021-06-26 08:46:09 -05:00
Christian Beikov
8e0864af10
Introduce SqmVisitableNode#appendHqlString to support indexed collection access paths
2021-06-22 17:55:20 +02:00
Andrea Boriero
6ca0be6d99
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-22 09:09:30 +02:00
Andrea Boriero
8fc45a9004
HHH-11817 Allow schema-export commands written to file to truncate in addition to current appending
2021-06-21 08:44:46 +02:00
Christian Beikov
db6701cc93
Move annotations, bytecode, cache, cascade, cdi, cfg, cid, component, compositeelement, customstructures, deletetransient, dialect, dirtyness, entitymode, exceptionhandling, extendshbm, fetchprofiles, fetchstrategyhelper, flush, foreignkey, generatedkeys, hbm, hql, jpa, mapping packages.
2021-06-17 13:16:55 +02:00
Hibernate-CI
fe3b6690c1
fixes to in-line jakarta transformation tasks
...
- fix path replacements (test bundles)
- drop inaccurate attempts to access javadoc/sources jar tasks and outputs for jakarta projects - they are not producing them (alternatively, and eventually will have to, we could have them produce those artifacts)
- skip jakarta modules for aggregated javadoc building
2021-06-16 09:55:38 -05:00
Andrea Boriero
105f91e910
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-15 11:50:01 +02:00
Sanne Grinovero
5b2289e883
HHH-14667 Avoid triggering the load of sequence metadata when not required
...
Also introduce SequenceMismatchStrategy#NONE, which allows to fully disable the checks
performed by SequenceMismatchStrategy on initialization; combining these two
changes, users have the option to fully skip loading the details about existing
sequences from the DB.
2021-06-11 11:55:46 +01:00
Andrea Boriero
6d59fec436
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-10 09:52:24 +02:00
Christian Beikov
10cba26bda
HHH-14665 Use semi-colon as the default statement delimiter for scripts
2021-06-08 20:49:39 +02:00
Andrea Boriero
6ced2f0aca
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-06-07 12:47:53 +02:00
nathan.xu
d828bfb086
HHH-14641 replace 'http://' reference with 'https://'
2021-06-04 12:09:45 +02:00
Andrea Boriero
451568f322
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_7
2021-05-31 14:55:18 +02:00
Yoann Rodière
07eca3883d
HHH-14635 Upgrade to log4j 2
2021-05-26 09:05:56 +02:00
Andrea Boriero
ffae5474a6
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge_6
2021-05-24 20:41:03 +02:00
nathan.xu
2e875f9b8a
HHH-14617 remove QueryLiteralRendering and LiteralHandlingMode
2021-05-20 11:26:22 +02:00
Steve Ebersole
c7e37dc1d7
HHH-14513 : Move publishing release and snapshot artifacts to Sonatype OSSRH
2021-05-14 15:06:15 -05:00
Steve Ebersole
c17396521c
mariadb nationalization support
2021-05-13 12:43:59 -05:00
Steve Ebersole
71515af5cc
HHH-14589 - Make sure documentation examples regarding basic-types work and update the section
...
- re-enable the basic-type tests in the `documentation` module
- fix basic-type resolution in various cases from tests in both `hibernate-core` and `documentation`
- updated the basic_types.adoc user-guide section + moved much of the "legacy" discussion to an appendix
- fixed missing impls of the optional contract `org.hibernate.type.AdjustableBasicType`
- improved handling of `NationalizationSupport` offered by a Dialect
NOTE :
- changes to `ColumnTransformerTest` are related to "composite basics" not being supported, not problems with `ColumnTransformer`.
- final failure in `org.hibernate.userguide.mapping.basic` is `SubselectTest#testRefreshLifecycle` which actually fails because refresh is not working properly
2021-05-13 09:58:20 -05:00
Nathan Xu
40851fc50d
HHH-14406 fix Architecture svg image in user guide
2021-05-13 09:32:12 +02:00
Christian Beikov
1a24c93155
Move tests from packages actionqueue, annotations, batch, boot, bytecode, id, resource, schemafilter, schematools, schemaupdate, schemavalidation, serialization, service, tool, unidir, util
2021-05-06 07:29:57 +02:00
Yoann Rodière
7144af5990
HHH-12445 Auto-detect when discriminator columns are nullable
2021-05-04 09:18:55 +02:00
Andrea Boriero
badc99705a
Merge remote-tracking branch 'upstream/main' into wip/6.0_merge
2021-04-16 13:19:16 +02:00
Christian Beikov
df9d285f2c
Implement support for avoiding joins when accessing FK keys
2021-04-16 10:35:05 +02:00
Yoann Rodière
fcc63d9ab0
HHH-14529 Stop using two separate BootstrapServiceRegistries for the same SessionFactory in BaseCoreFunctionalTestCase
2021-04-15 14:01:28 +02:00
Christian Beikov
c4445fbf5c
Work on named-native query support
2021-04-13 10:32:55 +02:00
Andrea Boriero
e8a5506eb5
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-04-06 10:17:37 +02:00
sajad
298b1f87b7
HHH-14545 Fix typo "Generator" -> "GeneratorType"
2021-04-06 10:01:47 +02:00
Steve Ebersole
c9b598389f
HHH-14524 : Rename SqlType(X) as JdbcType(X)
...
fixed some inadvertent doc changes (thanks Christian)
2021-03-29 11:44:49 -05:00
Steve Ebersole
7fcde66d61
HHH-14524 : Rename SqlType(X) as JdbcType(X)
2021-03-29 11:33:56 -05:00
Gavin King
d193a9409a
simply remove @Tuplizer completely
2021-03-25 18:54:41 +01:00
Gavin King
bbf4619fcd
remove deprecated Sort annotation
2021-03-25 18:54:41 +01:00
Gavin King
3b3487a74e
remove deprecated @Entity annotation
2021-03-25 18:54:41 +01:00
Gavin King
c89319f3e9
remove AccessType annotation
2021-03-25 18:54:41 +01:00
gavin
af84daa416
remove some deprecated code
...
- OptimisticLockException
- MappingNotFoundException
- BasicQueryContract
these types were already deprecated in 5.
2021-03-25 17:30:24 +01:00
Mark Rotteveel
e76da92b04
HHH-14484 Improve support for Firebird 4
...
Also includes:
- Some general Firebird improvements
- Tweak tests to run (or be skipped) against Firebird
- Fix to BooleanDecoder
- Add statistical/linear regression function definitions in CommonFunctionFactory
- Added the relevant functions to other dialects where I could verify they apply
- Fix for unions with parenthesized selects
- Add casts for parameters in functions
2021-03-22 19:08:05 +01:00
Andrea Boriero
c3df793dbe
HHH-14509 : Git master -> main branch renaming
2021-03-22 12:38:00 +01:00
Andrea Boriero
96d103215c
Merge remote-tracking branch 'upstream/main' into wip/6.0
2021-03-22 12:26:31 +01:00
Karel Maesen
aba49ced1f
HHH-14454 Add SpatialDialect for CockroachDB
2021-03-16 23:25:22 +01:00
Andrea Boriero
6250942e7f
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-03-05 11:18:14 +01:00
Gavin King
b3aa7d0794
remove Serializable id from the Tuplizer stuff
2021-03-04 15:24:02 +01:00
Sanne Grinovero
f7c85fad4a
HHH-14477 Log warnings about the use of Javassist as BytecodeProvider being deprecated
2021-03-03 10:57:35 +00:00
Christian Beikov
6643e9f4bc
Use java.lang.reflect.Type instead of java.lang.Class for JavaTypeDescriptor#getJavaType to support parameterized types
2021-02-23 12:22:54 +01:00
Christian Beikov
de1524df68
Merge remote-tracking branch 'upstream/master' into wip/6.0
2021-02-10 11:28:58 +01:00
Christian Beikov
9135f69c91
HHH-14433 Add possibility to drop local temporary tables to enable connection pooling in tests
2021-02-03 17:03:47 +01:00
Christian Beikov
d767d46d05
Fix most tests to work on all DBs and fix a bunch of connection leaks
2021-02-03 17:03:47 +01:00
Christian Beikov
cb7c65e49d
Use new parent PostgreSQLDialect for @RequiresDialect rather than subclass
2020-12-17 17:44:25 +01:00
Christian Beikov
a57f93b14a
Use processing stack during parsing to access query spec, fix lots of db2 issues
2020-12-08 11:27:27 +01:00
Andrea Boriero
e3947b3b1c
Re-enabled additional tests and fix issues with IdClass
2020-11-25 15:15:34 +01:00
Andrea Boriero
dc5894db42
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-11-17 18:25:33 +01:00
Andrea Boriero
1927d1aa33
Merge branch 'master' into wip/6.0
2020-11-17 12:40:43 +01:00
Christian Beikov
ed3feeacad
HHH-14310 Document hibernate.query.in_clause_parameter_padding and some other missing config properties
2020-11-16 10:29:04 +00:00
Yoann Rodière
85b84ef6bd
HHH-14315 Force JVM options when using toolchains
...
Apparently Gradle won't just use the same options as in its own JVM.
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Yoann Rodière
9616e24c80
HHH-14315 Add optional support for toolchains to the Gradle build
...
Signed-off-by: Yoann Rodière <yoann@hibernate.org>
2020-11-10 11:02:08 +00:00
Steve Ebersole
29848c49db
ORM + Gradle
...
HHH-14285 - project template
HHH-14286 - Gradle plugin
2020-10-28 16:09:42 -05:00
Andrea Boriero
9cf4edfbee
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-26 08:14:01 +00:00
tscz
761a55b31d
HHH-14260: Fix dead and obsolete links in user guide
2020-10-23 11:20:34 +01:00
Andrea Boriero
4e22c5cabc
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-23 10:31:29 +01:00
Jan Schatteman
c81401cd67
HHH-14275 Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2020-10-22 16:06:04 +01:00
Andrea Boriero
731cbbc739
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-19 15:06:49 +01:00
Yanming Zhou
88acc9511b
HHH-14253 support ConstraintMode.PROVIDER_DEFAULT
...
Provide an option to skip foreign key creation for ConstraintMode.PROVIDER_DEFAULT
2020-10-14 09:20:17 +02:00
Andrea Boriero
0bd2c32f76
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-10-02 12:39:41 +01:00
Gavin King
cf995a1571
HHH-14217 Add syntax highlighting to the logged SQL
...
Using ANSI escape codes
Must be explicitly enabled using hibernate.highlight_sql
2020-09-30 16:39:12 +01:00
Andrea Boriero
140fbb45d6
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-09-22 11:43:55 +01:00
Nathan Xu
97ea1d853d
HHH-14208 simplify example naming strategy code in user guide
2020-09-09 07:58:18 +02:00
Andrea Boriero
062a462b0c
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_51
2020-08-25 08:38:06 +01:00
Vishavjeet Thakur
f9abbaf29d
Update basic-enums-Enumerated-ordinal-persistence-example.sql
...
as stated in https://docs.jboss.org/hibernate/orm/5.2/userguide/html_single/Hibernate_User_Guide.html
after example 18 that
0
For the LAND_LINE enum
1
For the MOBILE enum
hence it should be 1
2020-08-21 15:48:49 +02:00
Nathan Xu
4e868f0372
HHH-14159 update 'hibernate.cache.query_cache_factory' config
2020-08-20 15:47:09 +02:00
Andrea Boriero
de3359537f
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_49
2020-08-12 09:42:28 +01:00
Andrea Boriero
509db7cc79
HHH-14126 Add CockroachDB to DefaultDialectSelector and update documentation to mention the new dialect
2020-08-10 15:20:53 +02:00
Nathan Xu
84b3167f26
HHH-14133 fix obvious example code error for 'second level cache' in user guide
2020-08-10 11:10:53 +01:00
Andrea Boriero
283c3fefb5
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-08-07 11:23:44 +01:00
Rafi Shamim
4655bdbe12
HHH-13724 Add CockroachDB dialects and configs for testing
2020-07-27 12:49:40 +01:00
Andrea Boriero
4550c70d15
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_47
2020-07-20 10:50:17 +01:00
Nathan Xu
3d4cd3f7b3
port entity graph legacy testing cases
2020-07-20 09:37:15 +01:00
Nathan Xu
5952c0abc3
HHH-14097 fix bug that redundant SQLs might be issued for 'FETCH' entity graph
2020-07-09 14:08:30 +01:00
Andrea Boriero
9ba18b8c5d
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_46
2020-07-07 15:43:17 +01:00
Emmanuel Duchastenier
d17f19d364
HHH-14098 Query plan cache query-level statistics Documentation, used getQueryPlanCacheMissCount instead of getPlanCompilationTotalMicroseconds
2020-07-06 12:19:25 +01:00
Nathan Xu
233b8daffb
import entity graph parsing test cases
2020-06-23 10:11:16 -05:00
Andrea Boriero
cfc1de9de6
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_44
2020-06-16 08:23:55 +01:00
Martin Vietz
180656e9f3
HHH-14064 - Fix documentation for schema-generation
2020-06-09 14:38:55 +01:00
Andrea Boriero
257e479e92
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_39
2020-05-14 10:00:59 +01:00
Jonathan Bregler
fa4ead1baa
HHH-13996: Update documentation for HANA Cloud
2020-05-11 22:39:04 +01:00
Sanne Grinovero
6dd7d09ba0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-05-11 18:00:07 +01:00
Andrea Boriero
3bc33221f0
Revert "HHH-13950 Apply the mass replace script to switch to Jakarta Validation API"
...
This reverts commit 60abc8aa76
.
2020-04-24 13:26:37 +01:00
Nathan Xu
686a519680
implement @Filter for HQL/Criteria
2020-04-21 17:08:19 -05:00
Steve Ebersole
ced4f5e602
Various changes around how basic values are handled in terms of mapping consumption for annotations and how value conversions happen
...
* Split BasicType "resolution" into 2 - one used for reading (mapping model) versus one used from writing (legacy persister model)
* @SqlTypeCode, @SqlType, @SqlTypeRegistration
* @JavaType, @JavaTypeRegistration
* @Mutability
* jdbc_mappings.adoc section for DomainModel chapter
[*] At the moment, neither @SqlTypeRegistration nor @JavaTypeRegistration support has been implemented
[*] Still need to make sure @Mutability is propogated properly in all the cases
[*] jdbc_mappings.adoc still needs a lot of attention
2020-04-21 16:09:46 -05:00
Andrea Boriero
88d65adafb
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_35
2020-04-20 13:44:39 +01:00
Andrea Boriero
a0b4566264
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_34
2020-04-20 12:17:22 +01:00
Sanne Grinovero
60abc8aa76
HHH-13950 Apply the mass replace script to switch to Jakarta Validation API
...
For reference, this is the script being applied:
find . -type f -name '*\..java' -o -name '*.\.adoc' -o -name '*.\.gradle' | xargs sed -i 's/javax\.validation/jakarta\.validation/g'
2020-04-20 12:16:36 +01:00
Andrea Boriero
7ced01d303
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_32
2020-04-17 14:39:36 +01:00
Sanne Grinovero
c1423c9cb1
HHH-13952 Amend the WildFly integration documentation to warn the feature is gone
2020-04-17 14:27:19 +01:00
Sanne Grinovero
2b279c6a83
HHH-13952 Remove our ability to build the Wildfly feature pack and run integration tests on WildFly
2020-04-17 14:27:19 +01:00
Jonathan Bregler
95c9526dda
HHH-13917: Add support for HANA Cloud
2020-04-17 13:30:38 +01:00
Andrea Boriero
2ccf7fab9e
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_30
2020-04-16 11:03:49 +01:00
Sanne Grinovero
0b4bcce3fa
HHH-13947 Switch the JPA Javadoc prefix URL to a build parameter
...
Applying the following script, and setting the current value as a
documentation parameter:
find . -type f -name '*.java' -o -name '*.adoc' -o -name '.xml' | xargs sed -i 's/https:\/\/javaee\.github\.io\/javaee-spec\/javadocs\/javax\/persistence\//\{jpaJavadocUrlPrefix\}/g'
Having the script might help re-migrating existing documentation patches,
or forward porting subsequent improvements from previous branches.
The javadocs for JPA 3.0 have not been published yet at this point;
having a parameter will make it easier to leave this single task for
a later point in time.
2020-04-14 23:41:07 +01:00
Yoann Rodière
c906989989
HHH-13682 Remove unnecessary checks around Java 8 compatibility
...
The build requires JDK8+, so we're alwways Java 8 compatible.
2020-04-14 13:36:43 +01:00
Nathan Xu
c23ded50ba
update user guide regarding the new feature of `@SortNatural` by default
2020-04-14 10:48:32 +01:00
Nathan Xu
11c5a1019f
renaming and some legacy code fixing
2020-04-14 10:22:55 +01:00
Andrea Boriero
abe1e656f7
Merge remote-tracking branch 'upstream/master' into wip/6.0
2020-03-03 16:59:30 +00:00
Vlad Mihalcea
d9a335c429
HHH-13872 - Make the Java Stream close the underlying ScrollableResultsIterator upon calling a terminal operation
2020-02-21 06:03:42 -06:00
Arend v. Reinersdorff
3c67d521e1
Fix typo "fare more" -> "far more"
2020-02-20 16:03:52 +00:00
Andrea Boriero
f77fb75639
Merge remote-tracking branch 'upstream/master' into wip/6.0_merge_23
2020-02-05 11:37:36 +00:00
Sanne Grinovero
eb524aa3a4
HHH-13809 On more fix in basic_types.adoc
2020-01-31 10:00:43 +00:00
Nathan Xu
19e35b86cc
HHH-13809 Various improvements in the user guidesw
2020-01-31 09:30:28 +00:00
gavinking
95930820af
Support for timezones
...
- add TimestampWithTimeZoneDescriptor and use it in OffsetDateTimeJD
and ZonedDateTimeJD
- add ZoneOffsetJavaDescriptor for ZoneOffset attributes
- clean up string rendering for temporal types using ISO formats;
note that they do not need to implement objectToSQLString()
since they cannot be discriminators
Note that at this time very few databases have meaningful support
for the ANSI-standard TIMESTAMP WITH TIME ZONE type. This limits
the usefulness of TimestampWithTimeZoneDescriptor for now.
Also add in some missing but needed type mappings for temporal types
2020-01-30 14:01:34 -06:00
gavinking
9565d499af
Big merge of my branch with new Hibernate 6 codebase
...
Lots of new functionality here related to HQL functions, SQL
dialects, and date/time handling.
2020-01-30 14:01:33 -06:00
Nathan Xu
f3cfff5cee
HHH-8776 fix 'fetch graph' semantic
2020-01-29 20:52:33 +01:00
Chris Cranford
ea170f4dca
HHH-6615 Document throwing AuditException when revision number overflows
2020-01-27 12:53:27 +00:00
Pierrick Rouxel
622978b725
HHH-12856 Fix DB2400V7R3 dialect in documentation
2020-01-24 11:29:01 +00:00
Pierrick Rouxel
1c3b8a1c28
HHH-12856 Support of sequences on DB2400
2020-01-24 11:29:01 +00:00
Steve Ebersole
ba5b4e7c02
HHH-13785 : HQL/Criteria function support
...
- tests
- Dialect changes
2019-12-21 21:52:04 -06:00
Steve Ebersole
a39fa09650
HHH-13785 : HQL/Criteria function support
...
- tests
- Dialect changes
2019-12-21 19:38:22 -06:00
Andrea Boriero
79c83cf8ba
Merge remote-tracking branch 'upstream/master' into wip/6.0
2019-12-09 12:07:23 +00:00
Davide D'Alto
ca782f64b2
HHH-13755 Update Hibernate Gradle plugin in the documentation
2019-12-04 19:48:41 +00:00
Steve Ebersole
0a41ac8466
HHH-13763 : Update all load-by-key handling to use SQL AST
...
* dropped `org.hibernate.loader.plan`
* dropped `org.hibernate.loader.custom` (*)
* dropped `org.hibernate.loader.collection`
* dropped `org.hibernate.loader.entity`
* dropped `org.hibernate.loader.hql`
* cleaned-up `org.hibernate.loader`
2019-12-03 11:31:45 -06:00
Andrea Boriero
4b0da2444b
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_11
2019-11-08 14:24:48 +00:00
Steve Ebersole
92391ec3e6
change expected type of entity identifier values from Serializable to Object - fixed all related compile problems in all modules
2019-11-07 13:42:57 -06:00
Marco Behler
6dc5f37827
Link to Marco Behler's guide to "data access in Java" from the Getting Started Guide preface
2019-11-05 14:21:32 -06:00
Andrea Boriero
4b6777cde2
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4
2019-10-02 10:24:59 +01:00
Chris Cranford
3ecdd860a3
HHH-10398 Allow MOD column naming to be driven by a strategy
...
In the past the MOD columns were constructed based on the property name,
therefore if users specified a @Column/@JoinColumn like annotation and
changed the underlying schema column, the MOD column would continue to
be derived based on the property name.
This enhancement introduces a new ModifiedColumnNamingStrategy SPI that
comes with two implementations, a default/legacy mode that maintains
the prior naming model and an improved mode that will derive the MOD
name based on the naming strategy ORM used to derive the column name.
2019-10-01 10:38:57 -04:00
Andrea Boriero
726dbeef34
Merge remote-tracking branch 'upstream5/master' into wip/6.0_merged_4
2019-09-30 16:45:27 +01:00
Mahmoud Anouti
a3cccca66d
Fix typo in user guide explicit polymorphism section
2019-09-24 11:02:09 +01:00
Andrea Boriero
18c8495bab
Merge branch 'master' into wip/6.0_merged2
2019-09-20 08:09:34 +01:00
Steve Ebersole
5c9cf4d0d8
HHH-13130 - Provide Gradle-based bytecode enhancement as a task separate from the compileJava task
2019-09-18 12:05:39 -05:00
Steve Ebersole
0acd11fae3
6 - SQM based on JPA type system
...
Completed rebase on master (from the point just after HHH-11147 work) - fixed compilation failures
2019-09-12 10:42:33 +01:00
Andrea Boriero
c45108a2b6
6 - SQM based on JPA type system
2019-09-12 10:42:32 +01:00
Steve Ebersole
b39d9d22bd
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
c6a11d99fd
6 - SQM based on JPA type system
...
- focus on reducing compilation errors
2019-09-12 10:42:29 +01:00
Steve Ebersole
f8a75994e1
6 - SQM based on JPA type system
...
- work on `org.hibernate.query` (especially `NamedQueryRepository` and friends)
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work on `org.hibernate.sql.exec`
- work on `org.hibernate.sql.results`
- work related to `org.hibernate.metamodel.model.mapping.spi.ValueMapping` - including "sketching in" the hooks with `org.hibernate.persister.walking`
2019-09-12 10:42:29 +01:00
Elena Felder
952bf6f9c0
HHH-13412 Added link for predefined properties, warning that not all settings apply to all situations
2019-08-23 12:59:58 +01:00
Elena Felder
ba1f15553c
HHH-13412 Remove stray newlines
2019-08-23 12:59:52 +01:00
Elena Felder
13afce9afb
HHH-13412 Move custom driver properties into their own section
2019-08-23 12:59:46 +01:00
Esteban Gehring
be0ef0291c
Update identifiers.adoc
2019-07-23 12:16:29 -05:00
Chris Cranford
14f7b49b79
HHH-13500 Fix audit strategy sub-query return incorrect results
...
In order to maintain backward compatibility with long-standing behavior,
this introduces a new configuration option which can be toggled to have
AuditReader#find implementations adhere to returning an exact match on
revision-number rather than one which is less-than or equal-to the
provided argument.
So a new configuration option org.hibernate.envers.find_by_revision_exact_match
provides users with the ability to be able to force this new behavior
while allowing legacy behavior to remain the default.
2019-07-22 16:34:19 -04:00
asutosh936
74b4c97552
HHH-13226 : Corrected Typo
2019-07-12 10:33:47 +01:00
Yoann Rodière
d6cb72ee0d
HHH-13409 Add integration tests for running Hibernate ORM in the module path in Java 11+
2019-06-20 21:07:03 +01:00
Sanne Grinovero
182e5dd56f
HHH-13428 Use https in documentation too
2019-06-07 20:19:17 +01:00
Yoann Rodière
00c697780e
HHH-13415 Clean up the places where we fix fix javadoc generation for JDK11
2019-05-31 14:11:47 +02:00
Guillaume Smet
e376fe0aef
HHH-13419 Support building javadoc with JDK 11.0.3+
2019-05-29 22:57:52 +02:00
wonwoo
69af6caa95
HHH-13265 - Remove double semicolon
2019-02-14 09:00:08 +02:00
Vlad Mihalcea
180df5199e
HHH-6190 - Leverage JmxService to expose management and monitoring capabilities.
2019-02-05 15:37:22 +02:00
John Lin
103629ee87
HHH-13219 - The sentence "The chapter 6 (e.g. Criteria API)" should be "The chapter 6 (i.e., Criteria API)"
2019-01-22 15:39:04 +02:00
Vlad Mihalcea
070c14e149
HHH-13165 - Don't use confusing "this" in the User Guide admonition blocks
2019-01-15 16:15:05 +02:00
Vlad Mihalcea
7358893eac
HHH-13160 - Polymorphic query for InheritanceType.TABLE_PER_CLASS is not using UNION ALL
2018-12-18 12:09:26 +02:00
Vlad Mihalcea
55f5c9c5bd
HHH-13153 - No content in 15.1. Query API of User Guide
2018-12-18 12:03:24 +02:00
John Lin
0d2fa6e94b
HHH-13156 - Enhance the @AnyMetaDef annotation section with more details about the optimal placement
2018-12-12 14:03:32 +02:00
Vlad Mihalcea
dc89e7199d
HHH-13095 - Document how to use arithmetic expressions in CASE statements
...
Fix tests failing on MariaDB and MySQL
2018-12-06 15:54:22 +02:00
Vlad Mihalcea
1a5cee7c0c
HHH-13095 - Document how to use arithmetic expressions in CASE statements
2018-12-06 10:08:30 +02:00
Vlad Mihalcea
f4e36a1bea
HHH-13096 - Document that composite identifier cannot use auto-generated properties
2018-12-06 09:46:58 +02:00
Guillaume Smet
21fa1ab54b
HHH-13127 Update a few things in the metamodel generator documentation
2018-11-29 17:04:47 +01:00
Guillaume Smet
e528eb7ee9
HHH-13127 Document that JAXB jars are needed if using JDK 11
2018-11-29 17:04:47 +01:00
Vlad Mihalcea
d48307d5fa
HHH-13125 - Remove the Javadoc links in the User Guide pointing internal classes
2018-11-29 11:10:10 +01:00
Vlad Mihalcea
1b53969359
HHH-13102 - Document how catalog and schema attributes need to be applied based on the underlying DB capabilities
2018-11-29 11:06:25 +01:00
Vlad Mihalcea
c9356ce9b4
HHH-13115 - Document how to define timezone per tenant when using Multitenant Database
2018-11-29 10:51:11 +01:00
Vlad Mihalcea
39d9f84920
HHH-13124 - The CachingRegionFactory resolution algorithm has changed
2018-11-27 18:17:45 +01:00
Chris Cranford
805aec32b3
HHH-13101 - Document `hibernate.id.disable_delayed_identity_inserts` config setting.
2018-11-14 11:38:12 -05:00
Guillaume Smet
e67f3dfa82
HHH-13069 Go back to non-SSL links for our JBoss Nexus repositories
...
Using SSL repositories with JDK 11 ends up with the error below:
javax.net.ssl.SSLHandshakeException: extension (10) should not be presented in server_hello
This is a bug in JDK 11 that will apparently be fixed in the next update
(planned for January 2019).
Until then, we need to use non-SSL links.
For more information:
https://stackoverflow.com/questions/52016415/jdk-11-ssl-error-on-valid-certificate-working-in-previous-versions
https://bugs.openjdk.java.net/browse/JDK-8209965 - JDK 12 issue
https://bugs.openjdk.java.net/browse/JDK-8210005 - JDK 11 issue
2018-11-05 11:38:30 +01:00
Sanne Grinovero
d16e7211e0
HHH-13069 Update the links to JBoss Nexus to use the direct repository over https
2018-11-02 17:53:45 +01:00
Barnaby Court
512dfa574d
HHH-12944 - MultiIdentifierLoadAccess ignores the 2nd level cache
2018-10-31 19:43:24 +02:00
Vlad Mihalcea
3bf530d5e8
HHH-13062 - Migrate User Guide links from Java EE 7 to 8
2018-10-26 09:22:35 +03:00
Guillaume Smet
2517fbfe6f
HHH-13064 Fix Lock and LockModeType table
2018-10-25 19:10:41 +02:00
Vlad Mihalcea
817e463764
HHH-13060 - Throw an exception when two entities are declared with the same name
2018-10-25 17:34:36 +03:00
John Lin
fecb12cff7
HHH-13041 - Move @Any and other association mappings to the association chapter
2018-10-25 08:43:03 +03:00
John Lin
fb2fd3ed4b
HHH-13056 Fix typo in documentation: "listner" should be "listener"
2018-10-22 16:05:54 +08:00
Steve Ebersole
c49ebe888a
HHH-12713 - Make EntityGraph creation more convenient
...
- documentation tests only run on H2Dialect
2018-10-21 16:15:37 -05:00
Steve Ebersole
5e8781f8fa
HHH-12713 - Make EntityGraph creation more convenient
2018-10-19 12:10:15 -05:00
Aleks
526ebb4e0b
HHH-12713 - Make EntityGraph creation more convenient
2018-10-19 12:02:15 -05:00
Vlad Mihalcea
b46a277619
HHH-13012 - JDBC default connection release mode does not match documentation
2018-10-17 12:30:54 +02:00
Gail Badner
aa586c117f
HHH-13011 : Document hibernate.use_entity_where_clause_for_collections in the user guide
2018-10-16 15:12:06 +02:00
Vlad Mihalcea
656b2737f9
HHH-13009 - No documentation for "hibernate.javax.cache.cache_manager"
2018-10-12 07:59:30 +03:00
Sanne Grinovero
ddac470a2c
HHH-13026 Documentation: fixing link to Infinispan documentation section regarding Hibernate 2LC
2018-10-11 17:41:38 +01:00
Vlad Mihalcea
ceb83264fc
HHH-12934 - Exception handling documentation does not apply only to "Session-per-application anti-pattern"
...
Fix section placement
2018-10-10 17:45:34 +03:00
Vlad Mihalcea
b1b6e52441
HHH-12934 - Correct documention about hibernate.native_exception_handling_51_compliance
2018-10-01 08:25:34 +03:00
Guillaume Smet
362630624f
HHH-12962 Fix a typo in the documentation
2018-09-24 18:28:24 +02:00
Guillaume Smet
912225a766
HHH-12974 Fix a typo in the documentation
2018-09-24 18:25:53 +02:00
Vlad Mihalcea
519905b99b
HHH-12962 - Document how to tune the query plan cache size
2018-09-20 11:54:27 +03:00
Vlad Mihalcea
48909896b6
HHH-12974 - Document @OnDelete behavior in regards to disabling the Persistence Context entity removal cascading event
2018-09-20 11:33:26 +03:00
Karel Maesen
b3e56a5db7
HHH-12144 - Upgrade JTS spatial library to 1.16
2018-09-19 20:09:44 +02:00
Vlad Mihalcea
4bafeeecae
HHH-12957 - Calling custom functions in JPQL with the function() is missing in the documentation
2018-09-10 13:56:24 +03:00
Vlad Mihalcea
83191633ec
HHH-12855 - Add query plan compilation statistics
2018-09-07 11:17:48 +03:00
Vlad Mihalcea
eab5fb2868
HHH-12952 - Document the hibernate.statistics.query_max_size behavior and explain its implications
2018-09-06 14:36:42 +03:00
Sanne Grinovero
4eb726ef4c
HHH-12950 Use the Annotation Processor specific scopes of Gradle
2018-09-04 23:02:26 +01:00
Vlad Mihalcea
440a2ef490
HHH-12929 - Add AtomikosJtaPlatform implementation
2018-09-03 17:17:09 +03:00
Vlad Mihalcea
35b4d81cf4
HHH-12892 - Fix spelling issues in the User Guide
2018-08-13 17:42:44 +02:00
Fernando Guardiola
0ab6c1178b
HHH-12770 - Document @NotFound(action = NotFoundAction.IGNORE) and FetchType.LAZY behavior
2018-08-13 08:36:51 +03:00
Vlad Mihalcea
6c5e172609
HHH-12892 - Fix spelling issues in the User Guide
2018-08-13 06:49:11 +03:00
Vlad Mihalcea
870a033a52
HHH-12361 - In the User Guide, omit constructors and equals/hashCode for brevity
2018-08-08 10:20:07 +03:00
Emmanuel Bernard
d26eeabbea
HHH-12890 Fix link to JPA metamodel generator documentation
2018-08-07 16:25:57 +02:00
Gail Badner
a790096965
HHH-12666 : Add documentation
2018-07-20 10:08:34 +02:00
Guillaume Smet
f8964847dd
HHH-12829 Update the Ehcache documentation to use the new short names
2018-07-19 10:23:07 +02:00
Guillaume Smet
2b564d4046
HHH-12809 Use an HTTP link for the Javadoc link to our Bean Validation documentation
2018-07-14 19:36:38 +02:00
Vlad Mihalcea
5b4f18390e
HHH-12349 - User Guide documentation for @Filter is too verbose
2018-07-12 14:35:28 +03:00
Diego Lovison
535a33ea5d
HHH-12797 Fix cache modes relationships table layout
2018-07-12 10:45:40 +02:00
Vlad Mihalcea
f708a75c4f
HHH-12200 - Docs mention outdated APIs
2018-07-09 14:13:01 +03:00
Vlad Mihalcea
aeb2f9e0b0
HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries
...
Fix typo
2018-07-05 12:19:03 +03:00
Yoann Rodière
3883abf087
HHH-12649 Use the 'create-warn' missing cache strategy by default in hibernate-jcache
...
In order to be consistent with hibernate-ehcache.
2018-07-04 12:12:00 +02:00
Yoann Rodière
63cc63b386
HHH-12531 Use short, simple names for the query result and update timestamps caching regions
2018-07-04 10:03:23 +02:00
Yoann Rodière
033203abc7
HHH-12649 Document the behavior on missing caches
2018-07-04 09:44:50 +02:00
Vlad Mihalcea
58613cba73
HHH-12350 - User Guide documentation for @Any is too verbose
2018-07-03 15:49:38 +03:00
Vlad Mihalcea
5b40dfca26
HHH-12716 - Sample code is required for documentation of disabling polymorphism in queries
2018-07-03 14:50:01 +03:00
Vlad Mihalcea
6c49f8ef5c
HHH-12351 - User Guide: document why Subselect always requires Synchronize
2018-07-03 14:27:17 +03:00
Vlad Mihalcea
5716cecb55
HHH-12353 - Document that Session.getReference not always returns a T
...
Change to lowercase noun
2018-07-02 17:42:42 +03:00
Vlad Mihalcea
75d65542a1
HHH-12353 - Document that Session.getReference not always returns a T
2018-07-02 17:17:22 +03:00
Vlad Mihalcea
c69038d476
HHH-12341 - Documentation refers to nonexistent "image clob"
2018-06-29 10:48:47 +03:00
Vlad Mihalcea
723e0289e9
HHH-12660 - Missing verb in reference documentation
...
HHH-12715 - Error in documentation sample code about JPQL and HQL
HHH-12691 - Code block is broken in documentation about AUTO flushing
2018-06-28 18:17:47 +03:00
Vlad Mihalcea
4539be09c2
HHH-12697 - Headings problem in Hibernate Documentation 5.3.1 - Proxool configuration
...
HHH-12698 - Headings problem in Hibernate Documentation 5.3.1 - Transation Patterns
2018-06-28 14:47:51 +03:00
Guillaume Smet
7ead344f0b
HHH-12732 Remove an out of date task
...
The mapping guide has been injected into the user guide.
2018-06-26 12:01:06 +02:00
Guillaume Smet
b45e921b5c
HHH-12732 Only generate the main document for each guide
2018-06-26 12:01:06 +02:00
Guillaume Smet
bee6ed5c37
HHH-12731 Do not hide the TOC when not using jstree
2018-06-26 12:01:06 +02:00
Guillaume Smet
8ee24ee8d5
HHH-12725 Upgrade the Asciidoctor plugin to 1.5.7 for JDK 9 compatibility
2018-06-26 12:01:06 +02:00
Chris Cranford
39cd150ae5
HHH-12683 - Add note about CriteriaUpdate/CriteriaDelete not captured by Envers.
2018-06-18 13:04:54 -04:00
Vlad Mihalcea
d4861fed9f
HHH-12700 - Missing property in sample code in documentation of bulk-id strategies
2018-06-18 16:55:36 +03:00
Sanne Grinovero
dab7616db2
HHH-12677 One more javadoc link still pointing to Java SE 7 javadocs
2018-06-18 12:03:18 +01:00
Vlad Mihalcea
30fec4be79
HHH-12662 - JPQL queries fail when using the Java attribute type which has an associated AttributeConverter (only the DB column type works)
2018-06-14 09:29:18 +03:00
Sanne Grinovero
7f983adb50
HHH-12677 Update javadoc API links from EE7 to EE8 - more links
2018-06-13 19:40:52 +01:00
Sanne Grinovero
fe38c5aaee
HHH-12677 Update javadoc API links from EE7 to EE8
2018-06-11 12:00:03 +01:00
Vlad Mihalcea
0ed516e113
HHH-12348 - Hibernate ORM Document user guide, architecture of Hibernate class is out of date
2018-06-07 15:14:47 +03:00
Andrea Boriero
80bf92e32a
HHH-12620 fix test dependencies
2018-05-25 11:56:00 -04:00
Vlad Mihalcea
1a91a38cbd
HHH-12602 - Bytecode Enhancement documentation refers to removed property hibernate.ejb.use_class_enhancer
2018-05-22 17:56:10 +03:00
Vlad Mihalcea
4a8951a6b4
HHH-12589 - Add support for registering custom SQL functions when bootstrapping via JPA
2018-05-21 17:49:56 +03:00
Sanne Grinovero
d5d68dcec5
HHH-12316 Document usage of the new Feature Packs
2018-05-14 21:44:39 +01:00
Steve Ebersole
82f2aa0d5d
HHH-12474 - Make sure the JPA version is defined by a single property across build files
...
added HibernateVersion following pattern of JpaVersion
2018-04-30 10:38:34 -05:00
Sanne Grinovero
432d3a29fa
HHH-12384 Introduce new hibernate.bytecode.enforce_legacy_proxy_classnames configuration property
2018-04-18 13:05:34 +01:00
Rodrigo Turini
6d853b582e
HHH-12451 - Fixing JDBC and Java Type order for CurrencyType
2018-04-17 12:47:48 +03:00
Rodrigo Turini
84614aa405
HHH-12365 - User Guide: call_key should change to call_timestamp_epoch
2018-04-17 12:06:14 +03:00
Anthony Richir
2bb1c8419c
HHH-12491 - Document the usage of the maven-compiler-plugin for hibernate-jpamodelgen
2018-04-17 11:35:54 +03:00
Andrea Boriero
6cefa865b0
HHH-12454 - Offer flag to consider id generator with local scope (legacy non JPA behavior)
2018-04-16 09:47:09 -05:00
Vlad Mihalcea
e11d09d1dd
HHH-12479 - Document the converted:: prefix for HBM type mappings
2018-04-12 16:37:43 +03:00
Jonathan Bregler
69000ddc16
HHH-12462 - Use SAP HANA JDBC driver from Maven Central
2018-04-05 15:02:17 +03:00
Steve Ebersole
dae31640a8
HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
...
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
HHH-12416 - set up relocation for hibernate-ehcache
2018-03-22 13:25:12 -05:00
Steve Ebersole
638ebf01df
HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
...
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
- initial work on migrating hibernate-jcache to new SPIs including a more template-style approach to writing a RegionFactory (o.h.cache.spi.support)
2018-03-22 13:25:12 -05:00
Steve Ebersole
f432ecea68
HHH-11356 - Adjust the 2nd-Cache SPIs to better reflect supported uses
...
HHH-12323 - Update Statistics API and SPI based on changes to 2nd level caching changes
2018-03-22 13:25:12 -05:00
Vlad Mihalcea
c22540ab65
HHH-12419 - Incorrect batch inserts example
2018-03-22 14:22:51 +02:00
asutosh936
6e912cec0f
HHH-12364 : Removed @MapKeyJoinColumn with name phone_id as its not needed
2018-03-20 01:08:52 -05:00
Roland Illig
08fa07442b
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix adoc typo in "Using table identifier generator" User Guide section.
2018-03-14 17:28:40 +02:00
Roland Illig
a17a8df9e3
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix SQL for bidirectional OneToMany The documented SQL didn't match what the test actually produces.
2018-03-14 17:25:27 +02:00
Vlad Mihalcea
069222cf58
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix inconsistency between User Guide content and the associatted test case
2018-03-14 14:22:57 +02:00
Roland Illig
8b11d5ecf9
HHH-12388 - User Guide and Javadoc typo fixes
...
Fix a/an grammar in code and documentation, and other typos
2018-03-14 14:17:55 +02:00
Kirill Marchuk
8b601072f3
HHH-12388 - User Guide typo fixes
...
Getting Started guide seems to be consistently using the term "Developer Guide", which is nowhere to be found in the "current" documentation, thus I propose this change.
2018-03-14 13:24:53 +02:00
Chris Cranford
33159c13a6
HHH-8058 - Document enable querying entity revisions with property change indicators.
2018-03-06 13:09:46 -05:00
Chris Cranford
79354bab9f
HHH-7555 - Update documentation to document the new revision information entity query api.
...
(backport from wip/6.0)
2018-03-06 12:23:16 -05:00
Sanne Grinovero
0f5c3a0abc
HHH-11253 Make Byte Buddy BytecodeProvider impl the default
2018-03-02 12:19:18 +00:00
Sanne Grinovero
4e484af398
HHH-12336 Avoid unnecessary invocations of fillInStackTrace() in the tests
2018-03-01 17:58:30 +00:00
Karel Maesen
2072ac0d0d
HHH-11790 - Documenting DB2 Spatial Extender support
2018-02-21 20:43:20 +01:00
Vlad Mihalcea
993a229586
HHH-12236 - Document 5.3 changes
...
- add missing configuration properties
2018-02-12 11:20:42 +02:00
barreiro
1b2424c211
HHH-12252 - Add Agroal to ConnectionProviderInitiator
2018-01-30 10:19:09 +02:00
Steve Ebersole
9e20eece55
HHH-12190 - General tidying of Gradle scripts
...
- adding `ciBuild` task, standardizing `release` task
2018-01-22 11:44:46 -06:00
Steve Ebersole
e1a970aa11
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
Steve Ebersole
d806eff912
HHH-12190 - General tidying of Gradle scripts
2018-01-16 14:34:43 -06:00
simeonmalchev
0d9b1c54cd
HHH-10541 - Create Vibur DBCP connection pool module
2018-01-15 11:55:01 +02:00
Vlad Mihalcea
510f91ff30
Update documentation link to match new URL structure
2018-01-08 18:47:35 +02:00
Steve Ebersole
a625452fe9
HHH-9641 - Resume uploading Javadoc JARs to Maven
...
HHH-12187 - Drop custom javadoc css
- dropped "package groups"
2018-01-03 11:23:37 -06:00
Steve Ebersole
8c13488c5d
HHH-9641 - Resume uploading Javadoc JARs to Maven
...
HHH-12187 - Drop custom javadoc css
- delay package group calculations until execution (doFirst)
- exclude internal packages from javadoc
2017-12-27 08:41:17 -06:00
Steve Ebersole
6ccbd98bc3
HHH-12187 - Drop custom javadoc css;
...
HHH-9641 - Resume uploading Javadoc JARs to Maven
2017-12-27 08:41:17 -06:00
Chris Cranford
735da4347d
HHH-12169 - Document support for dependency injection for Envers revision listeners.
2017-12-14 13:40:41 -05:00
Vlad Mihalcea
b0c27562f4
Fix User Guide tests failing and triggereing other 2nd-level cache tests to fail as well
2017-12-13 20:39:45 +02:00
Andrea Boriero
84eec71ba6
exclude document userguide/model from checkstyle
2017-12-13 17:38:25 +00:00
Steve Ebersole
d5d3b080f9
HHH-12098 - prep 5.3
2017-12-13 09:15:22 -06:00
Steve Ebersole
447f3d57c7
HHH-12146 - Support enabling caching at any level within a mapped hierarchy
2017-12-13 09:15:12 -06:00
Steve Ebersole
d454ab0edc
HHH-12146 - Support enabling caching at any level within a mapped hierarchy
2017-12-13 07:40:20 -06:00
Vlad Mihalcea
da8e13c453
HHH-12155 - Update documentation regarding limitation of defining caching on just root entity
2017-12-13 06:19:32 -06:00
Andrea Boriero
9af5655100
HHH-12148 - Add setting indicating if the value stored in the table used by the @TableGenerator is the last value used or the next value to be used
2017-12-13 06:19:32 -06:00
Steve Ebersole
5e0274adbb
HHH-12116 - Positional parameters report position as name
...
HHH-12101 - Remove support for legacy HQL-style positional parameters
2017-12-13 06:19:30 -06:00
Vlad Mihalcea
7f70dccc71
HHH-12108 - Fix tests failing on Oracle
2017-11-21 16:47:16 +02:00
Vlad Mihalcea
779dcc4078
Change log file to log.txt because otherwise it's ingored by git
2017-11-20 19:21:09 +02:00
shen dongsheng
0b04430fdd
HHH-12082 - Fix some errors and formatting issues in the User Guide
2017-11-07 13:51:27 +02:00
Vlad Mihalcea
164178330a
HHH-12073 - Change BaseUnitTestCase Logger to protected
2017-11-01 19:04:07 +02:00
Sanne Grinovero
401936f94e
HHH-12055 Revert to using the Javassist version included in WildFly 11
2017-10-24 16:42:49 +01:00
Chris Cranford
4cf7f6e406
HHH-12010 - Improve Envers documentation on computeAggregationInInstanceContext.
2017-10-18 23:35:40 -04:00
marko-bekhta
b51dac6e39
HHH-12026 Setting correct font family for search input in TOC. Fixing a typo
2017-10-16 14:58:29 +03:00
Jonathan Bregler
1fc4ce23ac
HHH-12020 - Add SAP HANA to the list of provided dialects
...
- Update documentation
- Update org.hibernate.boot.registry.selector.internal.StrategySelectorBuilder
2017-10-09 13:30:41 +03:00
Chris Cranford
7b04a0238b
HHH-11999 - Correct Envers documentation problems.
2017-09-29 12:52:31 -04:00
Vlad Mihalcea
5e132a46eb
HHH-12006 - Make User Guide sections bookmark-able
2017-09-26 18:37:39 +03:00
Vlad Mihalcea
f9ec55d56b
HHH-9576 - Use JDBC bind variables for handling JPA Criteria query numeric literals
...
Document the new setting in the Configurations chapter
2017-09-26 12:42:13 +03:00
Jonathan Bregler
3aad752b04
Improved Hibernate support for SAP HANA
...
- Identity column support
- Spatial support
- Various minor improvements in HANA dialects
2017-09-21 12:05:19 -05:00
Vlad Mihalcea
0b046885c5
Fix tests faiiling on Jenkins
2017-09-14 12:39:43 +03:00
Vlad Mihalcea
bd4908449f
HHH-11984 - Add support for navigating between different doc versions
2017-09-14 12:01:37 +03:00
Vlad Mihalcea
0148ede638
HHH-11411 - Two column navigation and search box for documentation
2017-09-13 15:55:36 +03:00
Vlad Mihalcea
c7e5174786
HHH-11884 - wrong class in returnedClass() in UserType example
2017-09-12 14:22:36 +03:00
Vlad Mihalcea
6ba7420740
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Fix typos. Move schema to external extras files.
2017-09-07 17:14:21 +03:00
Vlad Mihalcea
ab98bcbe9b
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Migrate code snippets to test cases for Join relations queries with multiple predicates
2017-09-07 15:47:58 +03:00
Vlad Mihalcea
742d8be69c
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Migarte code snippets to test cases for Join relations queries
2017-09-06 17:30:16 +03:00
Vlad Mihalcea
886e1bcc30
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Migrate getCrossTypeRevisionChangesReader example to Junit tests
2017-09-05 18:22:12 +03:00
Vlad Mihalcea
c25a859ade
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Move code snippets to actual test cases for queries using modified flags
2017-08-31 17:56:12 +03:00
Vlad Mihalcea
e7c239d57f
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Move code snippets to actual test cases for entity revision queries
2017-08-31 15:44:45 +03:00
Sanne Grinovero
67ccdae0f5
HHH-11950 Target WildFly 11 for produced hibernate-orm-modules
2017-08-29 13:44:55 +03:00
Gail Badner
407360d957
HHH-11935 : Log a warning and update documentation that enabling "empty" composites is an experimental feature
2017-08-17 21:44:17 -07:00
Vlad Mihalcea
12616d44e2
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Refactor section about queries
2017-08-17 17:04:52 +03:00
Vlad Mihalcea
742df1f3fa
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Add example for property-based changes
2017-07-31 16:32:48 +03:00
Vlad Mihalcea
28758f7d53
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Extend the Revision log example with actual test cases and SQL statement snippets
2017-07-31 13:30:52 +03:00
Vlad Mihalcea
e56ecc24ff
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Provide two examples for the entity type change revision tracking
2017-07-28 09:43:30 +03:00
Vlad Mihalcea
fa81aafb28
HHH-11891 - Clarify documentation about Hibernate support for basic array types
...
Apply Steve suggestions
2017-07-28 08:22:35 +03:00
Vlad Mihalcea
f0ccd7126a
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Refactor the Revision log example with actual test cases
2017-07-27 16:08:49 +03:00
Vlad Mihalcea
582bd94530
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Add example to demonstrate the audit log query difference for ValidityAuditStrategy
2017-07-27 11:26:57 +03:00
Vlad Mihalcea
871722dc08
HHH-11891 - Clarify documentation about Hibernate support for basic array types
2017-07-27 09:56:40 +03:00
Vlad Mihalcea
a260006d76
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Add example to configure the ValidityAuditStrategy
2017-07-26 17:39:03 +03:00
Vlad Mihalcea
7c5213171b
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
...
Add examples about reading revisions and reconstructing entity state
2017-07-25 16:17:37 +03:00
Vlad Mihalcea
d671fe1391
HHH-11890 - Remove old docbook folder from the documentation module
2017-07-25 11:54:01 +03:00
Vlad Mihalcea
ba2e273e9e
HHH-11886 - Elaborate Envers documentation and switch to actual source code examples
2017-07-24 17:41:45 +03:00
Vlad Mihalcea
1afbdadd67
Minor documentation changes for Envers
2017-07-19 12:58:57 +03:00
Guillaume Husta
60f2ac8534
FIX HHH-11868
2017-07-13 09:21:13 -04:00
Vlad Mihalcea
6ed1303349
HHH-11526 - Documentation for custom collection types
2017-07-05 14:25:13 +03:00
Vlad Mihalcea
c87253575d
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the OSGI chapter
2017-07-05 12:39:03 +03:00
Vlad Mihalcea
ceaeb81e33
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Identifier chapter
2017-07-05 11:56:21 +03:00
Vlad Mihalcea
b9b956cd2c
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Dynamic entity mapping chapter
2017-07-04 15:43:33 +03:00
Vlad Mihalcea
87ce2670e7
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Entity chapter
2017-07-04 14:22:28 +03:00
Vlad Mihalcea
f9cb1d5cb4
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Access chapter
2017-07-04 08:59:16 +03:00
Vlad Mihalcea
c42df6a11b
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Embeddable chapter
2017-06-29 16:56:08 +03:00
Vlad Mihalcea
c39a337418
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Natural Id chapter
2017-06-28 18:22:27 +03:00
Vlad Mihalcea
64b16fdf5e
HHH-11290 - Migrate all documentation snippets that derive the source code from extras instead of actual Unit Tests
...
Fixed in the Locking chapter
2017-06-28 15:28:53 +03:00
Vlad Mihalcea
0a24f4d6bd
HHH-11837 - MapsId and PrimaryKeyJoinColumn examples in the documentation should use OneToOne rather than ManyToOne
...
Replace many-to-one with one-to-one as illustrated by the actual entity maappings
2017-06-27 12:09:41 +03:00
Andrea Boriero
bbcab0f75c
HHH-11808 - Update migration guide and documentation
2017-06-27 09:07:21 +03:00
Vlad Mihalcea
664a9d568a
HHH-11837 - MapsId and PrimaryKeyJoinColumn examples in the documentation should use OneToOne rather than ManyToOne
2017-06-26 14:48:47 +03:00
Vlad Mihalcea
3d2baa8d56
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Persister annotation
2017-06-22 18:00:14 +03:00
Vlad Mihalcea
a53e11822b
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Proxy annotation
2017-06-22 17:33:29 +03:00
Vlad Mihalcea
2353697a03
Add fetch as well for LocalDateTime test
2017-06-22 12:44:38 +03:00
Vlad Mihalcea
385f6d056c
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Tuplizer annotation
2017-06-22 12:20:45 +03:00
Gail Badner
027ca97090
Fix broken test on pgsql Jenkins pipeline
2017-06-22 09:30:05 +03:00
Vlad Mihalcea
b28a38fb41
HHH-11186 - Add examples for all Hibernate annotations
...
Document @SqlFragmentAlias annotation
2017-06-21 18:01:48 +03:00
Vlad Mihalcea
7f010569e5
HHH-11827 - JPA entity native query not eagerly fetching associations as suggested by documentation.
2017-06-21 16:48:48 +03:00
Vlad Mihalcea
7362a49477
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Polymorphism annotation
2017-06-20 17:26:06 +03:00
Vlad Mihalcea
67b01b5004
HHH-11186 - Add examples for all Hibernate annotations
...
Document Hibernate @NativeQuery and @NamedNativeQuery annotation
2017-06-19 17:16:26 +03:00
Vlad Mihalcea
e5044c51c1
HHH-11186 - Add examples for all Hibernate annotations
...
Document @LazyToOne annotation
2017-06-19 15:36:14 +03:00
Vlad Mihalcea
216e61fc9b
HHH-11764 - JTS geometry being bound to byte array instead of PGgeometry
2017-06-14 22:08:12 +02:00
Utku Gultopu
8343a3f647
HHH-11804 - Make embeddable class' name consistent
2017-06-11 12:32:05 -04:00
Vlad Mihalcea
3f35cd18e0
HHH-11186 - Add examples for all Hibernate annotations
...
Document @WhereJoinTable annotation
2017-06-09 14:11:11 +03:00
Vlad Mihalcea
9c53bfdd73
HHH-11186 - Add examples for all Hibernate annotations
...
Document default entity listeners, @ExcludeDefaultListeners, and @ExcludeSuperclassListeners
2017-06-08 17:51:50 +03:00
Vlad Mihalcea
43f74be58e
HHH-11186 - Add examples for all Hibernate annotations
...
Document @AssociationOverride and @AttributeOverride
2017-06-08 11:46:32 +03:00
Vlad Mihalcea
6049131218
HHH-11793 - Change docs to point out that EAGER associations cannot be turn to LAZY with entity graphs
2017-06-08 08:53:17 +03:00
Vlad Mihalcea
6307a47c13
HHH-11186 - Add examples for all Hibernate annotations
...
Document @NamedSubgraph
2017-06-07 17:24:00 +03:00
Vlad Mihalcea
9039291288
HHH-11186 - Add examples for all Hibernate annotations
...
Document @PersistenceUnit
2017-06-06 15:36:55 +03:00
Vlad Mihalcea
6082f1975d
HHH-11186 - Add examples for all Hibernate annotations
...
Document @PersistenceContext and @PersistenceProperty
2017-06-06 12:24:56 +03:00
Vlad Mihalcea
7ae52fa65e
HHH-11186 - Add examples for all Hibernate annotations
...
Document @QueryHint
2017-06-06 08:43:47 +03:00
Vlad Mihalcea
5e23b7fd02
HHH-11186 - Add examples for all Hibernate annotations
...
Document @TableGenerator
2017-06-05 17:27:23 +03:00
Vlad Mihalcea
e10653e3a7
HHH-11186 - Add examples for all Hibernate annotations
...
Document @SequenceGenerator
2017-06-05 16:45:10 +03:00
Vlad Mihalcea
80860065e5
HHH-11186 - Add examples for all Hibernate annotations
...
Document @NamedStoredProcedureQuery and @StoredProcedureParameter annotations
2017-06-05 14:59:55 +03:00
Vlad Mihalcea
1fb9d1fb1a
HHH-11186 - Add examples for all Hibernate annotations
...
Document @MapKeyClass annotation
2017-06-01 17:58:57 +03:00
Vlad Mihalcea
a4db601eca
HHH-11186 - Add examples for all Hibernate annotations
...
Document @MapKeyColumn annotation
2017-06-01 16:00:26 +03:00
Vlad Mihalcea
fd3ac458f2
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Index annotation
2017-06-01 14:51:40 +03:00
Vlad Mihalcea
c0b0da4282
HHH-11186 - Add examples for all Hibernate annotations
...
Document @UniqueConstraint annotation
2017-06-01 14:01:40 +03:00
Vlad Mihalcea
25e3aeb0b8
Switch from createSQLQuery to createNativeQuery as the former is deprecated since 5.2
2017-05-30 09:52:56 +03:00
Vlad Mihalcea
6f35871266
HHH-11186 - Add examples for all Hibernate annotations
...
Document @OptimisticLock annotation
2017-05-25 18:37:22 +03:00
Vlad Mihalcea
378009d5e1
HHH-11186 - Add examples for all Hibernate annotations
...
Move optimistic locking mapping to the Locking chapter
2017-05-25 17:27:35 +03:00
Vlad Mihalcea
baf194d422
HHH-11186 - Add examples for all Hibernate annotations
...
Document @OnDelete annotation
2017-05-25 17:12:48 +03:00
Vlad Mihalcea
77ea6186f7
HHH-11186 - Add examples for all Hibernate annotations
...
Document @OrderBy annotation
2017-05-24 17:21:33 +03:00
Vlad Mihalcea
73affabe44
HHH-11186 - Add examples for all Hibernate annotations
...
Document @MapKeyType annotation
2017-05-24 11:42:15 +03:00
Vlad Mihalcea
26908a86f5
HHH-11186 - Add examples for all Hibernate annotations
...
Document the @ListIndexBase annotation
2017-05-22 18:42:49 +03:00
Vlad Mihalcea
ec165296c6
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Source and @RowId annotation
2017-05-18 17:38:37 +03:00
Vlad Mihalcea
e2e48e4e07
Fix test failing on MariaDB
2017-05-18 10:19:09 +03:00
Vlad Mihalcea
c2150ffc3b
HHH-11186 - Add examples for all Hibernate annotations
...
Document @Subselect and @Synchronize annotations
2017-05-17 17:45:22 +03:00
Vlad Mihalcea
6db73b22fe
HHH-11186 - Add examples for all Hibernate annotations
2017-05-16 16:48:54 +03:00
lpradel
0e83628c92
HHH-11546 Add support for SAP NetWeaver as JTA Platform
2017-05-16 12:45:19 +03:00
Prasanth Mathialagan
6ec060b1d2
HHH-11750 Fixed typos in Hibernate 5.2 User Guide
2017-05-16 00:59:45 -04:00
Chris Cranford
5a7526b484
HHH-11730 - Document new configurable property.
2017-05-11 18:17:46 -04:00
EUROPE\cdhib
ef8ebe0d42
HHH-11729 - Add clarifications in the User Guide related to how Hibernate FetchMode types translate to JPA
2017-05-08 14:40:31 +03:00
Vlad Mihalcea
3ee36aa420
HHH-11186 - Add examples for all Hibernate annotations
...
Document DynamicUpdate annotation
2017-04-20 18:42:35 +03:00
Vlad Mihalcea
ca52b38b1b
HH-11186 - Add examples for all Hibernate annotations
...
Document Parent annotation
2017-04-19 15:22:22 +03:00
Vlad Mihalcea
6c810a422c
HH-11186 - Add examples for all Hibernate annotations
...
Document Target annotation
2017-04-19 12:53:28 +03:00
Vlad Mihalcea
9d3e917661
HH-11186 - Add examples for all Hibernate annotations
...
Document UpdateTimestamp annotation
2017-04-18 17:58:33 +03:00
Vlad Mihalcea
1772baf67e
Add missing class names and fix documentation pointing to missing property
2017-04-18 15:18:59 +03:00
Steve Ebersole
db528238d8
HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions
2017-04-14 10:51:57 +02:00
Vlad Mihalcea
ca103dcb28
HHH-11542 - Allow the auto-commit resolution to be configurable for RESOURCE_LOCAL transactions
2017-04-14 10:51:57 +02:00
Gail Badner
19e585bf9d
HHH-11499 : Add a new DB2 dialect that uses "cross join" for cross joins instead of ","
2017-04-12 22:09:59 -07:00
Vlad Mihalcea
442bf225c4
HHH-11601 - Fix tests failing on Oracle
2017-04-12 12:15:27 +03:00