encyclopegia.org

SQL/JRT

SQL/JRT, or SQL Routines and Types for the Java Programming Language, is an extension to the SQL standard first published as ISO/IEC 9075-13:2002 (part 13 of SQL:1999). SQL/JRT specifies the ability to invoke static Java methods as routines from within SQL applications, commonly referred to as "Java stored procedures". SQL/JRT also calls for the ability to use Java classes as SQL structured user-defined types. The two parts of the extension originate from the earlier ANSI SQLJ part 1 and 2 standards (not to be confused with SQLJ part 0, which defined an embedding of SQL into Java, later standardized by ISO as SQL/OLB).

SQL/JRT, or SQL Routines and Types for the Java Programming Language, is an extension to the SQL standard first published as ISO/IEC 9075-13:2002 (part 13 of SQL:1999). SQL/JRT specifies the ability to invoke static Java methods as routines from within SQL applications, commonly referred to as "Java stored procedures". SQL/JRT also calls for the ability to use Java classes as SQL structured user-defined types. The two parts of the extension originate from the earlier ANSI SQLJ part 1 and 2 standards (not to be confused with SQLJ part 0, which defined an embedding of SQL into Java, later standardized by ISO as SQL/OLB). ==Example== SQL/JRT allows a Java function to be called from SQL code like this: CREATE FUNCTION sinh(v DOUBLE) RETURNS DOUBLE LANGUAGE JAVA DETERMINISTIC NO SQL EXTERNAL NAME 'CLASSPATH:java.lang.Math.sinh' SELECT sinh(doublecolumn) FROM mytable SQL/JRT also allows Java code to dynamically generate tables using a java.sql.ResultSet object. The result sets returned are converted to SQL tables and can be used anywhere a table or view can be used. ==See also== SQL:2003 ==References== ==External links== SQL:2003 SQL/JRT draft SQL:2003 SQL Standard User Defined Types and Routines from the Farrago documentation

References

No reference rows published for this article.

Cite this article

MLA

"SQL/JRT." encyclopegia.org, 2025, https://encyclopegia.org/wiki/sql-jrt. Accessed 24 November 2026.

Chicago

"SQL/JRT." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/sql-jrt.

APA

encyclopegia.org. (2025). SQL/JRT. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/sql-jrt

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Claims

PredicateValueSource
publication date2002Wikipedia

Related articles

SQL/MED

enwiki · references available

SQL/Schemata

enwiki · references available

SQL/XML

enwiki · references available

Mommy Elvie's Problematic Show

enwiki · references available

Opus vittatum

enwiki · references available

Jean Thesman

enwiki · references available

Wynyardiidae

enwiki · references available

Youngia nilgiriensis

enwiki · references available

Opus mixtum

enwiki · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1323281707 · 0.5 · snapshot enwiki-001323281707

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.