Boa tarde mestres do java, estou tendo um grande problema.
Eu preciso execultar um comando SQL para inserir na tabela via hibernate, alguém de vc´s poderiam me ajudar ?
grato…
sSQL = "Insert into mfccpd(fkempresa, " +
"mes_ref, ano_ref, vlr_rol_mesref, vlr_fndct_mesref, " +
"vlr_mme_mesref,vlr_aneel_mesref, sld_mesant_mesref, " +
"lanc_aneel_mesref219, lanc_aneel_mesref316, vlr_selic_mesref, " +
"sld_totped_mesref) " +
“Values(” + campos.getCod_empresa() + “,” +
+ mesRef + “,” +
+ anoRef + “,” +
+ campos.getVlr_rol_mesref() + “,” +
+ campos.getVlr_fndct_mesref() + “,” +
+ campos.getVlr_mme_mesref() + “,” +
+ campos.getVlr_aneel_mesref() + “,” +
+ campos.getSld_mesant_mesref() + “,” +
+ campos.getLanc_aneel_mesref219() + “,” +
+ campos.getLanc_aneel_mesref316() + “,” +
+ campos.getVlr_selic_mesref() + “,” +
+ campos.getVlr_totped_mesref() + “” +
“)”;