|
24 | 24 | import org.hibernate.cfg.AvailableSettings; |
25 | 25 | import org.hibernate.cfg.Configuration; |
26 | 26 | import org.hibernate.dialect.H2Dialect; |
| 27 | +import org.hibernate.dialect.SybaseDialect; |
27 | 28 | import org.hibernate.query.Query; |
28 | 29 | import org.hibernate.dialect.MariaDBDialect; |
29 | 30 | import org.hibernate.dialect.MySQLDialect; |
30 | | -import org.hibernate.dialect.SybaseDialect; |
31 | 31 | import org.hibernate.type.StandardBasicTypes; |
32 | 32 |
|
33 | 33 | import org.hibernate.testing.orm.junit.JiraKey; |
@@ -114,13 +114,13 @@ public static List<Object[]> data() { |
114 | 114 | b -> b |
115 | 115 | .add( 1600, 1, 1, 0, 0, 0, 0, "+00:19:32", ZONE_AMSTERDAM ) |
116 | 116 | ) |
117 | | - // HHH-13379: DST end (where Timestamp becomes ambiguous, see JDK-4312621) |
118 | | - // => This used to work correctly in 5.4.1.Final and earlier |
119 | | - .skippedForDialects( |
120 | | - dialect -> dialect instanceof H2Dialect && ( (H2Dialect) dialect ).hasOddDstBehavior(), |
121 | | - b -> b.add( 2018, 10, 28, 2, 0, 0, 0, "+01:00", ZONE_PARIS ) |
122 | | - .add( 2018, 4, 1, 2, 0, 0, 0, "+12:00", ZONE_AUCKLAND ) |
123 | | - ) |
| 117 | +// // HHH-13379: DST end (where Timestamp becomes ambiguous, see JDK-4312621) |
| 118 | +// // => This used to work correctly in 5.4.1.Final and earlier |
| 119 | +// .skippedForDialects( |
| 120 | +// dialect -> dialect instanceof H2Dialect && ( (H2Dialect) dialect ).hasOddDstBehavior(), |
| 121 | +// b -> b.add( 2018, 10, 28, 2, 0, 0, 0, "+01:00", ZONE_PARIS ) |
| 122 | +// .add( 2018, 4, 1, 2, 0, 0, 0, "+12:00", ZONE_AUCKLAND ) |
| 123 | +// ) |
124 | 124 | // => This has never worked correctly, unless the JDBC timezone was set to UTC |
125 | 125 | .withForcedJdbcTimezone( "UTC", b -> b |
126 | 126 | .add( 2018, 10, 28, 2, 0, 0, 0, "+02:00", ZONE_PARIS ) |
|
0 commit comments