-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: ant reverse engineering case mismatch
PostPosted: Mon Sep 24, 2007 11:16 am 
Newbie

Joined: Wed Sep 05, 2007 6:19 am
Posts: 11
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]


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.