db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Preben Mikael Bohn <pre...@chin.dk>
Subject Re: Delete with cascade...
Date Thu, 22 Oct 2009 18:20:28 GMT
Hi Mikey

> First, don't use Hibernate. Sorry, but from practice a well written DAO will
> be better performance-wise. Maybe look at JPA?

Well, since Hibernate implements JPA that's exactly what I do... ;-)

> You should be able to query and find these constraints. Then you can
> programmatically determine which tables to delete records from and in which
> order.

Yes, that's true... I guess I just hoped for something simple as
postgres' truncate/cascade... :-)

Best regards Preben

View raw message