Hi Luca! Wow! it was fast :) .. Thank you very much!
For some time i will use it myself, so my own usage will drive future improvements. And, of course, i will respond to all reported issues (maybe feature requests). вторник, 5 августа 2014 г., 21:30:04 UTC+7 пользователь Lvc@ написал: > > 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] <javascript:>> 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] <javascript:>. >> 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.
