Chris Cranford
03d5ce08bc
HHH-14176 Use column name 'description' rather than 'desc`.
...
Using the `desc` keyword creates problems for certain dialects, so changed the
property's name so that there is no keyword conflicts.
2023-07-24 12:11:43 +02:00
Christian Beikov
940259dc4c
HHH-14176 Handle embedded composite ids in envers specially to avoid lazy loading
2023-07-24 12:11:43 +02:00
Jan Schatteman
f175581180
HHH-14176 Added test case for issue
...
Signed-off-by: Jan Schatteman <jschatte@redhat.com>
2023-07-24 12:11:43 +02:00
Sanne Grinovero
042ea16b37
HHH-16963 Avoid H2's capability to register a JVM shutdown hook: causes classloader leaks during tests
2023-07-21 11:43:01 -04:00
Steve Ebersole
e2504647d4
HHH-13741 - LOG_SLOW_QUERY parameter doesn't always log SQL
2023-07-19 11:35:52 -05:00
Sanne Grinovero
0fb5895d08
Automated cleanup: suboptimal string handling (thanks IntelliJ)
2023-06-26 14:38:59 +01:00
Gavin King
51460470f4
add AuditReader.find(Class,Object, LocalDateTime) ( #6811 )
...
since java.util.Date is bad
and add some Javadoc to AuditReader
2023-06-16 14:00:09 +02:00
Gavin
bdacc8b05f
make it easier to mock the QueryEngine
2023-06-09 17:24:58 +02:00
Francois Steyn
a415555df4
HHH-16563: Using jakarta.annotation.Generated instead of javax versions
2023-06-07 16:46:13 -05:00
Marco Belladelli
4e9a643346
Fix several tests failing on Oracle 11 and some others on older dbs
2023-05-15 09:27:35 +02:00
Gavin
20b157000c
HHH-16125 final cleanup of legacy enum converters stuff
2023-04-29 15:42:56 +02:00
Gavin
c91cfdf2f1
HHH-16125 delete/fix a bunch of assertions that constrain implementation details
...
these are bad tests; they don't test observable behavior
2023-04-29 15:42:56 +02:00
Gavin
febf39cc55
HHH-16125 complete redesign of how enum mappings work
...
- introduce SqlTypes.ENUM
- no more converters!
- finish of Potgres enum support
- disable BIND for enums in Criteria on PostgreSQL
(PostgreSQL doesn't do the needed type conversion to the enum type)
2023-04-29 15:42:56 +02:00
Christian Beikov
75caf15e6b
HHH-16382 Fix resolving table references especially for self-referential associations
2023-04-24 20:02:44 +02:00
Gavin
7b8cd14052
HHH-16163 update tests to use new annotations
2023-04-08 13:10:46 +02:00
Andrea Boriero
570ccae476
HHH-16097 Move all tests from documentation into hibernate-core
2023-03-24 07:43:13 -05:00
Steve Ebersole
e675962779
HHH-16311 - Migrate away from UserType for enum handling
2023-03-17 13:13:24 -05:00
Steve Ebersole
b276128f56
HHH-16284 - Rename JdbcParameterRender to ParameterMarkerStrategy
2023-03-13 15:35:38 -05:00
Steve Ebersole
99f8b0fd3d
HHH-16260 - JdbcParameterRenderer not called with dynamic filters
...
HHH-16256 - JdbcParameterRenderer to have an impact on write operations
HHH-16273 - Support for Dialect native JdbcParameterRenderer
2023-03-09 19:51:33 -06:00
Sanne Grinovero
6724f7aeb5
HHH-16223 Deprecate HBM2DDL_SCRIPTS_ACTION
2023-03-07 21:39:17 +00:00
Sanne Grinovero
f7d383320b
HHH-16223 Deprecate HBM2DDL_SCRIPTS_DROP_TARGET
2023-03-07 21:39:17 +00:00
Sanne Grinovero
f9c0761268
HHH-16223 Deprecate HBM2DDL_SCRIPTS_CREATE_TARGET
2023-03-07 21:39:17 +00:00
Sanne Grinovero
d0cdcb006d
HHH-16223 Deprecate HBM2DDL_DATABASE_ACTION
2023-03-07 21:39:17 +00:00
marko-bekhta
5d61b03b20
HHH-16217 Use only rendered Javadocs for collecting configuration properties
2023-03-01 13:26:49 -06:00
Sanne Grinovero
cf2e723d6f
HHH-16228 Dialect instance might be wrapped when doing instanceof checks for capabilities
...
To properly support the idea of wrapping the Dialect, we need
to take this into account whenever an `instanceof` is used
to check for Dialect capabilities.
Also some code is casting to the expected Dialect.
2023-02-27 22:53:31 +00:00
Christian Beikov
9ef49c596d
Get rid of most capturing lambdas in write path
2023-02-13 16:57:24 +01:00
Steve Ebersole
375f6b5f14
HHH-16069 - Skip CDI for Hibernate extensions by default
2023-01-26 00:29:24 -06:00
Steve Ebersole
a742f5e988
HHH-16069 - Skip CDI for Hibernate extensions by default
2023-01-26 00:29:24 -06:00
Andrea Boriero
f4aec1cd0a
HHH-16031 @ManyToMany with @JoinTable(inverseColumn = ...) and SortedSet may results in data loss
2023-01-24 10:49:31 +01:00
Steve Ebersole
a552a73632
HHH-16006 - Implement an "additional mapping" contributor SPI
2023-01-19 16:30:46 -06:00
Andrea Boriero
b774f80ce9
HHH-15966 ElementCollection with nested Embeddables fails with ArrayIndexOutOfBoundsException
2023-01-12 18:19:38 +01:00
Steve Ebersole
a9ef9045f2
HHH-16006 - Implement an "additional mapping" contributor SPI
2023-01-09 15:41:56 -06:00
LLEFEVRE
fc57bd6a17
HHH-15973 hibernate-envers tests must rely on SharedDriverManagerConnectionProviderImpl instead of DriverManagerConnectionProviderImpl
2023-01-04 18:05:13 +01:00
Gavin
e8f899ffbc
avoid the use of TypeConfiguration.getSessionFactory() which is not very typesafe
...
continue sorting out issues with lifecycle of SessionFactoryImpl and friends
2023-01-03 21:06:49 +01:00
Gavin
11760d3ce3
various jdoc format fixes + improve a package-info
...
- add some periods
- fix up all the code snippets I messed up
- add some <p>s after lists and code blocks
- improve section of package-info which was hard to understand
- fix jdoc for LobHelper
- fix code example in @ValueGenerationType
2022-12-27 12:00:02 +01:00
Christian Beikov
4901d2bb61
HHH-15464 Allow JdbcType to expose the type code to use for DDL
2022-12-22 17:25:13 +01:00
Steve Ebersole
32cc739f39
HHH-15923 - Clean-up the org.hibernate.loader package
...
HHH-15799 - API/internal split for org.hibernate.cfg package
and some minor Javadoc work
2022-12-21 16:11:48 -06:00
Christian Beikov
ba985518c7
HHH-15898 Add @Instantiator annotation to mark canonical constructor for embeddables
2022-12-21 12:43:15 +01:00
Christian Beikov
7007bafe55
HHH-15872 Add ColumnOrderingStrategy SPI and handle record structs specially
2022-12-20 20:17:23 +01:00
Steve Ebersole
48c383121f
HHH-15837 - Cleanup the tuple package
2022-12-14 09:25:59 -06:00
Steve Ebersole
33c00d78c3
HHH-15818 - Drop PropertyMapping in favor of new mapping-model
2022-12-14 09:25:59 -06:00
Gavin
0228c3d185
HHH-15800 introduce EventType + EventTypeSets in place of the previous "two booleans" approach
...
I hope @sebersole likes this better.
re-deprecate GenerationTime since the way forward is EventType
2022-12-05 22:21:52 +01:00
Gavin
075b268280
HHH-15800 create .generator and .binder packages and move new interfaces to them
2022-12-05 22:21:52 +01:00
Gavin
216fe0f615
HHH-15800 make Generator free of GenerationTiming
2022-12-05 22:21:52 +01:00
Gavin
12682c0abd
slightly sanitize API of mapping package
2022-12-03 11:04:21 +01:00
Sanne Grinovero
33ce6a3d79
HHH-15790 Refactor casting strategies for HibernateProxy across the codebase
2022-12-01 21:31:55 +00:00
Sanne Grinovero
fbf469830c
HHH-15790 Make HibernateProxy also type-cache friendly
2022-12-01 21:31:55 +00:00
Steve Ebersole
631d0bad71
HHH-15393 - Improve write-paths to use mapping model
2022-11-30 23:50:39 -06:00
Gavin
a67cfd039e
HHH-15789 unify IdentifierGenerator with value generator stuff
2022-12-01 00:02:18 +01:00
Gavin
1bd082bd3e
much better naming
2022-12-01 00:02:18 +01:00