DEV Community

slankka
slankka

Posted on

IntelliJ IDEA JPABuddy Mapstruct Tips

A few moment ago, I found a JPA Buddy usage gap:

new -> Other(JPABuddy icon): MapStruct Interface

It always create Mapstruct interface using kotlin while I'm not using kotlin in my project. however, the pannel new Mapstruct Interface has no language option.

It tooks some time to find out that change .idea/jpa.xml in project root works. Now change Kotlin to Java works for me.

  <component name="JpaPluginProjectSettings">
    <option name="lastSelectedLanguage" value="Kotlin" />
  </component>
Enter fullscreen mode Exit fullscreen mode

Top comments (0)