Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wyatt-herkamp/tuxorm
TuxORM is a simple to use orm. That uses a Dao. I wrote this with the database tool TuxJSQL. I use a lot of magical code.
https://github.com/wyatt-herkamp/tuxorm
dao database java orm sql
Last synced: 4 months ago
JSON representation
TuxORM is a simple to use orm. That uses a Dao. I wrote this with the database tool TuxJSQL. I use a lot of magical code.
- Host: GitHub
- URL: https://github.com/wyatt-herkamp/tuxorm
- Owner: wyatt-herkamp
- License: gpl-3.0
- Created: 2019-01-27T01:23:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-03T10:26:07.000Z (almost 2 years ago)
- Last Synced: 2024-04-14T03:08:01.527Z (10 months ago)
- Topics: dao, database, java, orm, sql
- Language: Java
- Homepage: https://kingtux.dev/tuxorm/
- Size: 231 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# TuxORM
TuxORM is a simple to use orm. That uses a [Dao](https://en.wikipedia.org/wiki/Data_access_object).
I wrote this with the database tool [TuxJSQL](https://tuxjsql.dev/). I use a lot of magical code.[![Maven Central](https://maven-badges.herokuapp.com/maven-central/me.kingtux/tuxorm/badge.svg)](https://mvnrepository.com/artifact/me.kingtux/tuxorm)
Discord: https://discord.gg/qtCKz4X
### Getting Started
To start using TuxORM you will need to learn how to use
[TuxJSQL](https://tuxjsql.dev/) You can learn how to use that here
[https://tuxjsql.dev/](https://tuxjsql.dev/). After you have learned how
to create a TuxJSQL all you have to do is to`TOConnection connection = new TOConnecton(tuxjsql);`
### Creating an Object
```java
import me.kingtux.tuxorm.annotations.DBTable;
import me.kingtux.tuxorm.annotations.TableColumn;@DBTable(name="overallclasses")
public class OverallClass {
@TableColumn(primary = true, autoIncrement = true)
private int id;
@TableColumn
private String name;
}
```
and to get the [Dao](https://en.wikipedia.org/wiki/Data_access_object)
you run is `connection.createDao(OverallClass.class)`### Supported Datatypes.
All basic Java DataTypes ex. String, int, long, and others.It also supports Lists, Maps, and Files. Using our BuiltIn Serializers.
You can also add support to more by
[creating your own serializer](https://kingtux.dev/tuxorm/serializers.html)