+1

Alex

On 10/15/2010 09:41 PM, Caleb James DeLisle wrote:
> In order to make direct sql queries as similar to hql as possible (and as 
> easy as possible), I
> propose that for any new database columns or tables, we begin using column 
> names which match the
> name of the java object properties, and table names which match the class 
> name.
> 
> I would like to put a note at the top of xwiki.hbm.xml which says:
> 
> <!--
> All new table names should be all lower case versions of the name of the 
> class which they represent
> for example:
> XWikiDocument should map to a table called xwikidocument
> All new column names should be all lower case versions of the property which 
> they represent for example:
> fullName should map to a column called fullname
> -->
> 
> WDYT?
> 
> Caleb
> 
> _______________________________________________
> devs mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/devs
> 
_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to