Hi Forum,
I'm starting to edit the default templates but i'm not being able to find any list of which class each context variable represent, does someone knows where i could find it ?
Here is the ones that i've found :
Post by Max somewhere in JIRA
Quote:
cfg = org.hibernate.mapping.Configuration
pojo = PojoClass
c2j = Cfg2JavaTool
c2h = Cfg2HbmTool
version = tool version number
date = DateTool
templates = used to e.g. create a file from a ftl template
importContext is something that is very much exporter and context dependent and not something that should be "global".
e.g. pojo's importContext is for that class and not for others. so if you need an additional importcontext you just create one.
hmgs = HibernateMappingGlobalSettings
clazz = ???? (I believe that's like pojo but just can't figure out what interface that should implement)
date = ???? (I didn't found any DateTool class)
If you found something relevant that should be here too please post it.
Thank's in advance