Message:
The following issue has been re-assigned.
Assignee: Max Rydahl Andersen (mailto:xa...@xa...)
Assigner: Gavin King (mailto:ga...@in...)
Date: Mon, 16 Jun 2003 1:54 AM
Comment:
Why was this assigned to *me*? This is for you, Max....
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-48
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-48
Summary: More finder generation
Type: Patch
Status: Assigned
Priority: Major
Project: Hibernate2
Assignee: Max Rydahl Andersen
Reporter: Max Rydahl Andersen
Created: Sat, 3 May 2003 10:31 AM
Updated: Mon, 16 Jun 2003 1:54 AM
Description:
More finder generation
Finder generator now supports generation based on class
relationships, a la:
<set name="games" inverse="true" lazy="true"
table="GamePlayers">
<meta
attribute="foreign-finder-name">findSavedGames</meta>
<meta attribute="foreign-finder-field">save</meta>
<meta attribute="foreign-join-field">players</meta>
<key column="playerID"/>
<many-to-many class="com.whatever.Game"
column="gameID"/>
</set>
There's more information in the updated javadocs in
FinderRenderer.java.
The new classes MethodSignatureBuilder and QueryBuilder
are a start at extracting this kind of functionality
into seperate classes. I'll improve the javadocs as
they mature a bit.
http://sourceforge.net/tracker/index.php?func=detail&aid=722221&group_id=40712&atid=428710
---------------------------------------------------------------------
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/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|