You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
assertThat( statementDetails.getSqlString() ).isEqualTo( "insert into EntityWithIdentity values ( )" );
74
-
}
51
+
fail( "Should have thrown MappingException!" );
52
+
}
53
+
catch (MappingExceptione) {
54
+
MatcherAssert.assertThat(
55
+
e.getMessage(),
56
+
is( "The INSERT statement for table [EntityWithIdentity] contains no column, and this is not supported by [" + HANAColumnStoreDialect.class.getName() + "]" )
Copy file name to clipboardExpand all lines: hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/temporals/MultipleGeneratedValuesTests.java
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@
13
13
14
14
importorg.hibernate.HibernateError;
15
15
importorg.hibernate.annotations.CurrentTimestamp;
16
+
importorg.hibernate.dialect.SQLServerDialect;
16
17
importorg.hibernate.dialect.SybaseASEDialect;
17
18
importorg.hibernate.tuple.GenerationTiming;
18
19
@@ -35,6 +36,7 @@
35
36
@SessionFactory
36
37
@RequiresDialectFeature(feature = DialectFeatureChecks.CurrentTimestampHasMicrosecondPrecision.class, comment = "Without this, we might not see an update to the timestamp")
37
38
@SkipForDialect( dialectClass = SybaseASEDialect.class, matchSubTypes = true, reason = "CURRENT_TIMESTAMP not supported in insert/update in Sybase ASE. Also see https://groups.google.com/g/comp.databases.sybase/c/j-RxPnF3img" )
0 commit comments