Norqy / warp-persist

Automatically exported from code.google.com/p/warp-persist
0 stars 0 forks source link

Throw exception when using Dynamic Finders with DB4O #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
We should look at DB4O's DF support. Two options:
1) Throw an exception if people add DA's with DB4O
2) Implement Dynamic Finders for DB4O. If that makes sense.

Original issue reported on code.google.com by robbie.v...@gmail.com on 9 Sep 2008 at 9:51

GoogleCodeExporter commented 9 years ago
We should also formalize what PersistenceStrategy implementers should do if they
don't support Dynamic Finders.

Original comment by robbie.v...@gmail.com on 9 Sep 2008 at 9:53

GoogleCodeExporter commented 9 years ago
Yea good call. I think throwing an exception is fine (on addAccessor()). And 
returning null for the 
finderinterceptor in PersistConfig ought to tell us that there is no finder 
support?

Original comment by dha...@gmail.com on 9 Sep 2008 at 11:42

GoogleCodeExporter commented 9 years ago
Fixed in r250 and r251. We throw an exception on buildModule() when there are
accessors, and we bind a throwing interceptor for dynamic finders in
Stage.DEVELOPMENT. Better late than never.

Original comment by robbie.v...@gmail.com on 21 Dec 2008 at 3:51

GoogleCodeExporter commented 9 years ago

Original comment by robbie.v...@gmail.com on 22 Dec 2008 at 2:30

GoogleCodeExporter commented 9 years ago

Original comment by robbie.v...@gmail.com on 22 Dec 2008 at 2:31