Skip to content

Commit

Permalink
fj-daogen-version set to 1.7.7
Browse files Browse the repository at this point in the history
  • Loading branch information
fugerit79 committed Mar 10, 2024
1 parent 20f6176 commit ad520fd
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- fj-daogen-version set to 1.7.6
- fj-daogen-version set to 1.7.7
- fj-version set to 8.5.3
- dao-finder-ng-mode 'enabled'

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<skipITs>true</skipITs>
<surefire-plugin.version>3.2.5</surefire-plugin.version>
<fj-version>8.5.3</fj-version>
<fj-daogen-version>1.7.6</fj-daogen-version>
<fj-daogen-version>1.7.7</fj-daogen-version>
<build-helper-maven-plugin-version>3.4.0</build-helper-maven-plugin-version>
<gen.base.dir>${project.basedir}</gen.base.dir>
<generated.source.daogen>target/generated-sources/daogen</generated.source.daogen>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,22 @@ public void printAll( ModelDocument current ) {
public ModelDocument newInstance() {
WrapperDocument current = new WrapperDocument( new HelperDocument() );
current.setId(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setIdOwner(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setIdCreator(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setCreationDate(new java.util.Date());
Assertions.assertFalse( current.isEmpty() );
current.setUpdateDate(new java.util.Date());
Assertions.assertFalse( current.isEmpty() );
current.setPath("1");
Assertions.assertFalse( current.isEmpty() );
current.setState(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setInfo(null);
Assertions.assertFalse( current.isEmpty() );
logger.info( "unwrap : {}", current.unwrap( current ) );
return current;
}
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,12 @@ public void printAll( ModelExample01 current ) {
public ModelExample01 newInstance() {
WrapperExample01 current = new WrapperExample01( new HelperExample01() );
current.setField1("1");
Assertions.assertFalse( current.isEmpty() );
current.setField2(new java.util.Date());
Assertions.assertFalse( current.isEmpty() );
current.setField3("1");
Assertions.assertFalse( current.isEmpty() );
logger.info( "unwrap : {}", current.unwrap( current ) );
return current;
}
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ public void printAll( ModelMappedTable current ) {
public ModelMappedTable newInstance() {
WrapperMappedTable current = new WrapperMappedTable( new HelperMappedTable() );
current.setId(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setContent("1");
Assertions.assertFalse( current.isEmpty() );
logger.info( "unwrap : {}", current.unwrap( current ) );
return current;
}
@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,15 +42,23 @@ public void printAll( ModelPerson current ) {
public ModelPerson newInstance() {
WrapperPerson current = new WrapperPerson( new HelperPerson() );
current.setId(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setSurname("1");
Assertions.assertFalse( current.isEmpty() );
current.setName("1");
Assertions.assertFalse( current.isEmpty() );
current.setBirthDate(new java.util.Date());
Assertions.assertFalse( current.isEmpty() );
current.setNote("1");
Assertions.assertFalse( current.isEmpty() );
current.setIdMother(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setIdFather(new java.math.BigDecimal( "1" ));
Assertions.assertFalse( current.isEmpty() );
current.setMother( new org.fugerit.java.daogen.quickstart.impl.helper.HelperPerson() );
current.setFather( new org.fugerit.java.daogen.quickstart.impl.helper.HelperPerson() );
current.setOwnedDocuments( new java.util.ArrayList<org.fugerit.java.daogen.quickstart.def.model.ModelDocument>() );
logger.info( "unwrap : {}", current.unwrap( current ) );
return current;
}
@Test
Expand Down

0 comments on commit ad520fd

Please sign in to comment.