Skip to content

Commit 82b6656

Browse files
committed
Small CHanges
1 parent 7c9ce85 commit 82b6656

File tree

9 files changed

+18
-156
lines changed

9 files changed

+18
-156
lines changed

content/docs/getting-started/connection.md

+11-13
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ draft: false
88
menu:
99
docs:
1010
parent: ""
11-
identifier: "example-6a1a6be4373e933280d78ea53de6158e"
11+
identifier: "Connection"
1212
weight: 2
1313
toc: true
1414
seo:
@@ -18,17 +18,7 @@ seo:
1818
noindex: false # false (default) or true
1919
---
2020

21-
Lets connect to our database. First we need to add respective JDBC driver. for eg if we need to connect to postgres we need to add
22-
23-
```xml
24-
<dependency>
25-
<groupId>org.postgresql</groupId>
26-
<artifactId>postgresql</artifactId>
27-
<version>${postgresql.version}</version>
28-
</dependency>
29-
```
30-
31-
Next, We need configure SQLComponents to connect to our database instance. we should create file named `sql-components.yml` with below details
21+
We need configure SQLComponents to connect to the database instance. we should create a file named `sql-components.yml` as given below
3222

3323
```yml
3424
# Connection Details
@@ -40,4 +30,12 @@ schemaName: "sampledb"
4030

4131
# Mapping Logic
4232
rootPackage: "com.example"
43-
```
33+
```
34+
35+
After this, you can build the project with
36+
37+
```sh
38+
mvn clean package
39+
```
40+
41+
once the build is suvvessful, you should see the generated code under `target > generated-sources`

content/docs/getting-started/installation.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ draft: false
88
menu:
99
docs:
1010
parent: ""
11-
identifier: "example-6a1a6be4373e933280d78ea53de6158e"
11+
identifier: "installation"
1212
weight: 1
1313
toc: true
1414
seo:
@@ -18,7 +18,7 @@ seo:
1818
noindex: false # false (default) or true
1919
---
2020

21-
SQLComponents can be added as a build plugin. Also we need to add JDBC driver. for example if we need to work with postgres database we should add below under `build > plugins`
21+
In order to generate the code at compiletime, SQLComponents has to be added as a build plugin ( under `build > plugins` in `pom.xml` ) along with the corresposing JDBC driver.
2222

2323
```xml
2424
<plugin>

content/docs/guides/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ draft: false
88
menu:
99
docs:
1010
parent: ""
11-
identifier: "guides-4e0d0e0f89f7decc11eaad4ae9193018"
11+
identifier: "APIGuide"
1212
weight: 3
1313
toc: true
1414
seo:

content/docs/guides/manager.md content/docs/guides/core-components.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: "Manager"
2+
title: "Core Components"
33
description: "Guides lead a user through a specific task they want to accomplish, often with a sequence of steps."
44
summary: ""
55
date: 2023-09-07T16:04:48+02:00
@@ -8,7 +8,7 @@ draft: false
88
menu:
99
docs:
1010
parent: ""
11-
identifier: "example-6a1a6be4373e933280d78ea53de6158e"
11+
identifier: "CoreComponents"
1212
weight: 1
1313
toc: true
1414
seo:

content/docs/guides/model.md

-52
This file was deleted.

content/docs/guides/store.md

-52
This file was deleted.

content/docs/roadmap/_index.md

-33
This file was deleted.

content/docs/why/_index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ draft: false
88
menu:
99
docs:
1010
parent: ""
11-
identifier: "reference-22e9ba8aefa7ef9891199cf8db3a08cd"
11+
identifier: "why"
1212
weight: 1
1313
toc: true
1414
sidebar:

hugo_stats.json

+1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,7 @@
146146
"icon-tabler-search",
147147
"icon-tabler-sun",
148148
"icon-tabler-x",
149+
"is-terminal",
149150
"justify-content-between",
150151
"justify-content-center",
151152
"justify-content-end",

0 commit comments

Comments
 (0)