diff --git a/pages/ar_SA/community.md b/pages/ar_SA/community.md
index 5ddeeb3f200..23fddf677c5 100644
--- a/pages/ar_SA/community.md
+++ b/pages/ar_SA/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/ar_SA/docs/connecting_to_the_database.md b/pages/ar_SA/docs/connecting_to_the_database.md
index ead5b090f29..fbd59639e5e 100644
--- a/pages/ar_SA/docs/connecting_to_the_database.md
+++ b/pages/ar_SA/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -178,6 +178,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/az_AZ/community.md b/pages/az_AZ/community.md
index 5ddeeb3f200..23fddf677c5 100644
--- a/pages/az_AZ/community.md
+++ b/pages/az_AZ/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/az_AZ/docs/connecting_to_the_database.md b/pages/az_AZ/docs/connecting_to_the_database.md
index 6dd977c9d75..48d13425569 100644
--- a/pages/az_AZ/docs/connecting_to_the_database.md
+++ b/pages/az_AZ/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/community.md b/pages/community.md
index 5ddeeb3f200..23fddf677c5 100644
--- a/pages/community.md
+++ b/pages/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/de_DE/community.md b/pages/de_DE/community.md
index 3d5c18ba11e..a72c55a4351 100644
--- a/pages/de_DE/community.md
+++ b/pages/de_DE/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Trage zu dieser Seite bei
diff --git a/pages/de_DE/docs/connecting_to_the_database.md b/pages/de_DE/docs/connecting_to_the_database.md
index 6030b9d2be6..54455316f47 100644
--- a/pages/de_DE/docs/connecting_to_the_database.md
+++ b/pages/de_DE/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/docs/connecting_to_the_database.md b/pages/docs/connecting_to_the_database.md
index 54e9c77ac6c..f457a08fe2a 100644
--- a/pages/docs/connecting_to_the_database.md
+++ b/pages/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -182,6 +182,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/es_ES/community.md b/pages/es_ES/community.md
index d7dafbf2ae3..450f5713114 100644
--- a/pages/es_ES/community.md
+++ b/pages/es_ES/community.md
@@ -47,12 +47,12 @@ layout: page
* [Asociar usuarios con roles y permisos](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Filtrado de mapas anidados](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribuye a esta página
diff --git a/pages/es_ES/docs/advanced_query.md b/pages/es_ES/docs/advanced_query.md
index 014f20d3e5b..82dfa6b3be6 100644
--- a/pages/es_ES/docs/advanced_query.md
+++ b/pages/es_ES/docs/advanced_query.md
@@ -5,7 +5,7 @@ layout: página
## Campos de selección inteligentes
-In GORM, you can efficiently select specific fields using the [`Select`](query.html) method. This is particularly useful when dealing with large models but requiring only a subset of fields, especially in API responses.
+In GORM, you can efficiently select specific fields using the [`Select`](query.html) method. .
```go
type User struct {
diff --git a/pages/es_ES/docs/connecting_to_the_database.md b/pages/es_ES/docs/connecting_to_the_database.md
index 8e934f2762a..a98a00cf3aa 100644
--- a/pages/es_ES/docs/connecting_to_the_database.md
+++ b/pages/es_ES/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Conectarse a una base de datos
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/es_ES/docs/constraints.md b/pages/es_ES/docs/constraints.md
index 35382111025..9b9cff11c77 100644
--- a/pages/es_ES/docs/constraints.md
+++ b/pages/es_ES/docs/constraints.md
@@ -7,7 +7,7 @@ GORM permite crear restricciones de base de datos con [tag](https://pkg.go.dev/r
## Restricción CHECK
-Crear restricción CHECK con tag `check`
+Crear restricción CHECK con el tag `check`
```go
type UserIndex struct {
diff --git a/pages/fa_IR/community.md b/pages/fa_IR/community.md
index 6f40830cdc5..f31e4f09711 100644
--- a/pages/fa_IR/community.md
+++ b/pages/fa_IR/community.md
@@ -47,12 +47,12 @@ layout: صفحه
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## مشارکت در بهبود این صفحه
diff --git a/pages/fa_IR/docs/connecting_to_the_database.md b/pages/fa_IR/docs/connecting_to_the_database.md
index 6dd977c9d75..48d13425569 100644
--- a/pages/fa_IR/docs/connecting_to_the_database.md
+++ b/pages/fa_IR/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/fr_FR/community.md b/pages/fr_FR/community.md
index 8a331c32c29..27ddb0463e8 100644
--- a/pages/fr_FR/community.md
+++ b/pages/fr_FR/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/fr_FR/docs/connecting_to_the_database.md b/pages/fr_FR/docs/connecting_to_the_database.md
index cafba404fd8..90c32350162 100644
--- a/pages/fr_FR/docs/connecting_to_the_database.md
+++ b/pages/fr_FR/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connexion à la base de données
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/hi_IN/community.md b/pages/hi_IN/community.md
index 5ecbcc8f4f7..ac7ce5706d4 100644
--- a/pages/hi_IN/community.md
+++ b/pages/hi_IN/community.md
@@ -47,12 +47,12 @@ layout: पृष्ठ
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/hi_IN/docs/connecting_to_the_database.md b/pages/hi_IN/docs/connecting_to_the_database.md
index 3e646cf2e34..8a3ea7430ce 100644
--- a/pages/hi_IN/docs/connecting_to_the_database.md
+++ b/pages/hi_IN/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: एक डेटाबेस से जुड़ना //Connecting to a
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -182,6 +182,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/id_ID/community.md b/pages/id_ID/community.md
index 3c9bc811128..94fdb7e579b 100644
--- a/pages/id_ID/community.md
+++ b/pages/id_ID/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Kontirbusi ke halamain ini
diff --git a/pages/id_ID/docs/connecting_to_the_database.md b/pages/id_ID/docs/connecting_to_the_database.md
index 818dc1c98d9..61290f537a8 100644
--- a/pages/id_ID/docs/connecting_to_the_database.md
+++ b/pages/id_ID/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/it_IT/community.md b/pages/it_IT/community.md
index 5ddeeb3f200..23fddf677c5 100644
--- a/pages/it_IT/community.md
+++ b/pages/it_IT/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribute to this page
diff --git a/pages/it_IT/docs/connecting_to_the_database.md b/pages/it_IT/docs/connecting_to_the_database.md
index 6dd977c9d75..48d13425569 100644
--- a/pages/it_IT/docs/connecting_to_the_database.md
+++ b/pages/it_IT/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/ja_JP/community.md b/pages/ja_JP/community.md
index bca7333843c..46169e9f2c7 100644
--- a/pages/ja_JP/community.md
+++ b/pages/ja_JP/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## このページへの貢献
diff --git a/pages/ja_JP/docs/connecting_to_the_database.md b/pages/ja_JP/docs/connecting_to_the_database.md
index 6ff39e76606..49a87449a70 100644
--- a/pages/ja_JP/docs/connecting_to_the_database.md
+++ b/pages/ja_JP/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: データベースに接続する
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/ko_KR/community.md b/pages/ko_KR/community.md
index a6e959a16cc..9b3cc4d8f2a 100644
--- a/pages/ko_KR/community.md
+++ b/pages/ko_KR/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## 이 페이지에 기여하세요
diff --git a/pages/ko_KR/docs/connecting_to_the_database.md b/pages/ko_KR/docs/connecting_to_the_database.md
index 9d0522275c0..0a6a7bb6a0c 100644
--- a/pages/ko_KR/docs/connecting_to_the_database.md
+++ b/pages/ko_KR/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: 데이터베이스에 연결하기
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/pl_PL/community.md b/pages/pl_PL/community.md
index 8b58ec90099..9dc6dc5153a 100644
--- a/pages/pl_PL/community.md
+++ b/pages/pl_PL/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Współtwórz tę stronę
diff --git a/pages/pl_PL/docs/connecting_to_the_database.md b/pages/pl_PL/docs/connecting_to_the_database.md
index 6dd977c9d75..48d13425569 100644
--- a/pages/pl_PL/docs/connecting_to_the_database.md
+++ b/pages/pl_PL/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Connecting to a Database
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/pt_BR/community.md b/pages/pt_BR/community.md
index 6090868a8bd..d75efbef2c1 100644
--- a/pages/pt_BR/community.md
+++ b/pages/pt_BR/community.md
@@ -47,12 +47,12 @@ layout: page
* [Associação de usuários com funções e permissões](https://github.com/Permify/permify-gorm)
* [gorm-cache - Plugin de cache de consultas para o GORM](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Filtragem aninhada de maps](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - Driver do Oracle para o GORM](https://github.com/CengSin/oracle)
* [Go ORM Helper - Plugin do Goland para autocompletar código GORM](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Contribua para esta página
diff --git a/pages/pt_BR/docs/connecting_to_the_database.md b/pages/pt_BR/docs/connecting_to_the_database.md
index 6c318842e8a..7ef9616e348 100644
--- a/pages/pt_BR/docs/connecting_to_the_database.md
+++ b/pages/pt_BR/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Conectando ao banco de dados
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/ru_RU/community.md b/pages/ru_RU/community.md
index 2a72c0a9e2c..4e5fc3d1be5 100644
--- a/pages/ru_RU/community.md
+++ b/pages/ru_RU/community.md
@@ -47,12 +47,12 @@ layout: страница
* [Связь пользователей с ролями и разрешениями](https://github.com/Permify/permify-gorm)
* [gorm-cache - Плагин для кэширования запросов Gorm](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - фильтрация вложенной карты](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - Драйвер Gorm Oracle](https://github.com/CengSin/oracle)
* [Go ORM Helper - Плагин Gorm для автодополнения кода в Goland](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - Драйвер Gorm DynamoDB](https://github.com/miyamo2/dynmgrm)
* [immugorm - Драйвер Gorm immudb](https://github.com/codenotary/immugorm)
* [DuckDB - Драйвер Gorm DuckDB](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - Драйвер Gorm GaussDB](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Внести изменения в эту страницу
diff --git a/pages/ru_RU/docs/connecting_to_the_database.md b/pages/ru_RU/docs/connecting_to_the_database.md
index 27d188ecd1e..29139098ea0 100644
--- a/pages/ru_RU/docs/connecting_to_the_database.md
+++ b/pages/ru_RU/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Подключение к базе данных
layout: страница
---
-GORM официально поддерживает базы данных MySQL, PostgreSQL, GaussDB, SQLite, SQL Server и TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/tr_TR/community.md b/pages/tr_TR/community.md
index 783114ad57d..0fe30979e50 100644
--- a/pages/tr_TR/community.md
+++ b/pages/tr_TR/community.md
@@ -47,12 +47,12 @@ layout: sayfa
* [Associate users with roles and permissions](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM query cache plugin](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - Nested map filtering](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM Helper - GORM Code Completion Goland Plugin](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## Bu sayfaya katkıda bulunmak
diff --git a/pages/tr_TR/docs/connecting_to_the_database.md b/pages/tr_TR/docs/connecting_to_the_database.md
index 78d9a0405e5..bfa057a58b0 100644
--- a/pages/tr_TR/docs/connecting_to_the_database.md
+++ b/pages/tr_TR/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: Bir Veritabanına Bağlanma
layout: sayfa
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config{
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/zh_CN/community.md b/pages/zh_CN/community.md
index 73b4f7457e2..f9914dc86c0 100644
--- a/pages/zh_CN/community.md
+++ b/pages/zh_CN/community.md
@@ -47,12 +47,12 @@ layout: page
* [关联用户的角色和权限](https://github.com/Permify/permify-gorm)
* [gorm-cache - GORM 查询缓存插件](https://github.com/liyuan1125/gorm-cache)
* [deepgorm - 嵌套映射过滤](https://github.com/survivorbat/gorm-deep-filtering)
-* [oracle - GORM Oracle driver](https://github.com/CengSin/oracle)
* [Go ORM 助手 - GORM 代码补全 Goland 插件](https://github.com/maiqingqiang/go-orm-helper)
* [dynmgrm - GORM DynamoDB Driver](https://github.com/miyamo2/dynmgrm)
* [immugorm - GORM immudb driver](https://github.com/codenotary/immugorm)
* [DuckDB- GORM DuckDB driver](https://github.com/alifiroozi80/duckdb)
* [gorm4gaussdb - GORM GaussDB Driver](https://github.com/okyer/gorm4gaussdb)
+* [GORM driver for Oracle](https://github.com/oracle-samples/gorm-oracle)
## 完善本页面
diff --git a/pages/zh_CN/docs/connecting_to_the_database.md b/pages/zh_CN/docs/connecting_to_the_database.md
index 2abf3887273..c53b54a6da3 100644
--- a/pages/zh_CN/docs/connecting_to_the_database.md
+++ b/pages/zh_CN/docs/connecting_to_the_database.md
@@ -3,7 +3,7 @@ title: 连接到数据库
layout: page
---
-GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server, and TiDB
+GORM officially supports the databases MySQL, PostgreSQL, GaussDB, SQLite, SQL Server TiDB, and Oracle Database
## MySQL
@@ -180,6 +180,33 @@ gormDB, err := gorm.Open(gaussdb.New(gaussdb.Config
Conn: sqlDB,
}), &gorm.Config{})
```
+## Oracle Database
+The GORM Driver for Oracle provides support for Oracle databases, enabling full compatibility with GORM's ORM capabilities. It is built on top of the [Go Driver for Oracle (Godror)](https://github.com/godror/godror) and supports key features such as auto migrations, associations, transactions, and advanced querying.
+
+### Prerequisite: Install Instant Client
+To use ODPI-C with Godror, you’ll need to install the Oracle Instant Client on your system.
+
+Follow the steps on [this page](https://odpi-c.readthedocs.io/en/latest/user_guide/installation.html) to complete the installation.
+
+After that, use a logfmt-encoded parameter list to specify the instant client directory in the `dataSourceName` when you connect to the database. For example:
+
+```go
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+```
+### Getting Started
+```go
+import (
+ "github.com/oracle-samples/gorm-oracle/oracle"
+ "gorm.io/gorm"
+)
+
+dsn := `user="scott" password="tiger"
+ connectString="[host]:[port]/cdb1_pdb1.regress.rdbms.dev.us.oracle.com"
+ libDir="/Path/to/your/instantclient_23_8"`
+db, err := gorm.Open(oracle.Open(dsn), &gorm.Config{})
+```
## SQLite
diff --git a/pages/zh_CN/docs/many_to_many.md b/pages/zh_CN/docs/many_to_many.md
index 070804af2c4..84301c14140 100644
--- a/pages/zh_CN/docs/many_to_many.md
+++ b/pages/zh_CN/docs/many_to_many.md
@@ -78,7 +78,7 @@ type Language struct {
// foreign key: language_id, reference: languages.id
```
-若要重写它们,可以使用标签 `foreignKey`、`references`、`joinforeignKey`、`joinReferences`。当然,您不需要使用全部的标签,你可以仅使用其中的一个重写部分的外键、引用。
+若要重写它们,可以使用标签 `foreignKey`、`references`、`joinForeignKey`、`joinReferences`。当然,您不需要使用全部的标签,你可以仅使用其中的一个重写部分的外键、引用
```go
type User struct {