I have solved the persistence problem.
Change EntityManager.persist(event) to
EntityManager.merge(event)
raxden2 wrote:
>
> HI! i had the same problem, but I have another problem:
>
> When i push the button for save Event... throws this exception:
>
> excepción
>
> javax.servle
Hi All,
I got the issue resolved using the
Model
partialEvent
true
Are you using the OpenSessionInViewFilter? If you aren't, you'll want to.
If you are doing that already, you may be trying to persist when you should
merge. If you're using Hibernate's API directly, take advantage of
Hibernate's saveOrUpdate() method, rather than the JPA merge()/persiste()
metho
HI! i had the same problem, but I have another problem:
When i push the button for save Event... throws this exception:
excepción
javax.servlet.ServletException: javax.persistence.PersistenceException:
org.hibernate.PersistentObjectException: detached entity passed to persist:
com.fdar.apress.
I'm not sure, and I'm only taking an educated guess at it being
OS/platform-dependent (since a JAR that worked for me had problems for
another user). Unfortunately I can't reproduce the error. I'm all for
doing the work to fix the problem if someone has the problem and cycles
to work through
--- Ian Roughley <[EMAIL PROTECTED]> wrote:
> The solution provided to me was to change the scope interceptor
> reference to use a session value of "Model" rather than "model" - see
> below.
>
>
> Model
> partialEvent
>
Hmm, why does that fix it? If it's an OS-dependent issue we sh
There have been cases (unfortunately not with myself or the tech
reviewer, otherwise it would have been corrected) when the same error
message (No object in the CompoundRoot has a publicly accessible
property named 'model' (no setter could be found). - [unknown location])
has been displayed. I
Im having 1 little problems with Practical Apache Struts2 Web 2.0 Projects
examples
The first one is that even EntityManager do not persist when submiting the
contestants says "detached persist", I have solved it using
entityMgr.merge(event); instead of entityMgr.persist(event);
the second is a pr
Great work, Keep it up. I have just started with will post a review when I am
done.
Thanks
Ian Roughley wrote:
>
> I'm pleased to announce the release of my newest book, "Practical Apache
> Struts2 Web 2.0 project". And, no, I didn't pick the name :-)
>
> Where "Starting Struts2" was high le
l Message -
> From: "MassimoH" <[EMAIL PROTECTED]>
> To:
> Sent: Tuesday, November 27, 2007 4:18 PM
> Subject: Re: [ANN] Practical Apache Struts2 Web 2.0
> Projects
>
>
> >
> > My copy arrived in the mail over the weekend after
> having it on
Massimo can you tell us the ISBN?
thx
M--
- Original Message -
From: "MassimoH" <[EMAIL PROTECTED]>
To:
Sent: Tuesday, November 27, 2007 4:18 PM
Subject: Re: [ANN] Practical Apache Struts2 Web 2.0 Projects
>
> My copy arrived in the mail over the weekend after
My copy arrived in the mail over the weekend after having it on pre-order for
months.
So far, so good! Great job!
Ian Roughley wrote:
>
> I'm pleased to announce the release of my newest book, "Practical Apache
> Struts2 Web 2.0 project". And, no, I didn't pick the name :-)
>
--
View this
Sure:
* ISBN10: 1-59059-903-9
* ISBN13: 978-1-59059-903-7
I'm also going to try to see if the publisher will release a different
chapter as the example, I just noticed that they have used the first one
- which is more of an introduction, and not a good example of what the
rest of the bo
Ian-
If you provide the ISBN some of us can do a quick search at local
bookstoreThanks/Martin__Disclaimer
and confidentiality noteEverything in this e-mail and any attachments relates
to the official business of Sender. This transmission is of a confi
No idea. I can check though.
/Ian
--
Ian Roughley
From Down & Around, Inc.
Consulting * Training / Mentoring * Agile Process * Open Source
web: http://www.fdar.com - email: [EMAIL PROTECTED]
Ted Husted wrote:
Amazon is showing the book as available now!
If you order through this link, t
Amazon is showing the book as available now!
If you order through this link, the commission on the sale will be
donated to the ASF.
* http://opensource.atlassian.com/confluence/oss/display/BOOKS/ISBN-1590599039
Ian, any word on whether Apress will be making their books available
for the Kindle
yeah, kudos to Ian. I should try writing one so I could have a fancy
signature ;)
musachy
On Nov 20, 2007 2:04 PM, Frank W. Zammetti <[EMAIL PROTECTED]> wrote:
> Congratulations Ian! I know how it feels to finally finish such an
> undertaking and see the end result. Kudos!
>
> I'm sure it's a f
Congratulations Ian! I know how it feels to finally finish such an
undertaking and see the end result. Kudos!
I'm sure it's a fantastic book too (wink-wink).
Frank
--
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM/Yahoo: fzammetti
MSN: [
18 matches
Mail list logo