From: <leg...@at...> - 2003-08-09 14:05:14
|
The following issue has been updated: Updater: Gavin King (mailto:ga...@in...) Date: Sat, 9 Aug 2003 9:04 AM Comment: This is actually a patch! Changes: type changed from Improvement --------------------------------------------------------------------- For a full history of the issue, see: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-206&page=history --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-206 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-206 Summary: Fieldname constants generator, and Http form loader utility. Type: Patch Status: Unassigned Priority: Major Project: Hibernate2 Components: toolset Versions: 2.0.2 Assignee: Reporter: Matt Hall Created: Mon, 21 Jul 2003 12:38 PM Updated: Sat, 9 Aug 2003 9:04 AM Description: This is a modification to BasicRenderer to generate a series of constants at the top of generated hibernate data objects that represent each property contained in the object. Looks something like: public static String FIELD_ID = "com.whatever.Category.id"; public static String FIELD_TYPE = "com.whatever.Category.type"; public static String FIELD_TITLE = "com.whateverCategory.title"; If you then use these constants to name your fields in a web form, you can use the other part of this submissions, HttpFormUtil, to load your hibernate data objects from an HttpServletRequest automatically via reflection. --------------------------------------------------------------------- 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 |