HHH-13095 - Document how to use arithmetic expressions in CASE statements

Fix tests failing on MariaDB and MySQL
This commit is contained in:
Vlad Mihalcea 2018-12-06 15:54:22 +02:00
parent ae4652378c
commit dc89e7199d
1 changed files with 3 additions and 0 deletions

View File

@ -6,6 +6,7 @@
*/
package org.hibernate.userguide.mapping.identifier.composite;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
@ -19,8 +20,10 @@ class Event {
@Id
private EventId id;
@Column(name = "event_key")
private String key;
@Column(name = "event_value")
private String value;
//Getters and setters are omitted for brevity