Doma Tools is an Eclipse plugin for Doma.
Doma Tools does the following:
- cross navigation between Java and SQL files.
- triggering the annotation processing when saving SQL files.
https://marketplace.eclipse.org/content/doma-tools
Depending on the edition of Eclipse you are using, this setting may not be necessary.
You must open the SQL file in Eclipse to use the Doma tools. Therefore, it is necessary to set up file associations.
- Select
Eclipse > Preference…
orWindow > Preference
from menu bar and open preference dialog. - Associate
.sql
toText Ecitor
. - Associate
.script
toText Ecitor
.
- Select a method, right-click, and select
Doma > Jump to SQL File
to jump to an SQL file. If the file does not exist, a dialog box will open for creating a new file.
- Right-click, and select
Doma > Jump to Dao
to jump to a Dao interface.
Apache License, Version 2.0