mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-22 14:16:53 +00:00
Changed package naming across all examples.
This commit is contained in:
1 parent
703ebd3e20
commit
8524c75ba6
437 files changed
+1095
-1402
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package com.iluwatar.servicelayer.common;
|
||||
|
||||
import javax.persistence.Inheritance;
|
||||
import javax.persistence.InheritanceType;
|
||||
import javax.persistence.MappedSuperclass;
|
||||
import javax.persistence.Version;
|
||||
|
||||
/**
|
||||
*
|
||||
* Base class for entities.
|
||||
*
|
||||
*/
|
||||
@MappedSuperclass
|
||||
@Inheritance(strategy=InheritanceType.TABLE_PER_CLASS)
|
||||
public class BaseEntity {
|
||||
|
||||
@Version
|
||||
private Long version;
|
||||
}
|
||||
Reference in new issue
Block a user