🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.java
Article #143583

Re: hibernate mapowanie kluczy obcych xml

#143583
From: mk
Date: Tue, 13 Jan 2009 20:44
20 lines
1986 bytes
Jarek pisze:
> A zobacz jeszcze czy po tych poprawkach zadziała wersja bez pobierania 
> Listy z bazy, tzn. to:
> Lista l = new Lista();
> l.setId(idDoUsuniecia);
> session.delete(l);
> 
> Bo wg. dokumentacji powinno to działać.
> 
> Pozdrawiam
> Jarek

Nie, daje wyjÄ…tek:
not-null property references a null or transient value: 
kopertownik.Lista.nazwa

Wychodzi na to, że trzeba cały obiekt pobrać.

pozdr.
mk
Technical Details
Message-ID: <gkiv00$hui$1@nemesis.news.neostrada.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
References: <gk4i5e$hou$1@atlantis.news.neostrada.pl> <gk632c$7lf$1@inews.gazeta.pl> <gk854t$jo1$1@nemesis.news.neostrada.pl> <gk86qe$91c$1@inews.gazeta.pl> <gk892b$pi2$1@nemesis.news.neostrada.pl> <gk8ath$2og$1@inews.gazeta.pl> <gk9seg$t59$1@atlantis.news.neostrada.pl> <gkafg2$hd6$1@inews.gazeta.pl> <gkakui$pgh$1@atlantis.news.neostrada.pl> <gkcq6s$aep$1@inews.gazeta.pl> <gkdruv$216$1@atlantis.news.neostrada.pl> <gkg0et$f4i$1@atlantis.news.neostrada.pl> <gkgbia$9s2$1@inews.gazeta.pl> <gkgfsv$qs6$1@atlantis.news.neostrada.pl> <gkgkm9$49t$1@inews.gazeta.pl> <gkhd84$t5o$1@nemesis.news.neostrada.pl> <gkievq$nao$1@atlantis.news.neostrada.pl> <gkigla$m0c$1@nemesis.news.neostrada.pl> <gkin13$2qt$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.atman.pl!newsfeed.neostrada.pl!atlantis.news.neostrada.pl!news.neostrada.pl!not-for-mail
From: mk <mk@mk.pl>
Newsgroups: pl.comp.lang.java
Subject: Re: hibernate mapowanie kluczy obcych xml
Date: Tue, 13 Jan 2009 21:44:44 +0100
Organization: TP - http://www.tp.pl/
Lines: 20
Message-ID: <gkiv00$hui$1@nemesis.news.neostrada.pl>
References: <gk4i5e$hou$1@atlantis.news.neostrada.pl> <gk632c$7lf$1@inews.gazeta.pl> <gk854t$jo1$1@nemesis.news.neostrada.pl> <gk86qe$91c$1@inews.gazeta.pl> <gk892b$pi2$1@nemesis.news.neostrada.pl> <gk8ath$2og$1@inews.gazeta.pl> <gk9seg$t59$1@atlantis.news.neostrada.pl> <gkafg2$hd6$1@inews.gazeta.pl> <gkakui$pgh$1@atlantis.news.neostrada.pl> <gkcq6s$aep$1@inews.gazeta.pl> <gkdruv$216$1@atlantis.news.neostrada.pl> <gkg0et$f4i$1@atlantis.news.neostrada.pl> <gkgbia$9s2$1@inews.gazeta.pl> <gkgfsv$qs6$1@atlantis.news.neostrada.pl> <gkgkm9$49t$1@inews.gazeta.pl> <gkhd84$t5o$1@nemesis.news.neostrada.pl> <gkievq$nao$1@atlantis.news.neostrada.pl> <gkigla$m0c$1@nemesis.news.neostrada.pl> <gkin13$2qt$1@inews.gazeta.pl>
NNTP-Posting-Host: acqs250.neoplus.adsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.neostrada.pl 1231880000 18386 83.10.250.250 (13 Jan 2009 20:53:20 GMT)
X-Complaints-To: usenet@news.neostrada.pl
NNTP-Posting-Date: Tue, 13 Jan 2009 20:53:20 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.19 (X11/20090105)
In-Reply-To: <gkin13$2qt$1@inews.gazeta.pl>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit