Skip to content

Instantly share code, notes, and snippets.

@aeris
Created December 9, 2012 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aeris/4247357 to your computer and use it in GitHub Desktop.
Save aeris/4247357 to your computer and use it in GitHub Desktop.
public String foreignKeyColumnName(final String propertyName,
final String propertyEntityName, final String propertyTableName,
final String referencedColumnName) {
return this.columnName(propertyTableName) + "_"
+ this.columnName(referencedColumnName);
}
set nocompatible
set backspace=indent,eol,start
set nobackup
set number
set background=dark
if has("syntax")
syntax on
endif
if has("autocmd")
filetype indent on
endif
set ruler
set autoread
set errorbells
set novisualbell
set t_vb=
set showmatch
set matchtime=2
set smartcase
set ignorecase
"set incsearch
set infercase
set paste
set ttyfast
map <C-a> ggVG
map <C-c> "+ygv
map <C-x> "+x
map <C-p> "+gP
set cursorline
"highlight CursorLine ctermbg=white
set smarttab
set nostartofline
set tabstop=4
set softtabstop=4
set shiftwidth=4
"set expandtab
set autoindent
set smartindent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment