Norqy / warp-persist

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

[PATCH] Allow warp-persist dynamic finders to execute updates as well as queries #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Attached is a simple patch that lets dynamic finders do executeUpdates as well.

The premise is simply to have a method like :

@Finder("update MyDO m set m.name = :name where m.id =
:id,type=ExecutionType.UPDATE)
int updateAllNamesForId( @Named("id") Long id, @Named("name") String name );

in your accessor.

Original issue reported on code.google.com by aadi.des...@gmail.com on 18 Oct 2007 at 7:25

Attachments:

GoogleCodeExporter commented 9 years ago
Please note that I've deprecated this in favor of 
http://code.google.com/p/warp-persist/issues/detail?id=3

Original comment by aadi.des...@gmail.com on 23 Oct 2007 at 2:11

GoogleCodeExporter commented 9 years ago

Original comment by dha...@gmail.com on 2 Mar 2008 at 6:27