[hibernate/hibernate-orm] 3f8a0b: HQL doc rewrite/restructure
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 3f8a0b67761ebf2f709ee2806679d7a551b2fe63
https://github.com/hibernate/hibernate-orm/commit/3f8a0b67761ebf2f709ee28...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-31 (Fri, 31 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/Hibernate_User_Guide.adoc
M documentation/src/main/asciidoc/userguide/appendices/Annotations.adoc
M documentation/src/main/asciidoc/userguide/chapters/batch/Batching.adoc
R documentation/src/main/asciidoc/userguide/chapters/query/hql/HQL.adoc
A documentation/src/main/asciidoc/userguide/chapters/query/hql/Query.adoc
A documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/hql-distinct-entity-query-example.sql
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/hql-distinct-entity-query-hint-example.sql
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/hql-distinct-projection-query-example.sql
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/hql-read-only-entities-example.sql
M documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/statement_select_bnf.txt
M documentation/src/main/java/org/hibernate/userguide/model/Call.java
M documentation/src/main/java/org/hibernate/userguide/model/Person.java
M documentation/src/main/java/org/hibernate/userguide/model/Phone.java
M documentation/src/test/java/org/hibernate/userguide/criteria/CriteriaTest.java
M documentation/src/test/java/org/hibernate/userguide/hql/HQLTest.java
M documentation/src/test/java/org/hibernate/userguide/hql/SelectDistinctTest.java
M documentation/src/test/java/org/hibernate/userguide/sql/MySQLStoredProcedureTest.java
M documentation/src/test/java/org/hibernate/userguide/sql/OracleStoredProcedureTest.java
M documentation/src/test/java/org/hibernate/userguide/sql/SQLTest.java
Log Message:
-----------
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
2 years, 11 months
[hibernate/hibernate-orm] 4ce27e: introduce @GeneratedColumn annotation
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 4ce27e70ae33385e1644d3efda33bc3c6a9c8dcf
https://github.com/hibernate/hibernate-orm/commit/4ce27e70ae33385e1644d3e...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-31 (Fri, 31 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java
M hibernate-core/src/main/java/org/hibernate/annotations/Generated.java
A hibernate-core/src/main/java/org/hibernate/annotations/GeneratedColumn.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenerationTime.java
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3Column.java
M hibernate-core/src/main/java/org/hibernate/cfg/Ejb3JoinColumn.java
M hibernate-core/src/main/java/org/hibernate/cfg/OneToOneSecondPass.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/NoValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
A hibernate-core/src/main/java/org/hibernate/tuple/GeneratedAlwaysValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/GeneratedValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/GenerationTiming.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/always/GeneratedAlwaysTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/sqldefault/DefaultTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/sqldefault/DynamicDefaultTest.java
Log Message:
-----------
introduce @GeneratedColumn annotation
to make it easy to produce portable DDL with 'generated always as'
or equivalent
also add 'name' to @ColumnDefault, and add some missing tests for
basic usage patterns of @ColumnDefault
Commit: 5bcf691d2b8f1f5302741018ab6827e6806b4437
https://github.com/hibernate/hibernate-orm/commit/5bcf691d2b8f1f530274101...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-31 (Fri, 31 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Annotations.adoc
M documentation/src/main/asciidoc/userguide/chapters/schema/Schema.adoc
Log Message:
-----------
mention @GeneratedColumn in the docs
Compare: https://github.com/hibernate/hibernate-orm/compare/37010a1a8d1d...5bcf691...
2 years, 11 months