Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

question: How to get related table name #1

Open
mortoza opened this issue Apr 27, 2015 · 1 comment
Open

question: How to get related table name #1

mortoza opened this issue Apr 27, 2015 · 1 comment

Comments

@mortoza
Copy link

mortoza commented Apr 27, 2015

Hi
A quick question, While developing the template how did you get the name of foreign table name using FreeMarker? for example department table name from Employee table ?

@enyachoke
Copy link
Owner

I used the intellij plugin platform which provides velocity templates (I have not used free marker). The intellij plugin platform also provides a handy com.intellij.psi.PsiClass which provides me with all the attributes of the class am dealing with I can then determine if the class is a relationship or not. Hope this helps. Free free to ask for clarification.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants