Discussion:
[Middlegen-user] hibernatedao
johan duflost
2005-03-08 05:57:39 UTC
Permalink
Hello list,

I've installed middlegenide plugin for eclipse : MiddlegenIDE 1.0.2 and Middlegen Plugin 2.1.0
All the hbm, bean and dao files are generated correctly except for finder methods in daos.
When I test the code, I get a QueryException : coudt not resolve property. It seems to be a case-sensitivity problem. The bean property names begin with a lowercase character while in the finder methods the property names in the hql where clause begin with an uppercase character. Is it a bug or is there a way to configure case-sensitivity ? Thank you in advance.

Best regards,

Johan Duflost

Johan Duflost
Belgian Biodiversity Information Facility
Universite Libre de Bruxelles
Wouter Boers
2005-03-09 19:27:51 UTC
Permalink
Hi All,

I am fine tuning some things that have been left out in the middlegen maven
plugin. These items are:
generated from multiple databases without overwriting the pref file. It now
allocated a different pref file for each database
suppurt for database schema. The database schema setting for oracle was
missing.
My 'version' of the plugin uses the middlegen 2.2-dev libraries which have
some real fixes since the middlegen 2.1 kept crashing on my Oracle 9i
database with the infamouse incorect tablename error.

How about setting up a different project for the maven-middlegen-plugin?
It's not checked in in the middlegen CVS repo. I think it should have it's
own. If there is one i'm more then happy to intregrate the changes I have
made.

Wouter

Loading...