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
Copy file name to clipboardExpand all lines: .github/copilot-instructions.md
+89-11Lines changed: 89 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,41 @@
1
1
# CBOrm Copilot Instructions
2
2
3
-
CBOrm is a ColdBox module that enhances Hibernate ORM for CFML engines (BoxLang, Lucee, Adobe ColdFusion). It provides service layers, Active Record patterns, fluent criteria queries, and dynamic finders.
3
+
CBOrm is a ColdBox module that **enhances and abstracts Hibernate ORM** for CFML engines (BoxLang, Lucee, Adobe ColdFusion). It extends Hibernate with service layers, Active Record patterns, fluent criteria queries, dynamic finders, RESTful resources, and AOP transaction management.
4
4
5
5
## Core Architecture
6
6
7
7
**Service Layer Pattern**: CBOrm uses three main service types:
8
-
-`BaseORMService` - Base service for any entity operations (`models/BaseORMService.cfc`)
9
-
-`VirtualEntityService` - Auto-generated services per entity via WireBox DSL
10
-
-`ActiveEntity` - Active Record pattern for entities (`models/ActiveEntity.cfc`)
11
-
12
-
**Key Components**:
13
-
-`models/criterion/CriteriaBuilder.cfc` - Fluent query builder for Hibernate criteria
8
+
-`BaseORMService` - Base service for any entity operations with CRUD, dynamic finders, criteria queries (`models/BaseORMService.cfc`)
0 commit comments