I got ERD from database, now i’m want to generate hibernate code. That’s fine, but! Lots of files placed under packages with names started with “orm”. How to change this? I want my package structure follow “com.companyname” notation, but not “ormmapping.com.companyname” and no more packages in the root except one.
My comment should be in my native language, but after code generation all my native simbols are squares. I try everything in the Application settings of SDE, but the result all time is the same. In database all fine.
How to change TAB to spaces in generated code? The settings didn’t work. I use ORM->Wizards to generate code and DB.
Actually the “ormmapping” folder is solely a directory storing your ORM mapping files, it does not affect your package structure of objects. It can avoid mixing ORM mapping files and source code in the output directory.
I’ve passed this issue to our engineers to follow-up. Once there is any feedback, I’ll come back to you.
I’m sorry that changing TAB to spaces is not supported, but we will consider it.
P.S. Wish you a Merry Christmas and Happy New Year!
I would like to notify you that the non-English comment problem in ORM code has been fixed, please update your software to latest patch (sp1_20100106a or later). More details about update to latest patch can be found from:
Please let me know if there is anything we can do to help. Wish you a happy new year!