Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions ant/docs/examples/native/Foo.java
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
public class Foo {

public int id;
Expand Down
3 changes: 3 additions & 0 deletions ant/docs/examples/native/build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,14 @@
<hibernatetool destdir="generated">
<classpath location="."/>
<!-- Native configuration read from 'hibernate.cfg.xml' -->
<!-- Additional properties defined in 'hibernate.properties' -->
<configuration
configurationfile="hibernate.cfg.xml"
propertyfile="hibernate.properties">
<!-- Additional files to add to the configuration -->
<fileset file="Foo.hbm.xml"/>
</configuration>
<!-- Export the DDL file as an example use of the native configuration above -->
<hbm2ddl outputfilename="foo.sql"/>
</hibernatetool>

Expand Down