RE: [Hibernate] Sql Query

2003-08-23 Thread Eric Pugh
Take a look at Hibern8IDE..  It makes it easy to test your HQL quieies..  Much faster then writing a test case even..   eri -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Prasad IyerSent: Thursday, August 21, 2003 3:44 PMTo: [EMAIL PROTEC

Re: [Hibernate] API stability in SchemaUpdate

2003-08-23 Thread Serge Knystautas
Max Rydahl Andersen wrote: So - just using the "dump sql to the standard output" is not enough for you ? (You can parse that up to an array by just looking for ";"'s) No it is not. The key is "standard output" is the killer. Why should my Java code have to fork a separate process, suppply my co

Re: [Hibernate] API stability in SchemaUpdate

2003-08-23 Thread Max Rydahl Andersen
Sorry - i meant SchemaUpdate. And now you are just saying 3-4 lines, couldn't you just show us what you are doing and we could add that as a integral part of SchemaUpdate (and even SchemaExport i reckon). /max Serge Knystautas wrote: Max Rydahl Andersen wrote: So - just using the "dump sql to

[Hibernate] Re: Mapping an object accross mutiple tables ??

2003-08-23 Thread Les Hazlewood
Philip, You can probably do what you wish to accomplish by using the tag within a class declaration: http://hibernate.bluemars.net/hib_docs/reference/html_single/#or-mapping-s1- 9 An example of one-to-one can be found in the Author/Work example in the Hibernate documentation: http://hib

[Hibernate] Re: CVS access

2003-08-23 Thread Les Hazlewood
OK, here's what I do: (linux command line): cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/hibernate login (Logging in to [EMAIL PROTECTED]) CVS password: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/hibernate/Hibernate2 co v21branch cvs checkout: authorization failed: server cvs.sourceforge.net

[Hibernate] Re: CVS access

2003-08-23 Thread Les Hazlewood
Disregard that last email...I'm an idiot and forgot the -r option ;) It works now (of course) Les --- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Li

[Hibernate] Support for defining subclasses in seperate hbm.xml files

2003-08-23 Thread Max Rydahl Andersen
Feels good to nail this OLD feature request ;) and can now have an extends attribute that contains the fully qualified classname of its superclass. This mean it is now possible to define subclasses in other hbm.xml files ! NOTE: the superclass HAS TO BE defined BEFORE it is reference from ex

Re: [Hibernate] API stability in SchemaUpdate

2003-08-23 Thread Serge Knystautas
Max Rydahl Andersen wrote: Sorry - i meant SchemaUpdate. And now you are just saying 3-4 lines, couldn't you just show us what you are doing and we could add that as a integral part of SchemaUpdate (and even SchemaExport i reckon). Eh, well the SchemaUpdate code is pretty trivial, if you look at

Re: [Hibernate] API stability in SchemaUpdate

2003-08-23 Thread Max Rydahl Andersen
Eh, well the SchemaUpdate code is pretty trivial, if you look at it. Here are the salient lines (I think this is from the 2.0.1 version... 2.0.0 and 2.0.2 use DatabaseMetadata instead of JdbcDatabaseInfo) JdbcDatabaseInfo info = new JdbcDatabaseInfo(connection, dialect); String[] createSQL = cf