The following issue has been updated:
Updater: Andrew Stevens (mailto:[EMAIL PROTECTED])
Date: Sun, 16 Nov 2003 6:18 PM
Changes:
timeoriginalestimate changed from 0
timeestimate changed from 0 minutes
Component changed to Hibernate Module
---------------------------------------------------------------------
For a full history of the issue, see:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-390&page=history
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-390
Here is an overview of the issue:
---------------------------------------------------------------------
Key: XDT-390
Summary: Property case problem
Type: Bug
Status: Assigned
Priority: Major
Time Spent: Unknown
Remaining: Unknown
Project: XDoclet
Components:
Hibernate Module
Assignee: xdoclet-devel (Use for new issues)
Reporter: Benoit Menendez
Created: Tue, 18 Mar 2003 1:51 AM
Updated: Sun, 16 Nov 2003 6:18 PM
Description:
It appears that XDoclet does not use Inspector.decapitalize to figure out the name of
properties.
I have a persistent class with the following property:
/**
* @hibernate.property
*/
public String getDNPath()
{
return _DNPath;
}
public void setDNPath(String DNPath)
{
_DNPath = DNPath;
}
The actual property naming rule should identify this property as "DNPath" but the
XDoclet generator creates:
<property
name="dNPath"
type="java.lang.String"
update="true"
insert="true"
column="dNPath"
/>
Which causes an error when configuring:
2003-03-17 17:07:33,500 FATAL [kms.objects] Error initializing object data
source
net.sf.hibernate.PropertyNotFoundException: Could not find a getter for
dNPath in class cch.Employee
at net.sf.hibernate.util.ReflectHelper.getGetter(ReflectHelper.java:183)
at
net.sf.hibernate.persister.AbstractEntityPersister.<init>(AbstractEntityPers
ister.java:655)
at
net.sf.hibernate.persister.EntityPersister.<init>(EntityPersister.java:611)
at
net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:201)
at
net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:57
1)
More detail on the hibernate forum at
http://sourceforge.net/forum/forum.php?thread_id=833205&forum_id=128638
---------------------------------------------------------------------
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/xdoclet/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF. Net email is sponsored by: GoToMyPC
GoToMyPC is the fast, easy and secure way to access your computer from
any Web browser or wireless device. Click here to Try it Free!
https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel