Skip to content

Commit 5ad0d9f

Browse files
committed
[1.3.0] - 2023-09-24
1 parent 9f4cc17 commit 5ad0d9f

File tree

9 files changed

+32
-86
lines changed

9 files changed

+32
-86
lines changed

.github/workflows/codeql.yml

Lines changed: 0 additions & 76 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [1.3.0] - 2023-09-24
11+
1012
### Added
1113

1214
- Code of conduct badge and file
@@ -15,13 +17,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1517

1618
- [Sonar cloud workflow merged in maven build](.github/workflows/deploy_maven_package.yml)
1719
- fj-bom version set to 1.4.5
18-
- fj-core version set to 8.3.8
20+
- fj-core version set to 8.3.9
1921
- fj-doc version set to 3.0.9
2022
- Removed javax.ejb.Stateles annotation from default rest generator
2123
- Fixed typo on FactoryDefGenerator
2224
- Stream loadAll method added to FacadeDefGenerator and FacadeImplDataGenerator (#17)
2325
- Added loadById Optional to FacadeDefGenerator and FacadeImplDataGenerator (#17)
2426
- Sample stub for finder, facade and rest load classes regenerated.
27+
- column size attribute from short to int daogen-config-1-0.xsd
28+
- definition of mapToTable entity attribute daogen-config-1-0.xsd
29+
- code optimization
2530

2631
### Removed
2732

fj-daogen-base/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-daogen</artifactId>
10-
<version>1.3.0-SNAPSHOT</version>
10+
<version>1.3.0</version>
1111
</parent>
1212

1313
<name>fj-daogen-base</name>

fj-daogen-base/src/main/resources/config/daogen-config-1-0.xsd

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* @project : fj-daogen
88
* @creation : 2020-11-12
9-
* @version : 1.0.0-rc.3 (2023-09-05)
9+
* @version : 1.0.0-rc.4 (2023-09-24)
1010
*
1111
* XSD for fugerit daogen configuration
1212
*/
@@ -390,6 +390,12 @@ The entry point for daogen-config documentation is : https://marsdocs.fugerit.or
390390
<xsd:documentation>It is usually safe to keep the default.</xsd:documentation>
391391
</xsd:annotation>
392392
</xsd:attribute>
393+
<xsd:attribute type="xsd:string" name="mapToTable" use="optional">
394+
<xsd:annotation>
395+
<xsd:documentation>Map the entity to a different table.</xsd:documentation>
396+
<xsd:documentation>(e.g. 'alt_entity_name')</xsd:documentation>
397+
</xsd:annotation>
398+
</xsd:attribute>
393399
</xsd:complexType>
394400

395401
<xsd:complexType name="fieldType">
@@ -419,7 +425,7 @@ The entry point for daogen-config documentation is : https://marsdocs.fugerit.or
419425
<xsd:documentation>'yes' if the field is nullable, 'no' if not. default 'yes'</xsd:documentation>
420426
</xsd:annotation>
421427
</xsd:attribute>
422-
<xsd:attribute type="xsd:short" name="size" use="optional" >
428+
<xsd:attribute type="xsd:int" name="size" use="optional" >
423429
<xsd:annotation>
424430
<xsd:documentation>The size of the field. (i.e'. the size of a varchar, generally not needed).</xsd:documentation>
425431
<xsd:documentation>(e.g. '128')</xsd:documentation>

fj-daogen-maven-plugin/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-daogen</artifactId>
10-
<version>1.3.0-SNAPSHOT</version>
10+
<version>1.3.0</version>
1111
</parent>
1212

1313
<packaging>maven-plugin</packaging>

fj-daogen-sample/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-daogen</artifactId>
10-
<version>1.3.0-SNAPSHOT</version>
10+
<version>1.3.0</version>
1111
</parent>
1212

1313
<name>fj-daogen-sample</name>

fj-daogen-tool/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.fugerit.java</groupId>
99
<artifactId>fj-daogen</artifactId>
10-
<version>1.3.0-SNAPSHOT</version>
10+
<version>1.3.0</version>
1111
</parent>
1212

1313
<name>fj-daogen-tool</name>

pom.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
<artifactId>fj-daogen</artifactId>
1313

14-
<version>1.3.0-SNAPSHOT</version>
14+
<version>1.3.0</version>
1515
<packaging>pom</packaging>
1616

1717
<name>fj-daogen</name>
@@ -24,7 +24,7 @@
2424
<maven.compiler.source>${java-version-compliance}</maven.compiler.source>
2525
<maven.compiler.target>${java-version-compliance}</maven.compiler.target>
2626
<maven.compiler.release>${java-version-compliance}</maven.compiler.release>
27-
<fj-version>8.3.8</fj-version>
27+
<fj-version>8.3.9</fj-version>
2828
<fj-doc-version>3.0.9</fj-doc-version>
2929
<javax-rs-api-version>2.1.1</javax-rs-api-version>
3030
<fj-daogen-version>${project.version}</fj-daogen-version>

src/docs/config/daogen-config-xsd-ref.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,6 +729,17 @@ <h1 style="font-weight: bold;">Reference daogen-config.xsd documentation for Ma
729729
<td id="cell_8_2" style="width: 40%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 2px;">
730730
<span >string</span>
731731
</td>
732+
</tr>
733+
<tr>
734+
<td id="cell_9_0" style="width: 20%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 2px;">
735+
<span >mapToTable</span>
736+
</td>
737+
<td id="cell_9_1" style="width: 40%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 2px;">
738+
<span >Map the entity to a different table. (e.g. 'alt_entity_name')</span>
739+
</td>
740+
<td id="cell_9_2" style="width: 40%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 2px;">
741+
<span >string</span>
742+
</td>
732743
</tr>
733744
</tbody>
734745
</table>
@@ -811,7 +822,7 @@ <h1 style="font-weight: bold;">Reference daogen-config.xsd documentation for Ma
811822
<span >The size of the field. (i.e'. the size of a varchar, generally not needed). (e.g. '128')</span>
812823
</td>
813824
<td id="cell_4_2" style="width: 40%; border-top: 1px solid black; border-bottom: 1px solid black; border-left: 1px solid black; border-right: 1px solid black; padding: 2px;">
814-
<span >short</span>
825+
<span >int</span>
815826
</td>
816827
</tr>
817828
<tr>

0 commit comments

Comments
 (0)