Hi Polly, I think both these adjustment are good and I would like to change in the same way in Sculptor original. Can you contribute with a patch?
/Patrik amphoras wrote: > > Hi, > > I made a couple of changes in my modified version of Sculptor. I'm > pretty sure that these are both default behaviors of Sculptor that I've > modified, but I could have broken something or not kept up with the latest > developments. Anyway, I just thought I'd let you know as an FYI kind of > feedback. > > Currently, the generator creates one hbm.xml file for each enum's typedef > definition. I have a lot of enums, so I found that having so many files > was cumbersome. I changed my version of the template to generate all the > enum typedefs in one file for each module. > > Also, even when a module has no persistent objects, I found that the > generator still creates a query.hbm.xml file for it. This seemed > unnecessary to me. I changed the template to generate these files only > when a module has persistent objects. > > --Polly > -- View this message in context: http://www.nabble.com/-Sculptor--modifications-for-Hibernate-generation-tp20153175s17564p20177242.html Sent from the Fornax-Platform mailing list archive at Nabble.com. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Fornax-developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fornax-developer
