please post a bug report in JIRA. aslak
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Benoit > Menendez > Sent: 18. mars 2003 03:26 > To: [EMAIL PROTECTED] > Subject: [Xdoclet-user] Problem with XDoclet property case > > > 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>(Abstract > EntityPers > 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(Configurati > on.java:57 > 1) > > More detail on the hibernate forum at > http://sourceforge.net/forum/forum.php?thread_id=833205&forum_id=128638 > > > > ------------------------------------------------------- > This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > _______________________________________________ > xdoclet-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user ------------------------------------------------------- This SF.net email is sponsored by:Crypto Challenge is now open! Get cracking and register here for some mind boggling fun and the chance of winning an Apple iPod: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user
