19 package org.turro.financials.handshake;
21 import com.google.gson.Gson;
22 import org.turro.financials.db.FinancialsPU;
23 import org.turro.financials.entity.Contract;
24 import org.turro.financials.entity.Product;
25 import org.turro.financials.entity.ProductByContractor;
26 import org.turro.jpa.Dao;
45 return new Gson().toJson(hp);
70 "select pbc from ProductByContractor pbc " +
71 "where pbc.contract = ? " +
72 "and pbc.contractorCode = ?",
static Product getProductFromHandshake(HandshakeProduct hp)
static String createJsonFromProduct(Product product)
transient String petitioner
transient Contract contract
static ProductByContractor getProductByContractorFromHandshake(HandshakeProduct hp)
static HandshakeProduct createHandshakeFromProduct(Product product)
Object getSingleResultOrNull(SqlClause sc)