Skip to content

Commit a3a455f

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 9ed2a3e + e6f7227 commit a3a455f

File tree

1 file changed

+20
-4
lines changed

1 file changed

+20
-4
lines changed

README.md

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
1-
# JavaWebStack ORM
2-
Object Relational Mapping of JavaWebStack
1+
<p align="center"><img src="https://raw.githubusercontent.com/JavaWebStack/docs/master/src/assets/img/icon.svg" width="100">
2+
<br><br>
3+
JWS Object Relational Mapping
4+
</p>
35

46
## Introduction
57
When it came to using an ORM Lib in java I used ORMLite before. It worked quite well, but I didn't like the query builder.
@@ -50,18 +52,32 @@ for(User user : Repo.get(User.class).all()){
5052
### Repository
5153
```xml
5254
<repository>
53-
<id>jitpack.io</id>
54-
<url>https://jitpack.io</url>
55+
<id>javawebstack</id>
56+
<url>https://repo.javawebstack.org</url>
5557
</repository>
5658
```
5759
### Dependency
5860
```xml
61+
<dependency>
62+
<groupId>org.javawebstack</groupId>
63+
<artifactId>ORM</artifactId>
64+
<version>1.0-SNAPSHOT<!-- VERSION --></version>
65+
</dependency>
66+
```
67+
#### or Jitpack
68+
```xml
69+
<repository>
70+
<id>jitpack.io</id>
71+
<url>https://jitpack.io</url>
72+
</repository>
73+
5974
<dependency>
6075
<groupId>com.github.JavaWebStack</groupId>
6176
<artifactId>ORM</artifactId>
6277
<version>COMMIT_HASH</version>
6378
</dependency>
6479
```
80+
6581
### Driver
6682
You also need to add the driver you want to use. JavaWebStack ORM comes with a wrapper for com.mysql.jdbc.Driver, but you can also create an own wrapper implementing the interface SQL. (For some reason I needed a pretty old driver version to connect to some servers, so I thought it would be better to link the old version here)
6783
```xml

0 commit comments

Comments
 (0)