Note that there are some explanatory texts on larger screens.

plurals
  1. USAskSharma
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. COThanks for your revert.you are right with your suggesion but i dont want to create a new property in my any entity class or DB table. I have already created Tables in database. pls refer edited question for table PRODUCT_VENDOR_PAYMENT_OPTION_LOCATION where i have 3 foreign keys and one composite key. i am refering Payment_Options class's foreign key using joincolumn, similarly i am refering keys to pincodes and Product_Catalog_Vendor keys which is working fine,so why i am getting the issue with Payment_Options class.So tell me what is the issue with this mapping ,m i mising somthing?
      singulars
    2. COYes you are right, but in my PRODUCT_VENDOR_PAYMENT_OPTION_LOCATION table, i made composite primary key (ID,Payment_Id, PINCODE_ID) where i am using Payment_Id to refer the Product_Catalog_Vendor Table's primary key id and similarly i am refering PINCODES table's primary key PINCODE_ID with PRODUCT_VENDOR_PAYMENT_OPTION_LOCATION table's PINCODE_ID key which is foreign key and primary key too. i think you were asking me this? am i on the right direction?
      singulars
    3. COi dont want to add new column in my table (product_catalog_vendor). how do i refer primary key of table product_catalog_vendor from PRODUCT_VENDOR_PAYMENT_OPTION_LOCATION entity without using mappedBy. Because Payment_Id,pincode_id,payment_options are foreign keys in my table with composite key (ID,Payment_Id, PINCODE_ID). I am working on hibernate from last one and half months so may be i am missing something, will u pls help me to get the solution here. pls find tables here http://stackoverflow.com/questions/18118440/org-hibernate-mappingexception-named-query-not-known
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload