Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
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: Improvement
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: Mon, 21 Jul 2003 12:38 PM
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
|