-
Notifications
You must be signed in to change notification settings - Fork 151
Allow manually injecting JdbcOperations, SqlGenerator and DataSource #5
Comments
…hen created outside of Spring context
Is there any plans to release a new version with these changes? Also, do you have any plans to get this on maven central? |
I'll tag new version in couple of days. With regards to publishing to maven central - I never done this before so I will have to investigate a little bit. Please open another ticket so I can see how many people are interested in Maven Central availability. |
Thanks. I’ve been told that it’s easier to publish to BinTray. If you publish to BinTray, it’s suppose to be simple to request addition to the JCenter (which is like Maven Central, but managed by JFrog). BinTray also provides a simplified way to publish to Maven Central. |
Never heard of BinTray, looks interesting. +1 on the Maven Central or another repo. |
I released version 0.3.1 and I'm working on Maven Central integration. |
Hello @nurkiewicz . Thanks for the wonderful software. Could you please write some instructions about how to run it outside of the spring container? I would like to write a CDI Producer for repositories and and consume it in EJBs (using standard Java EE Declarative Transactions. Is it possible? |
@aaccioly Thank you for your interest in this project. I have never tried it, but I'll do my best to experiment and document how this library can be started standalone. I don't think it should be an issue. I don't know CDI, so later on, if it works for you, I would be glad to include CDI producer example as well. BTW feel free to open a separate task so that you can track progress more easily. |
Done ;) |
Currently
JdbcRepository
can only be used within Spring container. Allow manually creating it by supplying customJdbcOperations
,SqlGenerator
andDataSource
.Make sure it can be created outside the container without
BeanFactory
being available.The text was updated successfully, but these errors were encountered: