fabioebner
Feb 3rd, 2012, 09:51 AM
Hi, can someone help me?
i tryng to save a large string value into my db, but when i save he dont sabe the value..
my field are this annotations
@Column(name="ds_situacao_processamento_ws", length=2147483647)
private String dsSituacaoProcessamentoWs;
int DB i create with TEXT type
when i try to put the @Lob annotation, i got this error: cannot save large object in auto-commit so i change in my
applicationContext to auto-commit = false..
but i got the same error..
i'm using hibernateTemplate and cannot create one transaction before save ..
please someone help me to save large String on my Postgres..
tks
i tryng to save a large string value into my db, but when i save he dont sabe the value..
my field are this annotations
@Column(name="ds_situacao_processamento_ws", length=2147483647)
private String dsSituacaoProcessamentoWs;
int DB i create with TEXT type
when i try to put the @Lob annotation, i got this error: cannot save large object in auto-commit so i change in my
applicationContext to auto-commit = false..
but i got the same error..
i'm using hibernateTemplate and cannot create one transaction before save ..
please someone help me to save large String on my Postgres..
tks