Re: [Hibernate] AST driven QueryTranslator

2004-01-07 Thread Gavin King
Yeah, it helps a lot :) Bill Burke wrote: Does this help out with mapping EJBQL to HBQL? Joshua Davis wrote: Well, it's checked in but it doesn't work... yet. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gavin King Sent: Tuesday, January 06, 2004

[Hibernate] Questions

2004-01-07 Thread Qin Ding
The company has built a very large set of xml schema (w3c complied). I wonder if I can use the schema to generate a java, mapping file, ddl for a RDBMS. If I can generate DDL based on the schema and build a database using the DDL, I can generate java and hibernate mapping file based on the databa

RE: [Hibernate] AST driven QueryTranslator

2004-01-07 Thread Joshua Davis
This might help if the 'backend' AST were to be exposed. This would mean that the EJBQL processor would be another front end that produces 'hibernate query' (but not HQL) ASTs for the backend. > -Original Message- > From: Bill Burke [mailto:[EMAIL PROTECTED] > Sent: Tuesday, January 06,

[Hibernate] How to convert to ?

2004-01-07 Thread Kenneth Foo
I have problem here of converting a collection into a more appropriate . I'd lilke to convert MemberBase.fields to a map of [field name --> MemberBaseField objects], such that I could do something like this easily... MemberBase mb = session.load() MemberBaseField field = (MemberBaseField)mb