[
http://opensource.atlassian.com/projects/hibernate/browse/HBX-733?page=co...
]
Emmanuel Bernard commented on HBX-733:
--------------------------------------
Well, Alex. I dont understand why nobody even looks at these patches for months together.
"I am getting pretty disappointed with Hibernate as such especially since it now
seems to be driven by JBoss business decisions instead of pure open-source
philosophies."
I can assure you that our philosophy has not change before and after the JBoss merge. The
resources have in a positive way.
"Now you see the drive to push towards EJB 3.0 instead of plain POJO's"
EJB 3.0 *is* a POJO model ( not sure what a plain POJO mean though ;-) )
"and Spring is not even being referenced in any of their sites."
As a request of Interface21 but the story is long.
"They dont even have proper examples of implementation of annotations using pure
POJO's. - One feature I really like to use."
Doh!
http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/ is all about
POJOs and annotations!
"I don't want to get into more politicial discussions but the point is that why
aren't patches being added on a regular fashion?"
We have limited resources, hence we put priorities on what we think is best for our
userbase as a whole, not only a few users. We try to get the big picture. If you
contribute *on a regular basis* and if you contribution is good, you will have svn access.
It is as simple as that.
If any one is infact looking at the JIRA logs, could you pls comment on when we could
expect the patch to be put in ??
Updated DAO code generation as discussed over the email
-------------------------------------------------------
Key: HBX-733
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HBX-733
Project: Hibernate Tools
Type: Patch
Components: hbm2java, ant
Versions: 3.1alpha5
Environment: I have tested the patch on the latest version of Hibernate Tools I got from
SVN 2 weeks ago.
Reporter: Alex Kalinovsky
Attachments: dao_generation.patch
Original Estimate: 3 days
Remaining: 3 days
This should be a complete implementation of DAO generation according to the design we
have discussed over the email. I've tested this on our project so the DAOs should be
good to go, but of course a more diverse testing would be needed before releasing it to
public. I'm open for recommendations and suggestions, so I see this as the first
draft. Below is a list of files and comments. Contact me at kalinovsky(a)yahoo.com.
src/java/org/hibernate/tool/hbm2x
DAONewExporter.java This class is coded mainly to accept additional parameters
such as dao package name and provide flexible
file naming that is used by Ant task. It would not be needed
if I integrate my changes into GenericExporter.
src/templates/dao
crudDao.ftl template for regeneratable CRUD interface
crudDaoImpl.ftl template for regeneratable CRUD DAO implementation
dao.ftl template for customizable DAO interface that extends CRUD
interface
daoImpl.ftl template for customizable DAO implementation that extends
CRUD implementation
src/templates/dao/base
dao.ftl base interface for all DAOs
queryDao.ftl base interface for all read-only entities
crudDao.ftl base interface for all editable entities
src/templates/dao/base/hibernate
abstractDao.ftl base implementation of DAO using Hibernate
abstractQueryDao.ftl base implementation of DAO for read-only entities using
Hibernate
abstractCrudDao.ftl base implementation of DAO for editable entities using
Hibernate
src/testsupport
codegen.properties Test configuration to see DAO generation in action
codegen-build.xml Test build file that generates DAOs for Author and Article
and compiles generated code
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira