Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-245
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-245
Summary: where attribute for <one-to-one>
Type: Improvement
Status: Unassigned
Priority: Minor
Project: Hibernate2
Components:
core
Assignee:
Reporter: Steve Moore
Created: Mon, 11 Aug 2003 3:44 AM
Updated: Mon, 11 Aug 2003 3:44 AM
Environment: ANY
Description:
to extend the use of <where> condition from Class and Collection to one-to-one. A sample use case:
Product {
Set pricings;
}
Pricing {
Timestamp fromtime;
Timestamp thrutime;
}
Product 1-n Pricing(varies over time)
Product 1-1 Pricing(NOW) <- a derived relationship
Pricing
<many-to-one name="product" class="Product" unique="true"/>
Product
<one-to-many name="pricings" class="Pricing"/>
*****
<one-to-one name"pricing" class="Pricing" property-ref="product" where="pricing.thrutime > NOW()"/>
*****
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|