Skip to content

mybatisを利用しているのに「SQLが見つかりませんでした」メッセージが出る場合についての質問 #473

@kbtaniguchi

Description

@kbtaniguchi
- SQLが見つかりませんでした。SQLを実装していない場合やMyBatisを使用していない場合は正常です。このメッセージが出る場合、データソース一覧にCRUDが出力されません。

infrastracture.datasource配下にパッケージを切り、リポジトリを実装したdatasorce class, mybatis mapper interface, mapper xmlを置く、という https://github.com/dddjava/jig-tutorial#-%E6%83%B3%E5%AE%9A%E3%81%99%E3%82%8B%E3%83%91%E3%83%83%E3%82%B1%E3%83%BC%E3%82%B8%E6%A7%8B%E6%88%90 で想定の構成にしていますが、その場合に上記のメッセージが出る場合、なにか設定が足りていないなどあるでしょうか?
ちなみに、datasorce class, mybatis mapper interface, mapper xmlの各ファイル名は日本語で命名していますが、それが原因だったりするでしょうか?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions