Patrick Dung

Greenhorn
+ Follow
since Dec 09, 2001
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

@ Ashish Choudhary, thanks for the explanation.
4 months ago
So, how does Skaffold compared with Jenkin X?
Which one would you recommended and their use cases?
Thanks.
4 months 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.
5 months 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.
I had read somewhere that it is better to use CloudFormation (native tool) for AWS instead of Terraform.
What's your comment?
Have you moved applications from using JDK11? Or is it still using JDK8?
1 year 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