When I want to add a (where) position in the hibernate mapping file when fetching, how can I do this for example Fetch = "select" where id! = 1 , is not also using annotation, so specify the mapping (HBM) files. According to the
where match a collection:
Blockquote>
(...) is:
& lt; map name = "PropertyName" (1) table = "table_name" (2) schema = "schema_name" (3) alias = "true | Extra | Wrong "(4) reverse =" true " Wrong "(5) cascade =" all | None. Save-update | Delete | Sub-removal-orphan Delet (6) e-or (8) where = "arbitrarily sql where condition" (9) fetch = "join | select | subseccel" (10), "fan" sort = "upstart | natural | comparator class "(7) Order-Bye =" column_name ACCS "batch-size =" n "(11) access =" field | property | classname "(12) optimist-lock =" true | false "(13) = = true | False "(14) node =" element-name | | "embed-xml =" true | false "& gt; & Lt; Key .... / & gt; & Lt; Map-key .... /> & Lt; Element .... /> & Lt; / Map & gt; (...)
(9) where (optional): A voluntary SQL specifies the WHERE condition, which can be reused Used or used to delete collections is useful if there is only one subset of data available in the archive.
This is also supported at the level.
Comments
Post a Comment