バージョン選択

フォーラム

メニュー

オンライン状況

28 人のユーザが現在オンラインです。 (19 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 28
もっと...

サイト内検索

質問 > 管理機能 > findメソッドがエラー

管理機能

新規スレッドを追加する

フラット表示 前のトピック | 次のトピック
投稿者 スレッド
yuy-tank
投稿日時: 2018/3/30 9:38
対応状況: −−−
一人前
登録日: 2017/11/10
居住地:
投稿: 72
Re: findメソッドがエラー
ご返信ありがとうございます。
dcm.ymlは次のように書きました。ちなみにこのファイルは、fieldsに定義がないこと以外、ECCUBEの開発ドキュメントの"エンティティ、リポジトリ" という項目に書いてあるものと内容がほとんど同じです。


Plugin\PriceExpansion\Entity\PriceProduct:
    type: entity
    table: plg_price_product
    repositoryClass: Plugin\PriceExpansion\Repository\PriceProductRepository
    id:
        id:
            type: integer
            nullable: false
            id: true
            column: price_product_id
            generator:
                strategy: AUTO
            options:
                unsigned: true
    fields:
    oneToOne:
        Product:
            targetEntity: Eccube\Entity\Product
            inversedBy: PriceProduct
            joinColumn:
                name: product_id
                referencedColumnName: product_id
                nullable: false
                options:
                  unsigned: true
    lifecycleCallbacks: {  }
フラット表示 前のトピック | 次のトピック


題名 投稿者 日時
   findメソッドがエラー yuy-tank 2018/3/23 12:18
     Re: findメソッドがエラー umebius 2018/3/25 9:58
     » Re: findメソッドがエラー yuy-tank 2018/3/30 9:38

 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は89,393名です
総投稿数は110,082件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2314
5
umebius
2085
6
yuh
1819
7
h_tanaka
1652
8
red
1570
9
mcontact
1304
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.