PostgresArrayIntegrationTest
Tests
| Test |
Duration |
Result |
| shouldCreateEmptyArray() |
0.005s |
passed |
| shouldCreateStringArray() |
0.048s |
passed |
| shouldCreateUUidArray() |
0.008s |
passed |
Standard output
2026-08-10T16:40:53.375Z INFO 380 --- [ Test worker] t.c.s.AnnotationConfigContextLoaderUtils : Could not detect default configuration classes for test class [net.hostsharing.hsadminng.mapper.PostgresArrayIntegrationTest]: PostgresArrayIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration.
2026-08-10T16:40:53.394Z INFO 380 --- [ Test worker] .b.t.c.SpringBootTestContextBootstrapper : Found @SpringBootConfiguration net.hostsharing.hsadminng.HsadminNgApplication for test class net.hostsharing.hsadminng.mapper.PostgresArrayIntegrationTest
. ____ _ __ _ _
/\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \
( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \
\\/ ___)| |_)| | | | | || (_| | ) ) ) )
' |____| .__|_| |_|_| |_\__, | / / / /
=========|_|==============|___/=/_/_/_/
:: Spring Boot :: (v3.5.5)
2026-08-10T16:40:53.422Z INFO 380 --- [ Test worker] n.h.h.m.PostgresArrayIntegrationTest : Starting PostgresArrayIntegrationTest using Java 21.0.11 with PID 380 (started by root in /home/tallyman/hs.hsadmin.ng/.git/gittally/worktrees/mihoe_ci-build-performance-improvements-8da83bafd50c)
2026-08-10T16:40:53.423Z INFO 380 --- [ Test worker] n.h.h.m.PostgresArrayIntegrationTest : No active profile set, falling back to 1 default profile: "default"
2026-08-10T16:40:53.597Z INFO 380 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode.
2026-08-10T16:40:53.701Z INFO 380 --- [ Test worker] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 102 ms. Found 35 JPA repository interfaces.
2026-08-10T16:40:53.756Z INFO 380 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Starting...
2026-08-10T16:40:53.782Z INFO 380 --- [ Test worker] com.zaxxer.hikari.pool.HikariPool : HikariPool-4 - Added connection org.testcontainers.jdbc.ConnectionWrapper@619cecde
2026-08-10T16:40:53.783Z INFO 380 --- [ Test worker] com.zaxxer.hikari.HikariDataSource : HikariPool-4 - Start completed.
2026-08-10T16:40:54.256Z WARN 380 --- [ Test worker] liquibase.executor : Context defined as: testing currentSubjectUuid, , hsh-fran_superuser, []
2026-08-10T16:40:54.257Z WARN 380 --- [ Test worker] liquibase.executor : Context defined as: testing currentSubjectUuid, , hsh-alex_superuser, []
2026-08-10T16:40:54.376Z INFO 380 --- [ Test worker] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default]
2026-08-10T16:40:54.378Z INFO 380 --- [ Test worker] o.h.c.internal.RegionFactoryInitiator : HHH000026: Second-level cache disabled
2026-08-10T16:40:54.388Z INFO 380 --- [ Test worker] org.hibernate.orm.connections.pooling : HHH10001005: Database info:
Database JDBC URL [Connecting through datasource 'proxyDataSourceDecorator [net.ttddyy.dsproxy.support.ProxyDataSource] -> dataSource [com.zaxxer.hikari.HikariDataSource]']
Database driver: undefined/unknown
Database version: 15.5
Autocommit mode: undefined/unknown
Isolation level: undefined/unknown
Minimum pool size: undefined/unknown
Maximum pool size: undefined/unknown
2026-08-10T16:40:54.402Z INFO 380 --- [ Test worker] o.s.o.j.p.SpringPersistenceUnitInfo : No LoadTimeWeaver setup: ignoring JPA class transformer
2026-08-10T16:40:54.483Z WARN 380 --- [ Test worker] o.h.boot.model.internal.ToOneBinder : HHH000491: 'net.hostsharing.hsadminng.hs.office.debitor.HsOfficeDebitorEntity.partner' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T16:40:54.484Z WARN 380 --- [ Test worker] o.h.boot.model.internal.ToOneBinder : HHH000491: 'net.hostsharing.hsadminng.hs.office.debitor.HsOfficeDebitorEntity.refundBankAccount' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T16:40:54.493Z WARN 380 --- [ Test worker] o.h.boot.model.internal.ToOneBinder : HHH000491: 'net.hostsharing.hsadminng.hs.office.partner.HsOfficePartnerRbacEntity.details' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T16:40:54.498Z WARN 380 --- [ Test worker] o.h.boot.model.internal.ToOneBinder : HHH000491: 'net.hostsharing.hsadminng.hs.office.partner.HsOfficePartnerRealEntity.details' uses both @NotFound and FetchType.LAZY. @ManyToOne and @OneToOne associations mapped with @NotFound are forced to EAGER fetching.
2026-08-10T16:40:54.945Z INFO 380 --- [ Test worker] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000489: No JTA platform available (set 'hibernate.transaction.jta.platform' to enable JTA platform integration)
2026-08-10T16:40:54.946Z INFO 380 --- [ Test worker] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default'
2026-08-10T16:40:55.411Z INFO 380 --- [ Test worker] n.h.h.m.PostgresArrayIntegrationTest : Started PostgresArrayIntegrationTest in 2.014 seconds (process running for 270.131)
Hibernate: create or replace function returnStringArray()
returns varchar(63)[]
stable -- leakproof
language plpgsql as $$
declare
text1 text = 'one';
text2 text = 'two, three';
text3 text = 'four; five';
text4 text = 'say "Hello" to me';
begin
return array[text1, text2, text3, null, text4];
end; $$;
Hibernate: SELECT returnStringArray()
Hibernate: create or replace function returnUuidArray()
returns uuid[]
stable -- leakproof
language plpgsql as $$
declare
uuid1 UUID = 'f47ac10b-58cc-4372-a567-0e02b2c3d479';
uuid2 UUID = '6ba7b810-9dad-11d1-80b4-00c04fd430c8';
uuid3 UUID = '01234567-89ab-cdef-0123-456789abcdef';
begin
return ARRAY[uuid1, uuid2, null, uuid3];
end; $$;
Hibernate: SELECT returnUuidArray()
Hibernate: create or replace function returnEmptyArray()
returns text[]
stable -- leakproof
language plpgsql as $$
declare
emptyArray text[] = '{}';
begin
return emptyArray;
end; $$;
Hibernate: SELECT returnEmptyArray()