Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [dali-dev] Inner class visibility

I have entered bug 310653 for this problem.  Checking this in today, let me know if I miss any.

Karen

On 4/27/2010 2:24 AM, Dmitry Geraskov wrote:
Hi, Karen,

no, it is not a bug in Dali. Hibernate uses Naming strategy to map database table/column name to entity table/column name.
see http://www.javatx.cn/hibernate/api/org/hibernate/cfg/NamingStrategy.html

That is why we need to change methods like getDefaultTableName/getDbTable... in AbstractOrmEntity$PrimaryKeyJoinColumnOwner - to use specified NamingStrategy in the methods

Dmitry

26/04/2010 19:00, Karen Butzke wrote:
Dmitry,
I am curious what NamingStrategy is and why you are needing to change the code in that owner class.  Is it a bug that should be fixed in Dali?
Thanks,
Karen

On 4/26/2010 5:12 AM, Dmitry Geraskov wrote:
Hi, guys,
could you please set inner classes visibility to 'protected' instead of 'package' in inner classes.
For example we would like to reuse AbstractOrmEntity$PrimaryKeyJoinColumnOwner to make it use NamingStrategy, but have to copy all other methods.

Thanks,
Dmitry.
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev
_______________________________________________
dali-dev mailing list
dali-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/dali-dev

Back to the top