Re: [hibernate-dev] batch-size algorithm

2006-09-28 Thread Max Rydahl Andersen
sounds reasonable IFF the db doesn't get stupid and does 20 lookups for duplicate id's. /max Currently we create several loaders following a certain algorithm Why don't we create a single loader of batch-size and duplicate ids in the in clause to match unfilled parameters batch-size = 2

[hibernate-dev] Filters and many to many

2006-09-28 Thread Emmanuel Bernard
In xml to set up a filter on the target table of a many to many, you set the filter element inside the element To support that in annotations, I could do 1. @Filter (pointing to the association table or the target table if a @OneToMany @JoinColumn) @FilterManyToMany (@FilterTargetEntity) (poi

Re: [hibernate-dev] Filters and many to many

2006-09-28 Thread Christian Bauer
On Sep 28, 2006, at 8:51 PM, Emmanuel Bernard wrote: @Filter (pointing to the target table) @FilterJoinTable (pointing to the association table) I like 2. better, it is more consistent esp when you realize that @OneToMany can use a join table just by changing an annotation. 2. would require

Re: [hibernate-dev] Filters and many to many

2006-09-28 Thread Emmanuel Bernard
Done and committed @Filter(s) applies to the target entity table @FilterJoinTable(s) applies to the association table in a symmetric way @Where applies to the target entity table @WhereJoinTable applies to the association table If the book can still be updated... Christian Bauer wrote: On Sep

[hibernate-dev] hibernate-sqlserver-jtds-testsuite Build Timed Out

2006-09-28 Thread qa
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-sqlserver-jtds-testsuite?log=log20060928223450 BUILD TIMED OUTAnt Error Message: build timeoutDate of build: 09/28/2006 22:34:50Time to build: Last changed: 12/31/2005 20:44:14Last log entry: less noisy

[hibernate-dev] hibernate-hsqldb-testsuite Build Completed With Testsuite Errors

2006-09-28 Thread qa
View results here -> http://cruisecontrol.jboss.com/cc/buildresults/hibernate-hsqldb-testsuite?log=log20060929022143 TESTS FAILEDAnt Error Message: /home/cruisecontrol/work/scripts/build-hibernate-db-matrix.xml:92: The following error occurred while executing this line: /home/cruisecontrol/work/sc