<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay-7 unable to retrieve upadted database value in inner methods</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110646554" />
  <subtitle>Liferay-7 unable to retrieve upadted database value in inner methods</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=110646554</id>
  <updated>2026-04-04T04:48:32Z</updated>
  <dc:date>2026-04-04T04:48:32Z</dc:date>
  <entry>
    <title>RE: Liferay-7 unable to retrieve upadted database value in inner methods</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110648714" />
    <author>
      <name>Sushil Patidar</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110648714</id>
    <updated>2018-07-30T06:58:21Z</updated>
    <published>2018-07-30T06:58:21Z</published>
    <summary type="html">&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Can you give more details about the case. From the above it looks
  ambiguous as your method is for delete and you are updating value.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;</summary>
    <dc:creator>Sushil Patidar</dc:creator>
    <dc:date>2018-07-30T06:58:21Z</dc:date>
  </entry>
  <entry>
    <title>Liferay-7 unable to retrieve upadted database value in inner methods</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110646553" />
    <author>
      <name>Raj P</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=110646553</id>
    <updated>2018-07-27T12:33:01Z</updated>
    <published>2018-07-27T12:33:01Z</published>
    <summary type="html">&lt;p&gt;Following is our method structure&lt;/p&gt;
&lt;p&gt;TestLocalServiceImpl.java&lt;/p&gt;
&lt;p&gt;public String deleteUploadedData(){&lt;/p&gt;
&lt;p&gt;       testFinder.update(id);&lt;/p&gt;
&lt;p&gt;       sendEmail();&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;We are updating one column with the corresponding primary key at line
  -- testFinder.update(id)&lt;/p&gt;
&lt;p&gt;And we are trying to retrieve the updated value in sendEmail()
  method. But we are getting old value instead of new.&lt;/p&gt;
&lt;p&gt;Can anybody tell how to retrieve the updated value.&lt;/p&gt;</summary>
    <dc:creator>Raj P</dc:creator>
    <dc:date>2018-07-27T12:33:01Z</dc:date>
  </entry>
</feed>
