Brad,
that would be very nice... in several ways...
As i am starting with Hibernate it is not always clear what kind of getters
/ setters i need to have to get
al the stuff working, so on a clean project.. where you can start with an
emty database and no code it would
be a real timesaver.. Also fo
Is it possible to use/enforce referential integrity within Hibernate, using
DBSchemaExport ?
the DBSchemaExport creates perfect tables, but there is it possible to let
it also
generate the referential integrity ?
-= This tagline is protected by international laws, (c) 1999 =-
Marco Pas
CMG Tra
For those who missed my earlier post:
> The one I have been using is JSQL from:
>
> http://www.j-netdirect.com/
>
> This particular driver seems to work beautifully.
>
> I have just verified that Weblogic jDriver also works (with one very
minor
> test failure).
>
> FreeTDS certainly does *not* w
>
> i find having the relationships in the DTOs useful as it enables the
> DTOs to be the *real* data model, rather than the database. for me, it
> is easier to model a business problem as an object model rather than a
> relational model as u get easy inheritence, etc. for us this translates
> t
agreed, the relationships (like most things) could get u into
performance trouble. we deal with this by making relationships
one-directional where possible and there is also the lazy loading
option.
i find having the relationships in the DTOs useful as it enables the
DTOs to be the *real* data mo
i have built a small code generator based on the hibernate mapping file.
it enables us to automatically generate the classes specified in the
mapping file (no hand writing all those getters and setters :-)). i
have tried to make it extendable and configurable so that other classes
(eg. data acces
Nope, does not support the standard..
instead it uses something like the following
-- Referential integrity
create table main(id int identity,name varchar)
create table ref(id int identity,idMain int, foreign key(idMain)references
main(id))
So alter tables are not allowed, i did take a look at