BoxLang 🚀 A New JVM Dynamic Language Learn More...

BoxLang ORM

v1.0.9+11 BoxLang Modules

⚡︎ BoxLang Module: BoxLang ORM

|:------------------------------------------------------:  |
| ⚡︎ B o x L a n g ⚡︎
| Dynamic : Modular : Productive
|:------------------------------------------------------:  |
Copyright Since 2023 by Ortus Solutions, Corp
www.boxlang.io | www.ortussolutions.com

 

Development

To get started hacking on bx-orm:

  1. Clone the repo
  2. Copy the latest boxlang binary jar to src/test/resources/libs/boxlang-1.0.0.jar
  3. Download the MySQL JDBC driver module and unzip it to to src/test/resources/libs/modules/
  4. Run docker-compose up -d mysql in the root

Ortus Sponsors

BoxLang is a professional open-source project and it is completely funded by the community and Ortus Solutions, Corp. Ortus Patreons get many benefits like a cfcasts account, a FORGEBOX Pro account and so much more. If you are interested in becoming a sponsor, please visit our patronage page: https://patreon.com/ortussolutions

THE DAILY BREAD

"I am the way, and the truth, and the life; no one comes to the Father, but by me (JESUS)" Jn 14:1-12

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.


Unreleased

1.0.9 - 2025-04-29

🐛 Fixed

  • Implement elementType,elementColumn annotations - Resolves BLMODULES-46
  • Fixes for map collection when structkeytype or structkeycolumn are ignored - Resolves BLMODULES-45
  • Skip usage of AttributeConverter on identifier properties - Resolves BLMODULES-44

1.0.8 - 2025-04-25

⭐ Added

  • Set hibernate version in build so ORMGetHibernateVersion() stays accurate - See a8c7c16

🐛 Fixed

  • Foreign key must have same number of columns as the referenced primary key - Resolves BLMODULES-41
  • Missing FKColumn on To-Many Relationship Should Check the Inverse Relationship for Column data - Resolves BLMODULES-42
  • XMLWriter - Skip id,composite-id XML rendering on subclasses - Resolves BLMODULES-38
  • XML Writer - Skip generator on composite keys - Resolves BLMODULES-40
  • XMLWriter - Don't set insert or update on one-to-one elements - Resolves BLMODULES-39
  • Fix support for 'params' attribute string notation - See BLMODULES-40

1.0.7 - 2025-04-14

🐛 Fixed

  • Fix string casting error on lazy property annotation

1.0.6 - 2025-04-14

🐛 Fixed

  • Fixed support for custom naming strategies - See 8e68206
  • Fixed "smart" naming strategy when entity name begins with an uppercase character - See b47b512
  • Move compat configuration to bx-compat-cfml - See c8b7173
  • Fixed the two types of discriminator generation order - See ea62a62
  • fix bag element being appended to wrong node on subclasses - See f82b2ac
  • change to use caster so that lazy=true does not error - See 0096387

⭐ Added

  • Add missing date property type - See c6ec8a2
  • Add alternate spellings for big decimal and big integer - See 5e199f9
  • Add flush after commit on transaction end - See e2df378

1.0.5 - 2025-04-07

🐛 Fixed

  • Removed debugging code

1.0.4 - 2025-04-06

🐛 Fixed

  • Metadata parsing throws error on empty class despite skipCFCWithError setting - Resolves BLMODULES-37

1.0.3 - 2025-04-06

🐛 Fixed

  • EntityLoad returning incorrect results with criteria struct filter on parent properties - Resolves BLMODULES-36
  • Hibernate Criteria Querys using get are returning proxies instead of the entity - Resolves BLMODULES-35
  • ensure proxies in session are expanded when a load is requested - See 5b07e2c
  • Error on first ORM request after Application Timeout - Resolves BLMODULES-30
  • BoxProxy Struct Implementation causes validation exceptions - Resolves BLMODULES-33

1.0.2 - 2025-04-04

No significant changes.

1.0.1 - 2025-04-04

⭐ Added

  • Allow options as third arg to ORMExecuteQuery - See b5efc84
  • Add handling for not null on to-one relationship - See 6792fb0

🐛 Fixed

  • Attempt casting uniqueOrOrder to string in EntityLoad BIF - See 98f6734
  • Ignore null uniqueOrOrder argument in EntityLoad BIF - See 394d9ba
  • Fix chicken/egg issues with app startup by lazy-initializing the EventHandler - See 699f15b
  • WrongClassException when re-querying for the same object in a session - Resolves BLMODULES-12
  • Disable not-null annotation usage on one-to-one relationships - See c512848
  • fix explicit nulls on setters - See 819fffb
  • Auto-generated has methods are overriding declared methods in ORM entities - Resolves BLMODULES-31
  • x-to-one generated hasX() methods are not returning the correct values - Resolves BLMODULES-32

1.0.0 - 2025-03-26

  • First iteration of this module

$ box install bx-orm

No collaborators yet.
     
  • {{ getFullDate("2024-09-12T15:52:38Z") }}
  • {{ getFullDate("2025-04-29T13:51:20Z") }}
  • 712
  • 1,442