I've a weird problem using the ant reverse enginering task,
reversing from the database using the hbm2java, hbm2hbmxml and hbm2cfgxml tasks and a jdbcconfiguration
Hibernate version:
Hibernate Core 3.2.5.ga
Hibernate Tools 3.2.0 Beta9
Full stack trace of any exception that occurs:
during build:
Code:
[javac] src\java\com\dsdatafashion\domain\persisten
ce\hibernate\AnnStagId.java:9: class AnnstagId is public, should be declared in a file named AnnstagId.java
[javac] public class AnnstagId implements java.io.Serializable {
[javac] ^
[javac] src\java\com\dsdatafashion\domain\persistence\hibernate\Annstag.java:12: class AnnStag is public, should be declared in a file named AnnStag.java
[javac] public class AnnStag implements java.io.Serializable {
[javac] ^
the classes are generate for a table called ANN_STAG
ant generates the right classname, but uses the wrong case for the file
(AnnStag -> Annstag)
the S.O. is windows 2003.
I can provide with a reverse engineering log or xml configuration if needed.[/code]