Commit cddd03ff authored by Matija Obreza's avatar Matija Obreza

Merge branch '32-joined-inheritance-strategy' into 'master'

Resolve "JOINED inheritance strategy"

Closes #32

See merge request !38
parents 8918129f cc20fbee
Pipeline #13628 passed with stage
in 2 minutes and 11 seconds
......@@ -66,7 +66,7 @@ import com.fasterxml.jackson.annotation.ObjectIdGenerators;
indexes = { @Index(unique = false, columnList = "folder_id", name = "IX_repoFile_path") }
// unique
, uniqueConstraints = { @UniqueConstraint(columnNames = { "folder_id", "originalFilename" }) })
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
@Inheritance(strategy = InheritanceType.JOINED)
public class RepositoryFile extends AuditedVersionedModelWithoutId implements AclAwareModel, BaseMetadata, Copyable<RepositoryFile>, SelfCleaning {
/** The Constant serialVersionUID. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment