26 Nov 2026
DZone Java Zone
Integration Testing With MongoDB in Java: Finding the @Sql Equivalent With Liquibase/Flyway or Jamolingo
Integration testing is the backbone of reliable data-driven Java applications. When working with relational databases in the Spring ecosystem, setting up test data per test method is effortless thanks to the org.springframework.test.context.jdbc.Sql annotation.
However, once you move to MongoDB, you quickly notice a gap. Spinning up a real MongoDB instance for tests is easier than ever - whether you use Testcontainers with the official MongoDB Java Driver or Embedded MongoDB in Spring Boot - but Spring Data MongoDB does not provide a built-in equivalent to the @Sql annotation for declaratively seeding collections, cleaning up data, or managing indexes before each test.
26 Nov 2026 8:00pm GMT
Beyond Semantic Similarity: Designing Two-Stage RAG With Java
Context is critical to sound decision-making, as software architecture shows. An elegantly implemented design pattern can become an anti-pattern if used inappropriately. Its effectiveness depends on both its function and the surrounding assumptions and constraints. AI systems face a similar issue: a technically correct answer may still be unsuitable for a specific customer, time frame, product, or business process.
Enterprise information is seldom timeless or universally relevant. Policies evolve, contracts have effective dates, customers hold different permissions, and similar scenarios may require different rules. Without recognizing these distinctions, an AI assistant may provide a convincing response based on accurate data but still reach an inappropriate conclusion. The challenge is not only to expand a language model's knowledge, but to ensure it accesses the right information for each situation. This need drives the shift from direct generation to retrieval-augmented generation (RAG), and ultimately to a second retrieval stage.
26 Nov 2026 7:00pm GMT
24 Nov 2026
DZone Java Zone
Five Common Time-Series Queries Made Simple With Enterprise Java
Enterprise applications have typically stored only the current state of information, such as account balances, order statuses, or inventory quantities. However, monitoring changes to these values over time is also essential. As businesses increasingly depend on real-time analytics, observability, and continuous data processing, time-series databases provide a specialized solution for storing and querying time-based data.
Java developers and software architects should not have to learn a new query language for each database when working with temporal data. Eclipse JNoSQL introduces five new operations in its TimeSeries fluent API, making it easier to retrieve historical data, recent activity, and specific time ranges using familiar Java patterns. This article discusses the significance of time-series data for enterprise applications and demonstrates how these features simplify temporal queries while supporting polyglot persistence.
24 Nov 2026 1:00pm GMT
25 Aug 2026
Lua: news
Lua 5.4.9 released
Lua 5.4.9 has been released. It fixes all known bugs in Lua 5.4.8.
25 Aug 2026 11:00am GMT
04 Aug 2026
Lua: news
Lua 5.5.1 released
Lua 5.5.1 has been released. It fixes all known bugs in Lua 5.5.0.
04 Aug 2026 12:38am GMT
20 Feb 2026
Lua: news
Lua becomes an SPI associated project
Lua is now an SPI associated project.
20 Feb 2026 11:15am GMT