Joshua Davis wrote:
I suggest we use a mock Queryable, so that we can test this stuff w/o Hibernate. Its good TDD approach, I think.
Oh, maybe I misunderstood... do you mean something like Queryable? I was looking at the real Queryable, and it's failry large and has many dependencies.
Queryable is just an interface ... and yes, its large, but it has no dependencies to other Hibernate classes. I've actually tried quite hard to make sure that all methods just return nuetral things like Strings.
It should be quite easy to write a mock Queryable for a class with just a single table and a couple of properties. Tell me if you need me to do it and I'll do it.
Right. Will do. I'm just in 'grammar mode' right now.
:)
I am XP zealot so I only have one mode - the "deliver something useful that works" mode. Unfortunately, if everyone is always in this mode, we would never ever get an AST-based HQL parser. And we need one.
So thanks ;)
-- Gavin King JBoss Group +61 410534454 http://hibernate.org
------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel