<?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>Fetch data from external database (without using Service Builder)</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120457994" />
  <subtitle>Fetch data from external database (without using Service Builder)</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=120457994</id>
  <updated>2026-04-06T02:42:45Z</updated>
  <dc:date>2026-04-06T02:42:45Z</dc:date>
  <entry>
    <title>Fetch data from external database (without using Service Builder)</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120457993" />
    <author>
      <name>Pietro Pagani</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=120457993</id>
    <updated>2020-11-17T19:13:52Z</updated>
    <published>2020-11-17T18:44:25Z</published>
    <summary type="html">&lt;p&gt;Hi, &lt;/p&gt;
&lt;p&gt;I'm working with Liferay 7.2 and I need to fetch some data from an
  external database which is not managed with Service Builder (the
  tables already exist and I have just read-only access to the database).&lt;/p&gt;
&lt;p&gt;Which is the best way to implement this kind of integration?
  Basically I would like to implement my own DAOs and my custom SQL
  queries trying not to add additional dependencies other than the one
  already inlcuded by default in Liferay&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pietro&lt;/p&gt;</summary>
    <dc:creator>Pietro Pagani</dc:creator>
    <dc:date>2020-11-17T18:44:25Z</dc:date>
  </entry>
</feed>
