GO-V.ORG
As seen in

Apache Empire-db

Apache Empire-db is a Java library that provides a high level object-oriented API for accessing relational database management systems (RDBMS) through JDBC.[src] Apache Empire-db is open source and provided under the Apache License 2.0 from the Apache Software Foundation.[src] Compared to Object-relational mapping (ORM) or other data persistence solutions such as Hibernate, iBATIS or TopLink Empire-db does not use XML files or Java annotations to provide a mapping of plain (old) Java object (POJO's) to database tables, views and columns.[src] Instead Empire-db uses a Java object model to describe the underlying data model and an API that works almost solely with object references rather than string literals.[src] Empire-db's aim is to provide better software quality and improved maintainability through increased compile-time safety and reduced redundancy of metadata.[src] Additionally applications may benefit from better performance due to full control over SQL statements and their execution by the developer compared to most OR-mapping solutions.[src]

Apache Empire-db is a Java library that provides a high level object-oriented API for accessing relational database management systems (RDBMS) through JDBC.[src] Apache Empire-db is open source and provided under the Apache License 2.0 from the Apache Software Foundation.[src] Compared to Object-relational mapping (ORM) or other data persistence solutions such as Hibernate, iBATIS or TopLink Empire-db does not use XML files or Java annotations to provide a mapping of plain (old) Java object (POJO's) to database tables, views and columns.[src] Instead Empire-db uses a Java object model to describe the underlying data model and an API that works almost solely with object references rather than string literals.[src] Empire-db's aim is to provide better software quality and improved maintainability through increased compile-time safety and reduced redundancy of metadata.[src] Additionally applications may benefit from better performance due to full control over SQL statements and their execution by the developer compared to most OR-mapping solutions.[src] SELECT t1.EMPLOYEE_ID, t1.LASTNAME || ', ' || t1.FIRSTNAME AS NAME, t2.DEPARTMENT FROM (EMPLOYEES t1 INNER JOIN DEPARTMENTS t2 ON t1.DEPARTMENT_ID = t2.DEPARTMENT_ID) WHERE upper(t1.LASTNAME) LIKE upper('Foo%') AND t1.RETIRED=0 ORDER BY t1.LASTNAME, t1.FIRSTNAME This SQL statement can be created using Empire-db's command API using object model references like this: SampleDB db = getDatabase(); // Declare shortcuts (not necessary but convenient) SampleDB.Employees EMP = db.EMPLOYEES; SampleDB.Departments DEP = db.DEPARTMENTS; // Create a command object DBCommand cmd = db.createCommand(); // Select columns cmd.select(EMP.EMPLOYEE_ID); cmd.select(EMP.LASTNAME.append(", ").append(EMP.FIRSTNAME).as("NAME")); cmd.select(DEP.DEPARTMENT); // Join tables cmd.join (EMP.DEPARTMENT_ID, DEP.DEPARTMENT_ID); // Set constraints cmd.where(EMP.LASTNAME.likeUpper("Foo%")); cmd.where(EMP.RETIRED.is(false)); // Set order cmd.orderBy(EMP.LASTNAME); cmd.orderBy(EMP.FIRSTNAME); In order to execute the query and retrieve a list of POJO's holding the query result the following code may be used: // Class definition for target objects public class EmployeeInfo { private int employeeId; private String name; private String department; // Getter's and Setters for all properties // or a public Constructor using fields public get...[src] public set...[src] } // Retrieve employee list using the cmd object created above DBReader reader = new DBReader(); try { reader.open(cmd, getConnection()); List empList = reader.getBeanList(EmployeeInfo.class); } finally { reader.close() } Empire-db also supports field access through object references or obtaining query results as XML.[src] ==References==[src]

16 sentences · 16 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Apache Empire-db." encyclopegia.org, 2026, https://encyclopegia.org/wiki/apache-empire-db. Accessed 04 December 2026.

Chicago

"Apache Empire-db." encyclopegia.org. Accessed December 4, 2026. https://encyclopegia.org/wiki/apache-empire-db.

APA

encyclopegia.org. (2026). Apache Empire-db. Retrieved December 4, 2026, from https://encyclopegia.org/wiki/apache-empire-db

Accessed December 4, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Byzantine Empire

stub · references available

Ottoman Empire

stub · references available

Order of the British Empire

stub · references available

Inca Empire

stub · references available

Star Wars: The Empire Strikes Back

stub · references available

Super Star Wars: The Empire Strikes Back

stub · references available

Sasanian Empire

stub · references available

Black Sun Empire

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

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
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

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