RE: [Hibernate-devel] Multi Table Support

2002-07-18 Thread Urberg, John
>>I think fully working single-class-to-multiple-table mappings will take quite a while to implement.<< What about the option of defining a custom map object for a class. For those special cases (such as multiple table mappings), the custom map could handle the mapping to the database using hand

[Hibernate-devel] Probable bug

2002-07-18 Thread Gavin_King/Cirrus%CIRRUS
I need some help here: Daniel Wunsch reports that the following query: session.find( "FROM person IN CLASS com.consol.loan.bo.Person WHERE person.login = ?", login, Hibernate.STRING ); Generated the following SQL in 1.0.1: SELECT DISTINCT person.id as id0, person.id as id1, pers

[Hibernate-devel] Bug fixed! Thanks everyone :)

2002-07-18 Thread Gavin_King/Cirrus%CIRRUS
A finally! Thanks everyone for your help. I tracked it down to ParserHelper malfunctioning when hibernate.query.substitutions was not set. It was due to a fairly pointless performance optimisation being broken. Essentially the token stream was being processed *twice*. I had always be