<?xml version="1.0" encoding="utf-8"?>
<!-- generator="FeedCreator 1.7.2-ppt DokuWiki" -->
<?xml-stylesheet href="https://sqlines.com/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://sqlines.com/feed.php">
        <title>SQLines Tools java</title>
        <description></description>
        <link>https://sqlines.com/</link>
        <image rdf:resource="https://sqlines.com/lib/images/favicon.ico" />
       <dc:date>2026-05-06T14:30:57+00:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://sqlines.com/java/dynamic_sql?rev=1751816510&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://sqlines.com/lib/images/favicon.ico">
        <title>SQLines Tools</title>
        <link>https://sqlines.com/</link>
        <url>https://sqlines.com/lib/images/favicon.ico</url>
    </image>
    <item rdf:about="https://sqlines.com/java/dynamic_sql?rev=1751816510&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2025-07-06T15:41:50+00:00</dc:date>
        <title>Dynamic SQL Statements - Java Applications Migration</title>
        <link>https://sqlines.com/java/dynamic_sql?rev=1751816510&amp;do=diff</link>
        <description>Java applications can contain dynamic SQL statements in the native syntax of the source database (e.g., Oracle), which you need to convert to the native syntax of the target database (e.g., MySQL) during migration.

Source - Oracle:


  // Native SQL in string
  StringBuilder sql = new StringBuilder(&quot;SELECT TRUNC(SYSDATE) FROM t&quot;);
  Query query = entityManager.createNativeQuery(sql.toString());
  query.getResultList();</description>
    </item>
</rdf:RDF>
