RE: [Hibernate-devel] code generator

2002-04-18 Thread Marco Pas
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

[Hibernate-devel] Is there a way to setup referential integrity?

2002-04-18 Thread Marco Pas
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

RE: [Hibernate-devel] SQL Server 2000 questions

2002-04-18 Thread Gavin_King/Cirrus%CIRRUS
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

RE: [Hibernate-devel] SQL Server 2000 questions

2002-04-18 Thread Donnie Hale
> > 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

RE: [Hibernate-devel] SQL Server 2000 questions

2002-04-18 Thread Brad Clow
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

[Hibernate-devel] code generator

2002-04-18 Thread Brad Clow
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

FW: [Hibernate-devel] Is there a way to setup referential integrt y?

2002-04-18 Thread Marco Pas
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