11039850 / monalisa-eclipse

Eclipse plugin, auto generate Model,DTO; Support written java multi-lines string.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Eclipse Plugin

Drag to your running Eclipse workspace to install monalisa-orm

OR

  • Download plugin ,Place the jar to : eclipse/plugins
  • Restart Eclipse

Full example: Example Project

Multiline Strings

Plugin installed, you can write multiline strings. For detail: Multiline Syntax

Effect as shown below:

image

Auto generate the model classes (Saved: Ctrl+S)

  • Need to set up project(Properties->Java Compiler)

    JDK compliance: >= 1.6

  • Need to set up project(Properties->Java Compiler->Annotation Processing)

    Enable this option: Enable annotation processing

Like this:

image

Auto generate DTOs according the SQL code

  • Need to set up eclipse (Window->Preferences->Java->Editor->Save Action -> Configure -> monalisa)

    Enable this option: @Select

Like this:

image

About

Eclipse plugin, auto generate Model,DTO; Support written java multi-lines string.


Languages

Language:Java 99.7%Language:HTML 0.3%