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
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
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
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
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
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
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
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
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