Skip to content

Commit 3a30ca2

Browse files
VladoKurucbeikov
authored andcommitted
Informix Blob locator fix
1 parent 7a05b75 commit 3a30ca2

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,16 @@ public boolean supportsCurrentTimestampSelection() {
531531
return true;
532532
}
533533

534+
@Override
535+
public boolean supportsLobValueChangePropagation() {
536+
return false;
537+
}
538+
539+
@Override
540+
public boolean supportsUnboundedLobLocatorMaterialization() {
541+
return false;
542+
}
543+
534544
@Override
535545
public boolean isCurrentTimestampSelectStringCallable() {
536546
return false;

hibernate-core/src/test/java/org/hibernate/orm/test/lob/BlobLocatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public String[] getMappings() {
4545

4646
@Test
4747
@RequiresDialectFeature(
48-
value = DialectChecks.SupportsUnboundedLobLocatorMaterializationCheck.class,
48+
value = DialectChecks.SupportsExpectedLobUsagePattern.class,
4949
comment = "database/driver does not support materializing a LOB locator outside the owning transaction"
5050
)
5151
public void testBoundedBlobLocatorAccess() throws Throwable {

0 commit comments

Comments
 (0)