-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify version management Refactor RelationsManager and Mappers generated code Extend ApigenRepository default methods Document extension strategies
- Loading branch information
1 parent
011a6e8
commit 080cbe2
Showing
22 changed files
with
437 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
39 changes: 39 additions & 0 deletions
39
.../apiaddicts/apitools/apigen/archetypecore/core/persistence/stubs/FakeEntityBigEntity.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
package org.apiaddicts.apitools.apigen.archetypecore.core.persistence.stubs; | ||
|
||
import lombok.Getter; | ||
import lombok.Setter; | ||
import org.apiaddicts.apitools.apigen.archetypecore.core.persistence.ApigenAbstractPersistable; | ||
|
||
import javax.persistence.*; | ||
import java.math.BigDecimal; | ||
import java.math.BigInteger; | ||
|
||
@Getter | ||
@Setter | ||
@Entity | ||
@Table(name = "big_entity") | ||
public class FakeEntityBigEntity extends ApigenAbstractPersistable<Long> { | ||
|
||
@Id | ||
@GeneratedValue(strategy = GenerationType.IDENTITY) | ||
private Long id; | ||
|
||
private BigInteger bInt; | ||
private BigDecimal bDec; | ||
|
||
|
||
@Override | ||
public Long getId() { | ||
return id; | ||
} | ||
|
||
@Override | ||
public void setId(Long id) { | ||
this.id = id; | ||
} | ||
|
||
@Override | ||
public boolean isReference() { | ||
return getId() != null; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
...s/apitools/apigen/archetypecore/core/persistence/stubs/FakeEntityBigEntityRepository.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
package org.apiaddicts.apitools.apigen.archetypecore.core.persistence.stubs; | ||
|
||
import org.apiaddicts.apitools.apigen.archetypecore.core.persistence.ApigenRepository; | ||
import org.springframework.stereotype.Repository; | ||
|
||
@Repository | ||
public interface FakeEntityBigEntityRepository extends ApigenRepository<FakeEntityBigEntity, Long> { | ||
} |
Oops, something went wrong.