Profile cover photo
Profile photo
Software Tree
5 followers
5 followers
About
Posts

Post has attachment
An Object Relational Mapping (ORM) specification consists of mapping specifications for various object classes of an application needing persistence in a relational database.

Following the KISS Principle #5 (http://softwaretree.com/v1/KISSPrinciples.html#Principles5) for ORM products, an ORM specification for Software Tree’s ORM products (JDX for Java, JDXA for Android, and NJDX for .NET) is defined declaratively in a text (mapping) file. This blog discusses how to best order mapping specifications of different classes in a mapping file:

http://www.softwaretree.com/blog/2018/06/26/some-best-practices-for-defining-orm-specifications/

#androiddevs #ORM #ORMSpecification #KISSPrinciples #JDXA #JDX #NJDX #persistence

Photo
Add a comment...

Post has attachment
Persisting inter-related Kotlin objects in a SQLite database made easy by JDXA ORM for Android:

This project shows a simple Android app using JDXA ORM to easily exchange data of inter-related Kotlin objects with a SQLite relational database.

The object model used by this app has one-to-one and one-to-many relationships. A company has many departments and many foreign locations. An employee has an address and works in a department.

The source code of this project is hosted on GitHub at https://github.com/SoftwareTree/JDXAndroidRelationshipsExample_K

JDXA ORM will simplify and accelerate development of your Android apps by eliminating the need to write complex low-level data access code. You may learn more about JDXA and get a free evaluation copy by visiting http://www.softwaretree.com.

#androiddev #jdxa #orm #sqlite? #object-relationships #kotlin-orm #kotlin-android #kotlin-persistence #kotlin-sqlite
Photo
Add a comment...

Post has attachment
Kotlin has lately been gaining a lot of popularity as a development language for new applications. Persisting domain model objects (realized as instances of Kotlin classes) in relational databases is an important need for these new applications. JDXA ORM for Android can meet this need well with a simple, non-intrusive, and flexible approach.

This project (https://github.com/SoftwareTree/JDXAndroidSimpleExample_K), hosted on GitHub, shows a simple Android app using JDXA ORM to exchange Kotlin object data with an on-device SQLite relational database.

#androiddevs #ORM #JDXA #sqlite #kotlin #kotlin-persistence
Photo
Add a comment...

Post has attachment
Storing binary (e.g., image or encoded bytes) data in a separate attribute along with 'normal' data in other attributes of a class is an important object modeling requirement for many applications.

This project (https://github.com/SoftwareTree/JDXAndroidImagesExample), hosted on GitHub, exemplifies how some binary data, as part of an object, can easily be stored and retrieved using SQLite database and JDXA ORM for Android. The object model consists of a Person class that contains a byte[] attribute to hold binary (image) data. It has some US Presidents as instances of the Person class.

#androiddevs #ORM #JDXA #sqlite #binary-data #image-data
Photo
Add a comment...

Post has attachment
This project (https://github.com/SoftwareTree/JDXAndroidAutoIncrementExample), hosted on GitHub, exemplifies how JDXA ORM for Android can use an autoincrement column of a SQLite database table to automatically generate primary key values for new objects.

#androiddevs #ORM #JDXA #sqlite
Photo
Add a comment...

Post has attachment
Many-to-many relationship is an important object modeling requirement for many applications.

This project (https://github.com/SoftwareTree/JDXAndroidManyToManyExample) hosted on GitHub exemplifies how JDXA ORM and associated utilities can be used to easily develop an Android app that exchanges data of inter-related domain model objects, which are involved in many-to-many relationships, with an SQLite database. In the object model used by this app, one user may have many groups and one group may have many users.

#androiddevs #ORM #JDXA #sqlite
Photo
Add a comment...

Post has attachment
This is part 2 ( https://youtu.be/1-2aE5ZI_rY ) of the video showing a simple Android app using JDXA ORM to exchange data of the inter-related objects with an on-device SQLite relational database.

The object model used by this app has one-to-one and one-to-many relationships. A company has many departments and many foreign locations. An employee has an address and works in a department.

The source code of this project is hosted on GitHub at https://github.com/SoftwareTree/JDXAndroidRelationshipsExample

#JDXA #ORM #sqlite
Add a comment...

Post has attachment
This video shows a simple Android app using JDXA ORM to exchange data of inter-related objects with a SQLite relational database.

The object model used by this app has one-to-one and one-to-many relationships. A company has many departments and many foreign locations. An employee has an address and works in a department.

The source code of this project is hosted on GitHub at https://github.com/SoftwareTree/JDXAndroidRelationshipsExample

#JDXA #ORM #sqlite #androiddev
Add a comment...

Post has attachment
A simple example project with JDXA ORM for Android.
Add a comment...

Post has attachment
Announcing JDXA 2.0 ORM product for Android:

We are happy to announce version 2.0 of JDXA ORM to simplify integration of Android apps with SQLite databases. On top of an already available comprehensive set of ORM features, JDXA 2.0 adds performance improvements and new APIs to further provide flexible mapping capabilities like bulk updates, lazy fetching, and auto-initialization of primary key attributes. The SDK includes enhanced documentation and many new sample apps.

Learn more about the latest version of the JDXA ORM product and get a free evaluation version by visiting Software Tree’s website at http://www.softwaretree.com
Photo
Add a comment...
Wait while more posts are being loaded