activerecord-jdbc-alt-adapter 72.0.0.rc2-java → 72.0.0.rc3-java
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7f13e7b4fa08bfb67f978fad2353bd633bd0420848babe30b611949d69667e77
|
4
|
+
data.tar.gz: 35ce8492f5985337a6f2ca02beac9eb38a0a3b9fc5957d816c39bf2da0790687
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 897405b85f5f90c962ca468c600ec44ca12d3cb0f058be273d9944dc998531e03daebf6f80a0cd8ad9cf7367fa90a7b811e7fc5282fc46a503dd987ef628f1f4
|
7
|
+
data.tar.gz: 6a85da335eaf8ecfd708bc6641ec58c7665bdba75784e57d4c3ee33540c5e7d42904ae87587d00ebb304cebc3e94a0d0bebf3f48e74dc7a41103ca1f22960a42
|
Binary file
|
data/lib/arjdbc/version.rb
CHANGED
@@ -674,22 +674,22 @@ public class PostgreSQLRubyJdbcConnection extends arjdbc.jdbc.RubyJdbcConnection
|
|
674
674
|
final int index, final IRubyObject value,
|
675
675
|
final IRubyObject attribute, final int type) throws SQLException {
|
676
676
|
|
677
|
-
if ( attributeSQLType(context, attribute) == context.nil ) {
|
678
|
-
|
679
|
-
|
680
|
-
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
686
|
-
|
687
|
-
|
688
|
-
|
689
|
-
|
690
|
-
|
691
|
-
|
692
|
-
}
|
677
|
+
// if ( attributeSQLType(context, attribute) == context.nil ) {
|
678
|
+
// /*
|
679
|
+
// We have to check for a uuid here because in some cases
|
680
|
+
// (for example, when doing "exists?" checks, or with legacy binds)
|
681
|
+
// ActiveRecord doesn't send us the actual type of the attribute
|
682
|
+
// and Postgres won't compare a uuid column with a string
|
683
|
+
// */
|
684
|
+
// final String uuid = value.toString();
|
685
|
+
// int length = uuid.length();
|
686
|
+
|
687
|
+
// // Checking the length so we don't have the overhead of the regex unless it "looks" like a UUID
|
688
|
+
// if (length >= 32 && length < 40 && uuidPattern.matcher(uuid).matches()) {
|
689
|
+
// setUUIDParameter(statement, index, uuid);
|
690
|
+
// return;
|
691
|
+
// }
|
692
|
+
// }
|
693
693
|
|
694
694
|
statement.setObject(index, value.asString().toString(), Types.OTHER);
|
695
695
|
}
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord-jdbc-alt-adapter
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 72.0.0.
|
4
|
+
version: 72.0.0.rc3
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Nick Sieger, Ola Bini, Karol Bucek, Jesse Chavez, and JRuby contributors
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-10-17 00:00:00.000000000 Z
|
11
11
|
dependencies:
|
12
12
|
- !ruby/object:Gem::Dependency
|
13
13
|
name: activerecord
|