From: Anton v. S. <an...@ap...> - 2002-05-24 06:05:48
|
Gavin, You suggested: > interface TransactionFactory { > public static TransactionFactory buildTransactionFactory(Properties props); > public static Transaction beginTransaction(Session session); > public Transaction beginTransaction(Session session); > } I assume buildTransactionFactory() needs to be defined somewhere other than on the interface it's a factory method for. Did you have somewhere in mind? It could be added to Datastore, but I don't know if that's an acceptable change to an existing interface. Or, TransactionFactory could be made into an publicly exposed class, but that seems a little messy to me. Anton |