Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf41b7dd

Browse files
committed
HBX-3242: Create an exporter type to generater mapping.xml files
- Initial creation of MappingExporterSigned-off-by: Koen Aers <koen.aers@gmail.com>
1 parentffb164e commitf41b7dd

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
packageorg.hibernate.tool.internal.export.mapping;
2+
3+
importorg.hibernate.tool.api.export.Exporter;
4+
5+
importjava.util.Properties;
6+
7+
publicclassMappingExporterimplementsExporter {
8+
9+
@Override
10+
publicPropertiesgetProperties() {
11+
returnnull;
12+
}
13+
14+
@Override
15+
publicvoidstart() {
16+
}
17+
}
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
packageorg.hibernate.tool.internal.export.mapping;
2+
3+
importstaticorg.junit.jupiter.api.Assertions.assertNotNull;
4+
5+
importorg.junit.jupiter.api.Test;
6+
7+
publicclassMappingExporterTest {
8+
9+
@Test
10+
publicvoidtestStart() {
11+
MappingExporterexporter =newMappingExporter();
12+
assertNotNull(exporter);
13+
exporter.start();
14+
}
15+
16+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp