Get the App
SLTechnology News&Howtos  ›  Development  › 

How to implement OJB query

Shulou Source: shulou.com Published: 2022-06-02 04:46:06 09月10日 Update

This article is about how to implement OJB queries. Xiaobian thinks it is quite practical, so share it with everyone for reference. Let's follow Xiaobian and have a look.

OJB query

Link:

Joints declared in path expressions (relationship.attribute) are automatically declared by OJB in criteria.

Dynamic processing. Path expressions support 1:1, 1: n, m: n relationships.

The following example finds all articles belonging to the Liquors product group. The relationship between articles and product groups is in the Article class

The productGroup relationship is established by:

Tags: Queries objects articles attributes data one row face products examples content methods more articles support restrictions good practical minimum price variables Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno NVidia OPPO Reno MySQL Xiaomi Shulou Technology