Hi Vyacheslav,
this is very cool! I've added it into Plugins:

https://github.com/orientechnologies/orientdb/wiki/Plugins

Please keep us updated about the status of the projects and roadmap.

Thanks,
Lvc@



On 5 August 2014 13:15, xvik <[email protected]> wrote:

> Hello everyone!
>
> Just published release of new guice integration module
> https://github.com/xvik/guice-persist-orient
>
> Main idea: single database could be used with any connection type: as
> document, object or graph (even within the same unit of work).
>
> Inside: module maintains 3 (up to, depending on jars) separate connection
> pools for each connection type (not global pools, completely separate).
> @Transactional annotation defines transaction (unit of work) scope, but
> transactions will be obviously different for different db types (just
> commit/rollabck phases synchronized).
> Connection obtained within transaction using appropriate provider (e.g.
> Provider<OObjectDatabaseTx>).
>
>
> Plus guice-persist dynamic finders supported for simple querying:
> @Finder(query = "select from Model where name=? and nick=?") List<Model>
> parametersPositional(String name, String nick);
>
> I would love to hear any feedback
> Approach is pretty much experimental, but i couldn't find any problems
> using tests.. maybe experts will note potential problems
>
> Regards
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "OrientDB" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to