BAEL-4900 Code formatting fixed with intellij formatter
This commit is contained in:
parent
48aa7c5425
commit
f9ae7b18a7
@ -15,7 +15,6 @@ public class Address {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getCity() {
|
public String getCity() {
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
package com.baeldung.attribute.overwrite.entity;
|
package com.baeldung.attribute.overwrite.entity;
|
||||||
|
|
||||||
|
import javax.persistence.AttributeOverride;
|
||||||
|
import javax.persistence.AttributeOverrides;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.ElementCollection;
|
||||||
|
import javax.persistence.Embedded;
|
||||||
|
import javax.persistence.Entity;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.persistence.*;
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@AttributeOverride(name = "identifier", column = @Column(name = "VIN"))
|
@AttributeOverride(name = "identifier", column = @Column(name = "VIN"))
|
||||||
public class Car extends Vehicle {
|
public class Car extends Vehicle {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user