Can somebody give an example of configuring Spring JDBC fast connection failover AOP? - spring-jdbc

I try to use Spring JDBC data extention package to do fast connection failover with Oracle database. I'm having a problem to configure the AOP part.

You need to configure UCP (Universal Connection Pool) with Spring. Take a look at this blog article.

Related

Does snowflake support ssl using ODBC?

I want to connect to Snowflake using ODBC, and I saw that it is SSL enabled by default(Does snowflake support ssl?).
Appreciate where I can have it formally from Snowflake, as I yet to find as such documentation..
Thanks !
All snowflake connectivity is to:
https://..snowflakecomputing.com
Even the ODBC connector is just a wrapper for HTTPS calls to then https URL above. That means that everything in snowflake, Web UI, JDBC, ODBC, snowsql, Python etc all runs over HTTPS and SSL.
It's also worth noting to meet the security standards here, all traffic must be SSL:
https://www.snowflake.com/snowflakes-security-compliance-reports/
I would read the following document, which has a bunch of different sections that reference SSL, OCSP, and openSSL key-pair settings.
https://docs.snowflake.com/en/user-guide/odbc-parameters.html
Appreciate where I can have it formally from Snowflake
The Snowflake Security Policy specifies that all customer data in transit is encrypted with TLS 1.2.
https://www.snowflake.com/wp-content/uploads/2018/07/2018July12-Snowflake-Security-Policy.pdf
Reference section 3.1. Encryption of Customer Data, which states "Snowflake leverages Transport Layer Security (TLS) 1.2 (or better) for Customer Data in-transit over untrusted networks."
This statement applies to all customer data in transit, so ODBC is included.

Database other than PSQL for pact broker

Can we use SQL server as the database for pact broker? I don't see any documentation related to that anywhere. The problem is that I don't have PostgreSQL at my workplace and I was asked to evaluate whether SQL server serves the purpose. Please help
We currently test and support PostgreSQL and MySQL. I'm sorry but SQL server has not been tested and we can't provide any guarantees.
There are services like Pactflow [1] that you could look to offload the admin burden to if you were able to go with a a SaaS product.
https://pactflow.io

Spring Data Redis Cache Implementation

We are currently working on spring boot project with postgreSQl as database.We want to connect our database to redis for cache implementation.Can anyone please answer how to connect postgreSQL to Redis?

ASP.NET application load balancing

I have an ASP application sitting on 2 servers, using a db in SQL Server 2012. The SQL Server uses AlwaysOn Availability groups but when these failover the client connecting to the ASP.NET application terminates. I have looked into the SQL driver which as it turns out the app is using SqlClasses so not using ODBC driver (from what I have deduced I presume that logic is sound but correct me if I'm wrong).
Another suggestion has been made that I load balance the 2 app servers and that will seamlessly allow failover underneath without the client loosing connection, is this a viable way to go? We don't have much control over the applications code to ask it to try the connection again after failing....
Many thanks in advance.
Try defining the failover partner in your connection string.
Data Source=myServerAddress;Failover Partner=myMirrorServerAddress;
Initial Catalog=myDataBase;Integrated Security=True;
And also check out MultiSubNetFailover property in .NET 4.5

Hosting OData Service

Is it possible to host a Odata Service in Hosting Unix ? thanks
It is definitly possible, as OData is simply based on any data source combined with a json/atom view.
You could tackle this problem by using a combination of MYSql as Data source, Tomcat as webserver and Apache Olingo for providing the odata feed.
This is just one possible solution, as you can exchange any of the parts.
The short answer is yes. The os hosting the service is irrelevant. Odata is more about an implementation of the odata protocol. This can be done in any language you choose. Now, if what you are asking is whether you can host a WCF data service (which implements the odata protocol) on a linux box I would have to venture a guess. and my guess would be no.

Resources