Open thomasnield opened 8 years ago
Hi Tom, haven't planned it yet. I'd support both rxjava 1.x and 2.x for a good while but not sure if I'd branch this repo or fork to new repo rxjava-jdbc2.
RxJava2 is a way off production ready and lots of api change still happening so no rush I think.
Cheers Dave
On Sun, 4 Sep 2016, 13:50 Thomas Nield notifications@github.com wrote:
Hey @davidmoten https://github.com/davidmoten,
This is probably going to be a somewhat large refactoring task. What are your plans with RxJava 2.0 being on the horizon? Will there be two versions of this codebase on two branches? With two separate 1.0.x and 2.0.x releases?
Tom
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidmoten/rxjava-jdbc/issues/63, or mute the thread https://github.com/notifications/unsubscribe-auth/AATa63_Ui98HqLRMhT62aFfFoKsiwWyfks5qmkAOgaJpZM4J0c1f .
Well that's a relief, haha I was already planning my own libraries for the transition. I'm glad there is good reason to hold off then.
Sounds good. Ill adopt that fork approach for my stuff and recommend it to others, that's a good idea. You can close this issue or leave it open.
Switching between branches is somewhat inconvenient for me in RxJava. I'd prefer separate project so you can have both of them open in the same Eclipse workspace (not sure how IntelliJ would be affected).
I may be able to help you with porting this to 2.x but it really depends on the extra features you did or how deeply you depended on 1.x structure that has to be remade.
@akarnokd I'm glad you're here, thanks for helping out. I can try to help you and @davidmoten but my low-level RxJava knowledge is limited, and I'm a bit overloaded with projects right now. I can assist with testing functionality on my end against SQLite, PostgreSQL, and MySQL.
thanks @akarnokd. Porting shouldn't be a problem for this one, thanks for the offer of help!
Speaking of switching branches between RxJava 1.x and 2.x in Eclipse what I did was cloned RxJava again to an RxJava2 folder and imported that to Eclipse as project rxjava2. That way I can have them both open.
Just fire up a new repo or branch (build ready) and I'll do the conversion.
Looks like rxjava-extras needs the conversion first, at least those parts used by this library.
Yep, I'll have a look at them both (or just the bits that rxjava-jdbc uses) and plan it. rxjava-jdbc needs a rewrite I reckon, it predates useful rxjava operators and predates my improved knowledge. Might leave that till after a simple migration to 2.x though.
On Sun, 30 Oct 2016, 07:57 David Karnok notifications@github.com wrote:
Looks like rxjava-extras needs the conversion first, at least those parts used by this library.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/davidmoten/rxjava-jdbc/issues/63#issuecomment-257115669, or mute the thread https://github.com/notifications/unsubscribe-auth/AATa6ytjaxyRSIo4CufH6msGDj2Uoo3gks5q47M5gaJpZM4J0c1f .
Hello, just checking if 2.x support is available in beta?
@krishna81m I don't think it is. Last time I checked RxJava-Extras needed to be ported over to RxJava2 since it is a dependency. There likely needs to be some design decisions regarding Flowables vs Observables, and whether to support one or both (I'm leaning towards the latter since both can be included in the builder).
If you need to urgently use this with RxJava 2.0, I recommend looking at RxJava2Interop by David Karnok to convert the Observables into its RxJava 2.0 counterparts.
It's a bit unfortunate David and the other RxJava gurus are ridiculously busy. I'd take a stab at it but I'm busy writing the Learning RxJava book with Packt. If anybody can provide help I know many people (including myself) would be highly appreciative.
Hello, just checking if 2.x support is available in beta? Thanks @thomasnield for answering. Use RxJava2Interop as suggested to use the existing library.
Work is under way on rxjava2-jdbc at https://github.com/davidmoten/rxjava2-jdbc as a complete rewrite. I'll get back to it shortly. New version is discussed at https://github.com/davidmoten/rxjava2-jdbc/wiki but is still in development (not passing all tests at the moment).
any news on rxjava2-jdbc? it is still under development ?
@ArekCzarnik David Moten is pretty busy. I've created my own implementation in Kotlin to get by in the interim.
It's pretty lightweight and just leverages extension functions. It doesn't have the reactive parameter features though in RxJava-JDBC, as well as named parameters. And of course, it only works with Kotlin, not Java.
I imagine I'll juggle my priorities to favour rxjava2-jdbc given enough interest. It's on my radar (as is your book @thomasnield, thanks for answering).
Just got past a blocker in rxjava2-jdbc, development can accelerate now, if you watch the rxjava2-jdbc project you'll probably notice some action in the next week or so.
@davidmoten awesome, thanks David!
An update on rxjava2-jdbc:
autoMap
to constructors (just to interfaces)You're welcome to have a play with it, I'll endeavour to keep master buildable till release.
Ah, needs more work, don't bother playing with it yet!
Ok, rxjava2-jdbc is up and running, tests pass now, 0.1-RC1 has been released to Maven Central so anyone interested have a play! https://github.com/davidmoten/rxjava2-jdbc
@davidmoten awesome, thanks David! I'm going to share this right now.
Hey @davidmoten,
This is probably going to be a somewhat large refactoring task. What are your plans with RxJava 2.0 being on the horizon? Will there be two versions of this codebase on two branches? With two separate 1.0.x and 2.0.x releases?
Tom