Skip to content

Commit b76e625

Browse files
author
Nobody
committed
Fix example
1 parent 5ec43ec commit b76e625

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/AWSDriverExample/src/main/java/software/amazon/DatasourceUrlExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static void main(String[] args) throws SQLException {
3030
AwsWrapperDataSource ds = new AwsWrapperDataSource();
3131
// Configure basic information and any driver-specific and AWS JDBC Driver properties:
3232
// Configure any AWS JDBC Driver properties:
33-
dataSource.setJdbcUrl("jdbc:aws-wrapper:postgresql://db-identifier.cluster-XYZ.us-east-2.rds.amazonaws.com/employees?ssl=true&wrapperLoggerLevel=ALL");
33+
ds.setJdbcUrl("jdbc:aws-wrapper:postgresql://db-identifier.cluster-XYZ.us-east-2.rds.amazonaws.com/employees?ssl=true&wrapperLoggerLevel=ALL");
3434

3535
// Specify the driver-specific data source:
3636
ds.setTargetDataSourceClassName("org.postgresql.ds.PGSimpleDataSource");

0 commit comments

Comments
 (0)