I committed the transaction support stuff in BasePeer.
This is what I think we should do for postgres support:
1) Add objectDataNeedsTrans method to abstract DB class (to return
false).
2) Add objectDataNeedsTrans method to DBPostgres to return true.
3) Add boolean containsObjectColumn() to TableMap.java
4) in the BasePeer methods that return stuff from the db but don't take
a connection argument, check first if objectDataNeedsTrans, then if
that's true, check if any of the tables in the criteria
containsObjectColumn, and if that's true, set up a transaction.
Does anyone think that this is too much?
-Nissim
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Search: <http://www.mail-archive.com/turbine%40list.working-dogs.com/>
Problems?: [EMAIL PROTECTED]