HHH-13095 - Document how to use arithmetic expressions in CASE statements
Fix tests failing on MariaDB and MySQL
This commit is contained in:
parent
ae4652378c
commit
dc89e7199d
|
@ -6,6 +6,7 @@
|
||||||
*/
|
*/
|
||||||
package org.hibernate.userguide.mapping.identifier.composite;
|
package org.hibernate.userguide.mapping.identifier.composite;
|
||||||
|
|
||||||
|
import javax.persistence.Column;
|
||||||
import javax.persistence.Entity;
|
import javax.persistence.Entity;
|
||||||
import javax.persistence.Id;
|
import javax.persistence.Id;
|
||||||
|
|
||||||
|
@ -19,8 +20,10 @@ class Event {
|
||||||
@Id
|
@Id
|
||||||
private EventId id;
|
private EventId id;
|
||||||
|
|
||||||
|
@Column(name = "event_key")
|
||||||
private String key;
|
private String key;
|
||||||
|
|
||||||
|
@Column(name = "event_value")
|
||||||
private String value;
|
private String value;
|
||||||
|
|
||||||
//Getters and setters are omitted for brevity
|
//Getters and setters are omitted for brevity
|
||||||
|
|
Loading…
Reference in New Issue