You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
The idea is that you write your plain old Java Objects (POJOs), and then generate a supporting data model that allowstype-safe queries, and then use this model and a very simple API to do Structured Query Language (SQL) queries andupdates. It is focussed on working with POJOs and is intended to make create, update, read, delete (CRUD) operationseasy. It is not meant to be a complete implementation of SQL in Java.
HeliORM also supports querying on abstract data types.
⚠️ This page is currentlyvery incomplete
Getting HeliORM
I recommend using Maven or your prefered package management technology to add HeliORM To your project. You'll need atleast thecore library, and most likely a SQL driver library, and if you wish to use annotations in your POJOs, theannotation library.
Dog is annotated with@Pojo and some of it's fields are annotated as well. We'll explain more about annotationslater
Create
Create a new 3-year old dog, and call it 'Fido':
Dogdog =newDog();dog.setName("Fido");// The classics are the bestdog.setAge(3);dog.setPersonId(1);// code ommitted to set values in dogdog =orm.create(dog);