HHH-10196 DefaultGeneratedValueTest fails on MySQL

fix

(cherry picked from commit 6ff0abf682637004e6fca1cdb679e27642c4afcc)
This commit is contained in:
Jan Martiska 2015-10-15 14:12:45 +02:00 committed by Steve Ebersole
parent 513f11fa5f
commit 01c358991f

View File

@ -22,7 +22,9 @@
import org.hibernate.annotations.GenerationTime;
import org.hibernate.annotations.GeneratorType;
import org.hibernate.annotations.UpdateTimestamp;
import org.hibernate.dialect.MySQLDialect;
import org.hibernate.dialect.SybaseDialect;
import org.hibernate.testing.SkipForDialects;
import org.hibernate.tuple.ValueGenerator;
import org.hibernate.testing.SkipForDialect;
@ -42,7 +44,10 @@
* @author Steve Ebersole
* @author Gunnar Morling
*/
@SkipForDialect(value=SybaseDialect.class, comment="CURRENT_TIMESTAMP not supported as default value in Sybase")
@SkipForDialects({
@SkipForDialect(value = SybaseDialect.class, comment = "CURRENT_TIMESTAMP not supported as default value in Sybase"),
@SkipForDialect(value = MySQLDialect.class, comment = "See HHH-10196", strictMatching = false)
})
public class DefaultGeneratedValueTest extends BaseCoreFunctionalTestCase {
@Test