Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
| X-Received | by 10.140.174.65 with SMTP id u62mr12068833qhu.15.1459001486974; Sat, 26 Mar 2016 07:11:26 -0700 (PDT) |
|---|---|
| X-Received | by 10.157.59.194 with SMTP id k60mr21381otc.7.1459001486921; Sat, 26 Mar 2016 07:11:26 -0700 (PDT) |
| Path | csiph.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!b101no390145qga.1!news-out.google.com!u9ni4870igk.0!nntp.google.com!nt3no4750220igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.java |
| Date | Sat, 26 Mar 2016 07:11:26 -0700 (PDT) |
| In-Reply-To | <nd1i1r$25te$1@adenine.netfront.net> |
| Complaints-To | groups-abuse@google.com |
| Injection-Info | glegroupsg2000goo.googlegroups.com; posting-host=92.23.78.62; posting-account=MVf4PgoAAACplM_7JiJVCzb6tVRbVBwd |
| NNTP-Posting-Host | 92.23.78.62 |
| References | <nd1i1r$25te$1@adenine.netfront.net> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <0d59bcc5-4860-4218-b339-7f2f17cea807@googlegroups.com> (permalink) |
| Subject | Re: JPA detached entity |
| From | Cicap <forzatonino@gmail.com> |
| Injection-Date | Sat, 26 Mar 2016 14:11:26 +0000 |
| Content-Type | text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding | quoted-printable |
| X-Received-Bytes | 1695 |
| X-Received-Body-CRC | 3009335974 |
| Xref | csiph.com it.comp.java:8890 |
Show key headers only | View raw
Il giorno giovedì 24 marzo 2016 20:18:05 UTC, Davide ha scritto: > Salve, > sto sviluppando un'applicazione java ee che usa jpa, se nel DAO faccio > una cancellazione (metodo remove()) di un'entità detached viene > giustamente generata un'eccezione che indica che l'entità è detached > mentre invece se faccio un'aggiornamento (metodo merge()) di un'entità > detached non viene generata nessuna eccezione e l'aggiornamento va a > buon fine, come mai succede questo? Domanda: cosa pensi che faccia l'operazione "merge" in generale? E da quale fonte ti sei formato quell'idea.
Back to it.comp.java | Previous | Next — Previous in thread | Next in thread | Find similar
JPA detached entity Davide <a@a.com> - 2016-03-24 21:18 +0100
Re: JPA detached entity Cicap <forzatonino@gmail.com> - 2016-03-26 07:11 -0700
Re: JPA detached entity Davide <a@a.com> - 2016-03-26 16:02 +0100
Re: JPA detached entity Cicap <forzatonino@gmail.com> - 2016-03-26 11:55 -0700
Re: JPA detached entity Davide <a@a.com> - 2016-03-26 20:15 +0100
csiph-web