Skip to content

Commit 27dcab7

Browse files
committed
HHH-19827 Adjust source languages in the doc files
since rouge can only handle a lowercased languages ....
1 parent 22877df commit 27dcab7

File tree

27 files changed

+163
-163
lines changed

27 files changed

+163
-163
lines changed

documentation/src/main/asciidoc/integrationguide/chapters/services/Services.adoc

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ The first step is to develop the actual integration by implementing the `Connect
291291
[[services-overriding-custom-ConnectionProvider-example]]
292292
.Custom `ConnectionProvider` implementation
293293
====
294-
[source, JAVA, indent=0]
294+
[source, java, indent=0]
295295
----
296296
include::{extrasdir}/override/LatestAndGreatestConnectionProviderImpl.java[]
297297
----
@@ -305,7 +305,7 @@ As a first option, we might just require that the code bootstrapping the `Standa
305305
[[services-overriding-override-via-StandardServiceRegistryBuilder-example]]
306306
.Overriding service implementation via `StandardServiceRegistryBuilder`
307307
====
308-
[source, JAVA, indent=0]
308+
[source, java, indent=0]
309309
----
310310
include::{extrasdir}/override/ex1-direct.java[]
311311
----
@@ -316,7 +316,7 @@ A second option, if our `LatestAndGreatestConnectionProviderImpl` should always
316316
[[services-LatestAndGreatestConnectionProviderImplContributor-example]]
317317
.`LatestAndGreatestConnectionProviderImplContributor`
318318
====
319-
[source, JAVA, indent=0]
319+
[source, java, indent=0]
320320
----
321321
include::{extrasdir}/override/ex2-contributor.java[]
322322
----
@@ -331,7 +331,7 @@ This file will have just a single line naming our impl.
331331
[[services-META-INF-example]]
332332
.`META-INF/services/org.hibernate.service.spi.ServiceContributor`
333333
====
334-
[source, JAVA, indent=0]
334+
[source, java, indent=0]
335335
----
336336
include::{extrasdir}/override/ex2-meta-inf[]
337337
----
@@ -342,7 +342,7 @@ A third option, if we simply want to make our `LatestAndGreatestConnectionProvid
342342
[[services-LatestAndGreatestConnectionProviderImplContributor-variation-example]]
343343
.`LatestAndGreatestConnectionProviderImplContributor` variation
344344
====
345-
[source, JAVA, indent=0]
345+
[source, java, indent=0]
346346
----
347347
include::{extrasdir}/override/ex3-contributor.java[]
348348
----
@@ -353,7 +353,7 @@ That all allows the application to pick our `LatestAndGreatestConnectionProvider
353353
[[services-custom-service-short-name-example]]
354354
.Custom service short name
355355
====
356-
[source, JAVA, indent=0]
356+
[source, java, indent=0]
357357
----
358358
include::{extrasdir}/override/ex3-app.java[]
359359
----
@@ -369,7 +369,7 @@ So, we will expand the `ServiceRegistry` to host this completely new `Service` r
369369
[[services-EventPublishingService-service-role-example]]
370370
.The `EventPublishingService` service role
371371
====
372-
[source, JAVA, indent=0]
372+
[source, java, indent=0]
373373
----
374374
include::{extrasdir}/extend/EventPublishingService.java[]
375375
----
@@ -378,7 +378,7 @@ include::{extrasdir}/extend/EventPublishingService.java[]
378378
[[services-EventPublishingService-implementation-example]]
379379
.The `EventPublishingService` implementation
380380
====
381-
[source, JAVA, indent=0]
381+
[source, java, indent=0]
382382
----
383383
include::{extrasdir}/extend/EventPublishingServiceImpl.java[]
384384
----
@@ -387,7 +387,7 @@ include::{extrasdir}/extend/EventPublishingServiceImpl.java[]
387387
[[services-alternate-EventPublishingService-implementation-example]]
388388
.An alternative `EventPublishingService` implementation
389389
====
390-
[source, JAVA, indent=0]
390+
[source, java, indent=0]
391391
----
392392
include::{extrasdir}/extend/DisabledEventPublishingServiceImpl.java[]
393393
----
@@ -398,7 +398,7 @@ Because we have alternative implementations, it is a good idea to develop an ini
398398
[[services-EventPublishingServiceInitiator-example]]
399399
.The `EventPublishingServiceInitiator`
400400
====
401-
[source, JAVA, indent=0]
401+
[source, java, indent=0]
402402
----
403403
include::{extrasdir}/extend/EventPublishingServiceInitiator.java[]
404404
----
@@ -409,8 +409,8 @@ We could have the application register the `EventPublishingServiceInitiator` wit
409409
[[services-EventPublishingServiceContributor-example]]
410410
.The `EventPublishingServiceContributor`
411411
====
412-
[source, JAVA, indent=0]
412+
[source, java, indent=0]
413413
----
414414
include::{extrasdir}/extend/EventPublishingServiceContributor.java[]
415415
----
416-
====
416+
====

documentation/src/main/asciidoc/introduction/Tuning.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -911,7 +911,7 @@ An arguably-underappreciated feature of Hibernate is the link:{doc-javadoc-url}o
911911

912912
You may obtain a stateless session from the `SessionFactory`:
913913

914-
[source, JAVA, indent=0]
914+
[source, java, indent=0]
915915
----
916916
StatelessSession ss = getSessionFactory().openStatelessSession();
917917
----
@@ -1214,4 +1214,4 @@ You can learn much more about Hibernate Reactive from its {hr-guide}[Reference D
12141214
Hibernate Reactive may be used alongside vanilla Hibernate in the same program, and can reuse the same entity classes.
12151215
This means you can use the reactive programming model exactly where you need it—perhaps only in one or two places in your system.
12161216
You don't need to rewrite your whole program using reactive streams.
1217-
====
1217+
====

documentation/src/main/asciidoc/userguide/appendices/Legacy_Native_Queries.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ Hibernate always registers the first statement parameter as a numeric output par
284284

285285
.Stored procedures and their return value
286286
====
287-
[source]
287+
[source, sql]
288288
----
289289
CREATE OR REPLACE FUNCTION updatePerson (uid IN NUMBER, uname IN VARCHAR2)
290290
RETURN NUMBER IS

documentation/src/main/asciidoc/userguide/chapters/batch/Batching.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ Both the Hibernate native Query Language and JPQL (Java Persistence Query Langua
170170
[[batch-bulk-hql-update-delete-example]]
171171
.Pseudo-syntax for UPDATE and DELETE statements using HQL
172172
====
173-
[source, SQL, indent=0]
173+
[source, sql, indent=0]
174174
----
175175
UPDATE FROM EntityName e WHERE e.name = ?
176176
@@ -257,7 +257,7 @@ In the example of joined-subclass, a `DELETE` against one of the subclasses may
257257

258258
.Pseudo-syntax for INSERT-SELECT statements
259259
====
260-
[source, SQL, indent=0]
260+
[source, sql, indent=0]
261261
----
262262
INSERT INTO EntityName
263263
properties_list
@@ -270,7 +270,7 @@ Alternatively one can also declare individual values
270270

271271
.Pseudo-syntax for INSERT-VALUES statements
272272
====
273-
[source, SQL, indent=0]
273+
[source, sql, indent=0]
274274
----
275275
INSERT INTO EntityName
276276
properties_list
@@ -365,7 +365,7 @@ Now, when you try to execute a bulk entity delete query:
365365
include::{example-dir-bulkid}/AbstractMutationStrategyCompositeIdTest.java[tags=batch-bulk-hql-temp-table-delete-query-example]
366366
----
367367
368-
[source, SQL, indent=0]
368+
[source, sql, indent=0]
369369
----
370370
include::{extrasdir}/batch-bulk-hql-temp-table-delete-query-example.sql[]
371371
----
@@ -413,7 +413,7 @@ With the inline strategy, when running the previous test case, Hibernate generat
413413
[[batch-bulk-hql-InlineIdsInClauseBulkIdStrategy-delete-query-example]]
414414
.`InlineIdsInClauseBulkIdStrategy` delete entity query example
415415
====
416-
[source, SQL, indent=0]
416+
[source, sql, indent=0]
417417
----
418418
include::{extrasdir}/batch-bulk-hql-InlineIdsInClauseBulkIdStrategy-delete-query-example.sql[]
419419
----

documentation/src/main/asciidoc/userguide/chapters/bootstrap/Bootstrap.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Consider the following `META-INF/persistence.xml` file:
5656
[[example-bootstrap-standardized-persistence-xml]]
5757
.META-INF/persistence.xml file
5858
====
59-
[source, XML, indent=0]
59+
[source, xml, indent=0]
6060
----
6161
include::{extrasdir}/persistence.xml[]
6262
----

documentation/src/main/asciidoc/userguide/chapters/caching/Caching.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ To use query caching, you will first need to enable it with the following config
275275
[[caching-query-configuration]]
276276
.Enabling query cache
277277
====
278-
[source, XML, indent=0]
278+
[source, xml, indent=0]
279279
----
280280
<property
281281
name="hibernate.cache.use_query_cache"
@@ -551,7 +551,7 @@ To use the `JCacheRegionFactory`, you need to specify the following configuratio
551551
[[caching-provider-jcache-region-factory-example]]
552552
.`JCacheRegionFactory` configuration
553553
====
554-
[source, XML, indent=0]
554+
[source, xml, indent=0]
555555
----
556556
<property
557557
name="hibernate.cache.region.factory_class"
@@ -574,7 +574,7 @@ In order to control which provider to use and specify configuration for the `Cac
574574
[[caching-provider-jcache-region-factory-config-example]]
575575
.JCache configuration
576576
====
577-
[source, XML, indent=0]
577+
[source, xml, indent=0]
578578
----
579579
<property
580580
name="hibernate.javax.cache.provider"

documentation/src/main/asciidoc/userguide/chapters/compatibility/Compatibility.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ dependencies {
4141
}
4242
----
4343
Maven::
44-
[source, XML, subs="+attributes"]
44+
[source, xml, subs="+attributes"]
4545
----
4646
<dependencyManagement>
4747
<dependencies>

documentation/src/main/asciidoc/userguide/chapters/domain/associations.adoc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ The `loan_payments` table holds the associations between `Loan` and `Payment` re
744744
include::{example-dir-any}/discriminator/many/Loan.java[tags=associations-many-to-any-example]
745745
----
746746
747-
[source, SQL, indent=0]
747+
[source, sql, indent=0]
748748
----
749749
include::{extrasdir}/associations-many-to-any-example.sql[]
750750
----
@@ -765,7 +765,7 @@ The https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibern
765765
include::{example-dir-association}/JoinFormulaTest.java[tags=associations-JoinFormula-example]
766766
----
767767
768-
[source, SQL, indent=0]
768+
[source, sql, indent=0]
769769
----
770770
include::{extrasdir}/associations-JoinFormula-example.sql[]
771771
----
@@ -794,7 +794,7 @@ When fetching the `User` entities, the `country` property is mapped by the `@Joi
794794
include::{example-dir-association}/JoinFormulaTest.java[tags=associations-JoinFormula-fetching-example]
795795
----
796796
797-
[source, SQL, indent=0]
797+
[source, sql, indent=0]
798798
----
799799
include::{extrasdir}/associations-JoinFormula-fetching-example.sql[]
800800
----
@@ -815,7 +815,7 @@ The https://docs.jboss.org/hibernate/orm/{majorMinorVersion}/javadocs/org/hibern
815815
include::{example-dir-association}/JoinColumnOrFormulaTest.java[tags=associations-JoinColumnOrFormula-example]
816816
----
817817
818-
[source, SQL, indent=0]
818+
[source, sql, indent=0]
819819
----
820820
include::{extrasdir}/associations-JoinColumnOrFormula-example.sql[]
821821
----
@@ -844,7 +844,7 @@ When fetching the `User` entities, the `country` property is mapped by the `@Joi
844844
include::{example-dir-association}/JoinColumnOrFormulaTest.java[tags=associations-JoinColumnOrFormula-fetching-example]
845845
----
846846
847-
[source, SQL, indent=0]
847+
[source, sql, indent=0]
848848
----
849849
include::{extrasdir}/associations-JoinColumnOrFormula-fetching-example.sql[]
850850
----

documentation/src/main/asciidoc/userguide/chapters/domain/basic_types.adoc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ When loading the `Account` entity, Hibernate is going to calculate the `interest
150150
include::{example-dir-basic-mapping}/basic/FormulaTest.java[tags=mapping-column-formula-persistence-example]
151151
----
152152
153-
[source, SQL, indent=0]
153+
[source, sql, indent=0]
154154
----
155155
include::{extrasdir}/basic/mapping-column-formula-persistence-example.sql[]
156156
----
@@ -284,7 +284,7 @@ When persisting this entity, Hibernate generates the following SQL statement:
284284
include::{example-dir-basic-mapping}/basic/PhoneTypeEnumeratedOrdinalTest.java[tags=basic-enums-Enumerated-ordinal-persistence-example]
285285
----
286286
287-
[source, SQL, indent=0]
287+
[source, sql, indent=0]
288288
----
289289
include::{extrasdir}/basic/basic-enums-Enumerated-ordinal-persistence-example.sql[]
290290
----
@@ -310,7 +310,7 @@ Persisting the same entity as in the `@Enumerated(ORDINAL)` example, Hibernate g
310310
[[basic-enums-Enumerated-string-persistence-example]]
311311
.Persisting an entity with an `@Enumerated(STRING)` mapping
312312
====
313-
[source, SQL, indent=0]
313+
[source, sql, indent=0]
314314
----
315315
include::{extrasdir}/basic/basic-enums-Enumerated-string-persistence-example.sql[]
316316
----
@@ -804,7 +804,7 @@ Just like with `CLOB`, Hibernate can also deal with `NCLOB` SQL data types:
804804
[[basic-nclob-sql-example]]
805805
.`NCLOB` - SQL
806806
====
807-
[source, java, indent=0]
807+
[source, sql, indent=0]
808808
----
809809
include::{extrasdir}/basic/basic-nclob-sql-example.sql[]
810810
----
@@ -2381,7 +2381,7 @@ When saving the following `Product entity`, Hibernate generates the following SQ
23812381
include::{example-dir-basic-mapping}/basic/QuotingTest.java[tags=basic-quoting-persistence-example, indent=0]
23822382
----
23832383
2384-
[source, SQL, indent=0]
2384+
[source, sql, indent=0]
23852385
----
23862386
include::{extrasdir}/basic/basic-quoting-persistence-example.sql[indent=0]
23872387
----
@@ -2416,7 +2416,7 @@ include::{example-dir-basic-mapping}/basic/AutoQuotingTest.java[tags=basic-auto-
24162416
When persisting a `Product` entity, Hibernate is going to quote all identifiers as in the following example:
24172417

24182418
====
2419-
[source, SQL, indent=0]
2419+
[source, sql, indent=0]
24202420
----
24212421
include::{extrasdir}/basic/basic-auto-quoting-persistence-example.sql[indent=0]
24222422
----
@@ -2650,7 +2650,7 @@ The `write` expression, if specified, must contain exactly one '?' placeholder f
26502650
include::{example-dir-basic-mapping}/basic/ColumnTransformerTest.java[tags=mapping-column-read-and-write-composite-type-persistence-example]
26512651
----
26522652
2653-
[source, SQL, indent=0]
2653+
[source, sql, indent=0]
26542654
----
26552655
include::{extrasdir}/basic/mapping-column-read-and-write-composite-type-persistence-example.sql[]
26562656
----

documentation/src/main/asciidoc/userguide/chapters/domain/identifiers.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -731,7 +731,7 @@ Now, when saving 5 `Person` entities and flushing the Persistence Context after
731731
include::{example-dir-identifier}/PooledOptimizerTest.java[tag=identifiers-generators-pooled-lo-optimizer-persist-example]
732732
----
733733
734-
[source, SQL, indent=0]
734+
[source, sql, indent=0]
735735
----
736736
include::{extrasdir}/id/identifiers-generators-pooled-lo-optimizer-persist-example.sql[]
737737
----
@@ -809,7 +809,7 @@ Now, when fetching an entity and modifying it, Hibernate uses the `ROWID` pseudo
809809
include::{example-dir-identifier}/RowIdTest.java[tag=identifiers-rowid-example]
810810
----
811811
812-
[source, SQL, indent=0]
812+
[source, sql, indent=0]
813813
----
814814
include::{extrasdir}/id/identifiers-rowid-example.sql[]
815815
----

0 commit comments

Comments
 (0)