This is an automated email from the ASF dual-hosted git repository. danhaywood pushed a commit to branch CAUSEWAY-3866 in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 08373648d181d5c260a58fe3139f7038de2da230 Author: Dan Haywood <[email protected]> AuthorDate: Sat Oct 18 19:00:01 2025 +0100 CAUSEWAY-3866: more tidy up --- .../modules/applib/pages/index/value/hooks/Blob_usage-notes.adoc | 2 +- .../modules/applib/pages/index/value/hooks/Clob_usage-notes.adoc | 2 +- antora/components/refguide/modules/applib-ant/pages/Entity.adoc | 2 +- antora/components/refguide/modules/applib-ant/pages/Nullable.adoc | 5 +---- .../ROOT/partials/2018/2.0.0-M1/mignotes/removed-annotations.adoc | 2 +- .../ROOT/partials/properties-collections-actions/properties.adoc | 4 ++-- 6 files changed, 7 insertions(+), 10 deletions(-) diff --git a/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Blob_usage-notes.adoc b/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Blob_usage-notes.adoc index e6399fc5cc8..50bfa93515a 100644 --- a/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Blob_usage-notes.adoc +++ b/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Blob_usage-notes.adoc @@ -4,7 +4,7 @@ == Usage Notes -If using xref:pjpa:ROOT:about.adoc[JPA/Eclipselink], `Blob` properties can be mapped using the xref:refguide:persistence:index/jpa/applib/types/BlobJpaEmbeddable.adoc[]: +If using xref:pjpa:ROOT:about.adoc[JPA/Eclipselink], `Blob` properties can be mapped using the xref:refguide:persistence:index/jpa/applib/types/BlobJpaEmbeddable.adoc[BlobJpaEmbeddable]: [source,java] ---- diff --git a/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Clob_usage-notes.adoc b/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Clob_usage-notes.adoc index f74f612ac59..64a2ac84e2a 100644 --- a/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Clob_usage-notes.adoc +++ b/antora/components/refguide-index/modules/applib/pages/index/value/hooks/Clob_usage-notes.adoc @@ -4,7 +4,7 @@ == Usage Notes -If using xref:pjpa:ROOT:about.adoc[JPA/Eclipselink], `Blob` properties can be mapped using the xref:refguide:persistence:index/jpa/applib/types/ClobJpaEmbeddable.adoc[]: +If using xref:pjpa:ROOT:about.adoc[JPA/Eclipselink], `Blob` properties can be mapped using the xref:refguide:persistence:index/jpa/applib/types/ClobJpaEmbeddable.adoc[ClobJpaEmbeddable]: [source,java] ---- diff --git a/antora/components/refguide/modules/applib-ant/pages/Entity.adoc b/antora/components/refguide/modules/applib-ant/pages/Entity.adoc index b09b856f1e9..082e79e690b 100644 --- a/antora/components/refguide/modules/applib-ant/pages/Entity.adoc +++ b/antora/components/refguide/modules/applib-ant/pages/Entity.adoc @@ -3,7 +3,7 @@ :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...] -// TODO: 3866 - to update +// TODO: 3866 - to complete The `@jakarta.persistence.Entity` is used by JPA to indicate that a class is a domain entity to be persisted to the database. diff --git a/antora/components/refguide/modules/applib-ant/pages/Nullable.adoc b/antora/components/refguide/modules/applib-ant/pages/Nullable.adoc index 0a19fa890bf..7e7eb7ab3e1 100644 --- a/antora/components/refguide/modules/applib-ant/pages/Nullable.adoc +++ b/antora/components/refguide/modules/applib-ant/pages/Nullable.adoc @@ -3,9 +3,6 @@ :Notice: Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at. http://www.apache.org/licenses/LICENSE-2.0 . Unless required by applicable law or ag [...] -// TODO: 3866 - remove - - Apache Causeway' defaults for properties and parameters is that they are mandatory unless otherwise stated. Both the `@jakarta.annotation.Nullable` annotation and `@org.jspecify.annotations.Nullable` annotation are recognized by Apache Causeway for both properties and parameters as means to indicate that the property/parameter is not mandatory. @@ -45,7 +42,7 @@ xref:refguide:applib:index/annotation/Property.adoc#optionality[@Property#option xref:refguide:applib-ant:Column.adoc#nullability[@Column#nullable()]. ==== -If more than one method is specified then the framework will validate that there are no incompatibilities (and fail to boot otherwise). +Metamodel validation during bootstrapping checks that there are no conflicting definitions of optionality. diff --git a/antora/components/relnotes/modules/ROOT/partials/2018/2.0.0-M1/mignotes/removed-annotations.adoc b/antora/components/relnotes/modules/ROOT/partials/2018/2.0.0-M1/mignotes/removed-annotations.adoc index a21cd2fd89d..f7095d51b2d 100644 --- a/antora/components/relnotes/modules/ROOT/partials/2018/2.0.0-M1/mignotes/removed-annotations.adoc +++ b/antora/components/relnotes/modules/ROOT/partials/2018/2.0.0-M1/mignotes/removed-annotations.adoc @@ -172,7 +172,7 @@ For properties, can also use link:https://isis.apache.org/versions/2.0.0-M1/guid | |Either link:https://isis.apache.org/versions/2.0.0-M1/guides/rgant/rgant.html#_rgant_Property_optionality[@Property#optionality()] or link:https://isis.apache.org/versions/2.0.0-M1/guides/rgant/rgant.html#_rgant_Parameter_optionality[@Parameter#optionality()]. -For properties, can also use link:https://isis.apache.org/versions/2.0.0-M1/guides/rgant/rgant.html#_rgant_Column_allowsNull[@Column#nullable()] +For properties, can also use link:https://isis.apache.org/versions/2.0.0-M1/guides/rgant/rgant.html#_rgant_Column_allowsNull[@Column#allowsNull()] Can also use link:https://isis.apache.org/versions/2.0.0-M1/guides/rgant/rgant.html#_rgant_Nullable[@Nullable] for either properties or parameters. |`@Named` diff --git a/antora/components/userguide/modules/ROOT/partials/properties-collections-actions/properties.adoc b/antora/components/userguide/modules/ROOT/partials/properties-collections-actions/properties.adoc index 6545b1979ff..66d010ef284 100644 --- a/antora/components/userguide/modules/ROOT/partials/properties-collections-actions/properties.adoc +++ b/antora/components/userguide/modules/ROOT/partials/properties-collections-actions/properties.adoc @@ -273,7 +273,7 @@ More information can be found http://www.opentaps.org/docs/index.php/How_to_Use_ === ``Blob``s -Apache Causeway provides the xref:refguide:persistence:index/jpa/applib/types/BlobJpaEmbeddable.adoc[] utility class to allow properties of type `org.apache.causeway.applib.value.Blob` to be persisted. +Apache Causeway provides the xref:refguide:persistence:index/jpa/applib/types/BlobJpaEmbeddable.adoc[BlobJpaEmbeddable] utility class to allow properties of type `org.apache.causeway.applib.value.Blob` to be persisted. This is used as follows: @@ -299,7 +299,7 @@ public void setPdf(final Blob pdf) { === ``Clob``s -Mapping ``Clob``s works in a very similar way to ``Blob``s, using the xref:refguide:persistence:index/jpa/applib/types/ClobJpaEmbeddable.adoc[] utility class: +Mapping ``Clob``s works in a very similar way to ``Blob``s, using the xref:refguide:persistence:index/jpa/applib/types/ClobJpaEmbeddable.adoc[ClobJpaEmbeddable] utility class: [source,java] ----
