Patrick Dung

Greenhorn
+ Follow
since Dec 09, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Patrick Dung

Why we should use the Quarkus framework/platform? What is the advantage of using compared with other products?
@ Ashish Choudhary, thanks for the explanation.
2 years ago
So, how does Skaffold compared with Jenkin X?
Which one would you recommended and their use cases?
Thanks.
2 years ago
Containers: Distroless, Debian, Ubuntu, Redhat and Redhat clones (Almalinux/RockyLinux), etc.
Cloud VM/AMI: Amazon Linux 2022 (based on Fedora), Amazon Linux 2, Redhat and Redhat clones, SUSE, Debian, Ubuntu, etc.

I love and hate Debian, their packages is not updated frequently.
Without a subscription, I usually opt for Redhat clones.
2 years ago
The main problem I had heard is that TF needs to be updated when AWS made changes (API change?) or release a new service.
TF needs to be updated before it could utilize or adopt the changes in AWS, where AWS CF is native.
I also remembered somebody said it's ok to use TF for other public clouds and better to use AWS CF on AWS.
2 years ago
I had read somewhere that it is better to use CloudFormation (native tool) for AWS instead of Terraform.
What's your comment?
2 years ago
Have you moved applications from using JDK11? Or is it still using JDK8?
3 years ago
Sorry, the source code I post don't has problem. I've forget to put the resultset.commit() to the source code I post. So, I ask when to use resultset.commit() in the following post. And you answered my question.
it seems that i have problem when i use myResultSet.commit();
I cannot update an Access DB using JDBC. This is my small test program:
import java.sql.*;
import java.io.*;
public class testdb {
public static void main (String args[]) throws Exception{
String user = "admin";
String password = "";
String url = "jdbc dbc:MyAccessDSN";
Connection myConnection;
Statement myStatement;
ResultSet myResultSet;

try {
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
myConnection = DriverManager.getConnection (url, user, password);

myStatement = myConnection.createStatement(
ResultSet.TYPE_SCROLL_SENSITIVE, ResultSet.CONCUR_UPDATABLE);
myResultSet = myStatement.executeQuery("Select * from school");

myResultSet.absolute(2);
myResultSet.updateString ("name", "new name");
myResultSet.updateString ("isTeacher", false);
myResultSet.updateRow();
} catch (SQLException e) {
System.err.println("An error occurred: " + e);
} catch (ClassNotFoundException e) {
System.err.println("An error occurred: " + e);
}

} //main
} //testdb