├── tutorials └── tutorial │ └── src │ ├── test │ ├── java │ │ └── .gitignore │ └── resources │ │ └── .gitignore │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── cayenne │ │ └── tutorial │ │ └── persistent │ │ └── auto │ │ └── _Datamap.java │ └── resources │ └── cayenne-project.xml ├── cayenne-project └── src │ └── test │ └── resources │ └── org │ └── apache │ └── cayenne │ └── project │ ├── upgrade │ ├── v6 │ │ ├── 2_0a │ │ │ ├── cayenne.xml │ │ │ ├── d1Map.map.xml │ │ │ └── d1Node.driver.xml │ │ ├── 3_0_0_1a │ │ │ ├── cayenne.xml │ │ │ ├── d1Map1.map.xml │ │ │ ├── d1Map2.map.xml │ │ │ └── d1NodeDriver.driver.xml │ │ └── 6a │ │ │ ├── cayenne-PROJECT1.xml │ │ │ ├── testProjectMap1_1.map.xml │ │ │ └── testProjectMap1_2.map.xml │ ├── v7 │ │ ├── 2_0a │ │ │ ├── d1Map.map.xml │ │ │ ├── d1Node.driver.xml │ │ │ └── cayenne.xml │ │ ├── 3_0_0_1a │ │ │ ├── d1NodeDriver.driver.xml │ │ │ ├── d1Map1.map.xml │ │ │ ├── d1Map2.map.xml │ │ │ └── cayenne.xml │ │ ├── 6a │ │ │ ├── testProjectMap1_2.map.xml │ │ │ ├── cayenne-PROJECT1.xml │ │ │ └── delete_shadow_attributes │ │ │ │ ├── cayenne-TestProject.xml │ │ │ │ └── testProjectMap2.map.xml │ │ └── 7a │ │ │ ├── testProjectMap1_2.map.xml │ │ │ ├── cayenne-PROJECT1.xml │ │ │ └── testProjectMap1_1.map.xml │ ├── handlers │ │ ├── cayenne-project-v11.xml │ │ ├── cayenne-project-v12.xml │ │ ├── cayenne-project-v5.xml │ │ ├── cayenne-project-v3.2.1.0.xml │ │ ├── cayenne-project-v7.xml │ │ ├── cayenne-project-v8.xml │ │ ├── cayenne-project-v9.xml │ │ ├── cayenne-project-v6.xml │ │ ├── test-map-v9.map.xml │ │ ├── test-map-v8.map.xml │ │ ├── cayenne-project-v10.xml │ │ └── velocityTemplate.vm │ ├── v9 │ │ ├── 3_0_0_1a │ │ │ ├── d1NodeDriver.driver.xml │ │ │ ├── d1Map1.map.xml │ │ │ ├── d1Map2.map.xml │ │ │ └── cayenne.xml │ │ ├── 6a │ │ │ ├── testProjectMap1_2.map.xml │ │ │ └── cayenne-PROJECT1.xml │ │ ├── testProjectMap1_2.map.xml │ │ ├── cayenne-PROJECT1.xml │ │ └── testProjectMap1_1.map.xml │ └── v8 │ │ └── 7a │ │ ├── testProjectMap1_2.map.xml │ │ └── cayenne-PROJECT1.xml │ ├── testProjectMap1_1.map.xml │ ├── testProjectMap1_2.map.xml │ ├── testProjectMap2_1.map.xml │ ├── testProjectMap2_2.map.xml │ ├── cayenne-PROJECT1.xml │ └── cayenne-PROJECT2.xml ├── cayenne-gradle-plugin ├── gradle │ └── wrapper │ │ └── gradle-wrapper.jar ├── src │ └── test │ │ └── resources │ │ └── org │ │ └── apache │ │ └── cayenne │ │ └── tools │ │ └── empty_db.sql └── settings.gradle ├── assembly └── src │ └── main │ └── resources │ └── assemblies │ └── mac │ └── background.tiff ├── cayenne └── src │ ├── test │ ├── resources │ │ ├── org │ │ │ └── apache │ │ │ │ └── cayenne │ │ │ │ ├── util │ │ │ │ └── jar-test.jar │ │ │ │ ├── configuration │ │ │ │ ├── xml │ │ │ │ │ ├── cayenne-testConfig4.xml │ │ │ │ │ ├── cayenne-testConfig1.xml │ │ │ │ │ ├── cayenne-testConfig5.xml │ │ │ │ │ ├── cayenne-testConfig2.xml │ │ │ │ │ ├── testConfigMap5.map.xml │ │ │ │ │ └── cayenne-testConfig3.xml │ │ │ │ └── runtime │ │ │ │ │ └── testDBCP.properties │ │ │ │ └── dbimport │ │ │ │ ├── reverseEngineering.xml │ │ │ │ ├── reverseEngineering-skipPrimaryKeyLoading.xml │ │ │ │ └── reverseEngineering-skipRelationshipsLoading.xml │ │ ├── url conversion │ │ │ ├── cayenne-empty.xml │ │ │ └── empty.map.xml │ │ ├── cay743 │ │ │ ├── cayenne-domain.xml │ │ │ ├── map1.map.xml │ │ │ └── map2.map.xml │ │ ├── cayenne-enum.xml │ │ ├── cayenne-lob.xml │ │ ├── cayenne-uuid.xml │ │ ├── cayenne-empty.xml │ │ ├── cayenne-no-pk.xml │ │ ├── cayenne-people.xml │ │ ├── cayenne-sus.xml │ │ ├── cayenne-things.xml │ │ ├── cayenne-toone.xml │ │ ├── cayenne-binary-pk.xml │ │ ├── cayenne-cay-2032.xml │ │ ├── cayenne-compound.xml │ │ ├── cayenne-date-time.xml │ │ ├── cayenne-generated.xml │ │ ├── cayenne-generic.xml │ │ ├── cayenne-locking.xml │ │ ├── cayenne-primitive.xml │ │ ├── cayenne-qualified.xml │ │ ├── cayenne-reflexive.xml │ │ ├── cayenne-testmap.xml │ │ ├── cay2666 │ │ │ └── cayenne-cay-2666.xml │ │ ├── cayenne-array-type.xml │ │ ├── cayenne-embeddable.xml │ │ ├── cayenne-inheritance.xml │ │ ├── cayenne-lifecycles.xml │ │ ├── cayenne-map-to-many.xml │ │ ├── cayenne-misc-types.xml │ │ ├── cayenne-multi-tier.xml │ │ ├── cayenne-oneway-rels.xml │ │ ├── cayenne-org.apache.cayenne.configuration.rop.server.test-config.xml │ │ ├── cayenne-soft-delete.xml │ │ ├── cay2641 │ │ │ └── cayenne-cay-2641.xml │ │ ├── cayenne-delete-rules.xml │ │ ├── cayenne-extended-type.xml │ │ ├── cayenne-meaningful-pk.xml │ │ ├── cayenne-numeric-types.xml │ │ ├── cayenne-relationships.xml │ │ ├── cayenne-return-types.xml │ │ ├── cayenne-weighted-sort.xml │ │ ├── cayenne-lazy-attributes.xml │ │ ├── cayenne-legacy-date-time.xml │ │ ├── cayenne-table-primitives.xml │ │ ├── annotation │ │ │ └── cayenne-project.xml │ │ ├── cayenne-quoted-identifiers.xml │ │ ├── cayenne-relationships-clob.xml │ │ ├── cayenne-inheritance-vertical.xml │ │ ├── cayenne-inheritance-with-enum.xml │ │ ├── cayenne-multinode.xml │ │ ├── cayenne-relationships-activity.xml │ │ ├── cayenne-relationships-flattened.xml │ │ ├── cayenne-relationships-to-many-fk.xml │ │ ├── cayenne-relationships-to-one-fk.xml │ │ ├── cayenne-inheritance-single-table1.xml │ │ ├── cayenne-lifecycle-callbacks-order.xml │ │ ├── cayenne-mixed-persistence-strategy.xml │ │ ├── cayenne-relationships-child-master.xml │ │ ├── cayenne-relationships-delete-rules.xml │ │ ├── cayenne-relationships-set-to-many.xml │ │ ├── cayenne-unsupported-distinct-types.xml │ │ ├── cayenne-relationships-many-to-many-join.xml │ │ ├── cayenne-relationships-collection-to-many.xml │ │ ├── cayenne-hybrid-data-object.xml │ │ ├── empty.map.xml │ │ ├── dbcp.properties │ │ ├── dbcp.driver.properties │ │ ├── no-pk.map.xml │ │ ├── lifecycles.map.xml │ │ ├── lifecycle-callbacks-order.map.xml │ │ ├── sus-map.map.xml │ │ ├── array-type.map.xml │ │ ├── extended-type.map.xml │ │ ├── lazy-attributes.map.xml │ │ ├── custom-name-file.xml │ │ ├── table-primitives.map.xml │ │ ├── ddl │ │ │ ├── db2 │ │ │ │ ├── drop-update-sp.sql │ │ │ │ ├── drop-update-sp2.sql │ │ │ │ ├── drop-out-sp.sql │ │ │ │ └── drop-select-sp.sql │ │ │ └── mysql │ │ │ │ ├── drop-out-sp.sql │ │ │ │ ├── drop-update-sp.sql │ │ │ │ ├── drop-select-sp.sql │ │ │ │ └── drop-update-sp2.sql │ │ └── soft-delete.map.xml │ └── java │ │ └── org │ │ └── apache │ │ └── cayenne │ │ └── testdo │ │ ├── generic │ │ └── auto │ │ │ └── _Generic.java │ │ ├── locking │ │ └── auto │ │ │ └── _Locking.java │ │ ├── oneway │ │ └── auto │ │ │ └── _OnewayRels.java │ │ ├── quotemap │ │ └── auto │ │ │ └── _Quotemap.java │ │ ├── inheritance_people │ │ └── auto │ │ │ └── _People.java │ │ ├── relationships │ │ └── auto │ │ │ └── _Relationships.java │ │ ├── inheritance_flat │ │ └── auto │ │ │ └── _InheritanceFlat.java │ │ ├── relationships_activity │ │ └── auto │ │ │ └── _Relationships1.java │ │ ├── inheritance_vertical │ │ └── auto │ │ │ └── _InheritanceVertical.java │ │ ├── unsupported_distinct_types │ │ └── auto │ │ │ └── _UnsupportedDistinctTypes.java │ │ ├── inheritance_horizontal │ │ └── auto │ │ │ ├── _SubEntity1.java │ │ │ ├── _SubEntity2.java │ │ │ └── _SubEntity3.java │ │ └── lob │ │ └── NClobTestEntity.java │ └── main │ ├── java │ └── org │ │ └── apache │ │ └── cayenne │ │ ├── dba │ │ ├── mysql │ │ │ └── package.html │ │ ├── db2 │ │ │ └── package.html │ │ ├── oracle │ │ │ └── package.html │ │ ├── derby │ │ │ └── package.html │ │ ├── hsqldb │ │ │ └── package.html │ │ ├── postgres │ │ │ └── package.html │ │ ├── sqlserver │ │ │ └── package.html │ │ ├── sybase │ │ │ └── package.html │ │ ├── frontbase │ │ │ └── package.html │ │ └── package.html │ │ ├── util │ │ └── package.html │ │ ├── package.html │ │ ├── exp │ │ └── parser │ │ │ └── package.html │ │ ├── access │ │ ├── jdbc │ │ │ └── package.html │ │ ├── types │ │ │ └── package.html │ │ └── package.html │ │ └── map │ │ └── package.html │ └── resources │ └── org │ └── apache │ └── cayenne │ └── cayenne-strings.properties ├── docs └── asciidoc │ ├── cayenne-guide │ └── src │ │ └── docs │ │ └── asciidoc │ │ ├── images │ │ ├── db-entity-pk.png │ │ ├── ext-crypto-obj-entity.png │ │ ├── remote-object-persistence.jpg │ │ ├── re-modeler-datasource-select.png │ │ └── re-modeler-reverseengineering-dialog.png │ │ └── _cayenne-guide │ │ ├── var.adoc │ │ ├── part1.adoc │ │ ├── part4.adoc │ │ └── multipage-header.html │ ├── getting-started-guide │ └── src │ │ └── docs │ │ └── asciidoc │ │ ├── images │ │ ├── icon-edit.png │ │ ├── icon-node.png │ │ ├── icon-sync.png │ │ ├── base-datamap.png │ │ ├── base-datanode.png │ │ ├── chrome-webapp.png │ │ ├── icon-attribute.png │ │ ├── icon-datamap.png │ │ ├── icon-dbentity.png │ │ ├── idea-xmlfiles.png │ │ ├── class-generation.png │ │ ├── database-schema.jpg │ │ ├── modeler-artistid.png │ │ ├── modeler-started.png │ │ ├── icon-new_objentity.png │ │ ├── icon-relationship.png │ │ ├── idea-file-run-menu.png │ │ ├── modeler-deleterule.png │ │ ├── tutorial-idea-project.png │ │ ├── cayenne-tutorial-model.png │ │ ├── idea-edit-configurations.png │ │ ├── idea-generated-classes.png │ │ ├── idea-run-configuration.png │ │ └── modeler-dbrelationship.png │ │ └── _getting-started-guide │ │ ├── part2.adoc │ │ └── part3.adoc │ └── getting-started-db-first │ └── src │ └── docs │ └── asciidoc │ ├── images │ ├── idea-file-run-menu.png │ ├── tutorial-idea-project.png │ ├── tutorial-java-classes.png │ ├── tutorial-new-datamap.png │ ├── tutorial-update-model.png │ ├── tutorial-cayenne-project.png │ └── tutorial-drop-relationship.png │ └── _getting-started-db-first │ ├── part2.adoc │ ├── part1.adoc │ ├── part4.adoc │ └── part3.adoc ├── cayenne-crypto └── src │ └── test │ └── resources │ ├── org │ └── apache │ │ └── cayenne │ │ └── crypto │ │ ├── key │ │ └── ks1.jceks │ │ └── transformer │ │ └── bytes │ │ ├── plain │ │ └── plain.gz │ └── cayenne-crypto.xml ├── modeler ├── cayenne-modeler-mac │ └── src │ │ ├── japplication │ │ └── resources │ │ │ └── CayenneModeler.icns │ │ └── main │ │ └── resources │ │ └── README.txt ├── cayenne-modeler-win │ └── src │ │ └── japplication │ │ └── resources │ │ └── CayenneModeler.ico ├── cayenne-modeler │ └── src │ │ ├── main │ │ ├── resources │ │ │ └── org │ │ │ │ └── apache │ │ │ │ └── cayenne │ │ │ │ └── modeler │ │ │ │ └── images │ │ │ │ ├── logo.jpg │ │ │ │ ├── icon-cut.png │ │ │ │ ├── icon-dom.png │ │ │ │ ├── icon-new.png │ │ │ │ ├── icon-up.png │ │ │ │ ├── icon-copy.png │ │ │ │ ├── icon-down.png │ │ │ │ ├── icon-edit.png │ │ │ │ ├── icon-error.png │ │ │ │ ├── icon-info.png │ │ │ │ ├── icon-node.png │ │ │ │ ├── icon-open.png │ │ │ │ ├── icon-paste.png │ │ │ │ ├── icon-plus.png │ │ │ │ ├── icon-query.png │ │ │ │ ├── icon-redo.png │ │ │ │ ├── icon-save.png │ │ │ │ ├── icon-sync.png │ │ │ │ ├── icon-trash.png │ │ │ │ ├── icon-undo.png │ │ │ │ ├── icon-backward.png │ │ │ │ ├── icon-datamap.png │ │ │ │ ├── icon-dbentity.png │ │ │ │ ├── icon-dbi-sort.png │ │ │ │ ├── icon-disable.png │ │ │ │ ├── icon-eomodel.png │ │ │ │ ├── icon-filter.png │ │ │ │ ├── icon-forward.png │ │ │ │ ├── icon-gen_java.png │ │ │ │ ├── icon-move_up.png │ │ │ │ ├── icon-refresh.png │ │ │ │ ├── icon-remove.png │ │ │ │ ├── icon-sort-asc.png │ │ │ │ ├── icon-zoom-in.png │ │ │ │ ├── icon-zoom-out.png │ │ │ │ ├── CayenneModeler.png │ │ │ │ ├── icon-arrow-open.png │ │ │ │ ├── icon-attribute.png │ │ │ │ ├── icon-dbi-column.png │ │ │ │ ├── icon-dbi-config.png │ │ │ │ ├── icon-dbi-schema.png │ │ │ │ ├── icon-embeddable.png │ │ │ │ ├── icon-move_down.png │ │ │ │ ├── icon-new_query.png │ │ │ │ ├── icon-objentity.png │ │ │ │ ├── icon-sort-desc.png │ │ │ │ ├── icon-arrow-closed.png │ │ │ │ ├── icon-create-method.png │ │ │ │ ├── icon-dbi-catalog.png │ │ │ │ ├── icon-dbi-refresh.png │ │ │ │ ├── icon-dbi-runImport.png │ │ │ │ ├── icon-inheritance.png │ │ │ │ ├── icon-new_objentity.png │ │ │ │ ├── icon-relationship.png │ │ │ │ ├── icon-save-as-image.png │ │ │ │ ├── icon-tree-collapse.png │ │ │ │ ├── icon-new_embeddable.png │ │ │ │ ├── icon-dbi-excludeColumn.png │ │ │ │ ├── icon-dbi-excludeTable.png │ │ │ │ ├── icon-dbi-includeColumn.png │ │ │ │ ├── icon-dbi-includeTable.png │ │ │ │ ├── icon-find_and_replace.png │ │ │ │ ├── icon-stored-procedure.png │ │ │ │ ├── icon-dbi-excludeProcedure.png │ │ │ │ ├── icon-dbi-includeProcedure.png │ │ │ │ └── welcome │ │ │ │ ├── welcome-screen-left-bg.jpg │ │ │ │ ├── welcome-screen-new-btn.png │ │ │ │ ├── welcome-screen-open-btn.png │ │ │ │ ├── welcome-screen-right-bg.jpg │ │ │ │ ├── welcome-screen-new-btn-hover.png │ │ │ │ └── welcome-screen-open-btn-hover.png │ │ └── java │ │ │ └── org │ │ │ └── apache │ │ │ └── cayenne │ │ │ └── modeler │ │ │ ├── editor │ │ │ └── package.html │ │ │ └── dialog │ │ │ └── db │ │ │ └── package.html │ │ └── test │ │ └── resources │ │ └── org │ │ └── apache │ │ └── cayenne │ │ └── modeler │ │ └── cayenne-configured-validation.xml └── cayenne-wocompat │ └── src │ └── test │ └── resources │ ├── wotests │ ├── cross-model-relationships.eomodeld │ │ ├── index.eomodeld │ │ └── DiagramLayout │ ├── fetchspec.eomodeld │ │ ├── DiagramLayout │ │ └── index.eomodeld │ ├── flattened.eomodeld │ │ └── index.eomodeld │ └── art.eomodeld │ │ ├── index.eomodeld │ │ ├── ExhibitType.plist │ │ └── CustomTypes.plist │ ├── inheritance.eomodeld │ ├── DiagramLayout │ ├── HelperEntity.plist │ ├── AbstractEntity.plist │ └── ConcreteEntityOne.plist │ ├── prototypes.eomodeld │ ├── DiagramLayout │ └── index.eomodeld │ └── art-with-errors.eomodeld │ ├── index.eomodeld │ └── DiagramLayout ├── .gitignore ├── maven-plugins ├── cayenne-tools-itest │ └── src │ │ └── test │ │ └── resources │ │ ├── cayenne-client.xml │ │ └── org │ │ └── apache │ │ └── cayenne │ │ └── tools │ │ ├── velotemplate.vm │ │ └── cgen.map.xml └── cayenne-maven-plugin │ └── src │ └── test │ └── resources │ ├── cgen │ ├── cayenne-testDomain.xml │ └── project-to-test │ │ └── testTemplate.vm │ └── org │ └── apache │ └── cayenne │ └── tools │ └── dbimport │ └── testNamingStrategy.sql ├── cayenne-cgen └── src │ ├── test │ └── resources │ │ └── templateTest │ │ ├── _ObjEntity.java │ │ ├── _SQLTemplate.java │ │ ├── _SelectQuery.java │ │ └── _auto │ │ ├── _SelectQuery.java │ │ └── _SQLTemplate.java │ └── main │ └── resources │ └── META-INF │ └── services │ └── org.apache.cayenne.tools.CayenneToolsModuleProvider ├── cayenne-dbsync └── src │ └── test │ └── resources │ └── org │ └── apache │ └── cayenne │ └── dbsync │ └── reverse │ └── dbimport │ └── cayenne-relationship-optimisation.xml ├── .github └── actions │ └── export-pom-version │ ├── action.yml │ └── bash.sh ├── cayenne-commitlog └── src │ └── test │ ├── java │ └── org │ │ └── apache │ │ └── cayenne │ │ └── commitlog │ │ └── db │ │ └── auto │ │ └── _LifecycleMap.java │ └── resources │ └── cayenne-lifecycle.xml ├── cayenne-ant └── src │ ├── test │ └── resources │ │ └── org │ │ └── apache │ │ └── cayenne │ │ └── tools │ │ ├── velotemplate.vm │ │ └── cgen.map.xml │ └── main │ └── java │ └── org │ └── apache │ └── cayenne │ └── tools │ └── package.html ├── cayenne-lifecycle ├── src │ └── test │ │ ├── java │ │ └── org │ │ │ └── apache │ │ │ └── cayenne │ │ │ └── lifecycle │ │ │ └── db │ │ │ └── auto │ │ │ ├── _E1.java │ │ │ ├── _E2.java │ │ │ └── _UuidRoot1.java │ │ └── resources │ │ └── cayenne-lifecycle.xml └── README.txt └── cayenne-cache-invalidation └── src └── test ├── java └── org │ └── apache │ └── cayenne │ └── cache │ └── invalidation │ └── db │ └── auto │ ├── _E1.java │ └── _E2.java └── resources ├── cayenne-lifecycle.xml └── lifecycle-map.map.xml /tutorials/tutorial/src/test/java/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /tutorials/tutorial/src/test/resources/.gitignore: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/2_0a/cayenne.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/2_0a/d1Map.map.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/3_0_0_1a/cayenne.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/2_0a/d1Node.driver.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/3_0_0_1a/d1Map1.map.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/3_0_0_1a/d1Map2.map.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/6a/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/6a/testProjectMap1_1.map.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/6a/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v6/3_0_0_1a/d1NodeDriver.driver.xml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/cayenne-gradle-plugin/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /assembly/src/main/resources/assemblies/mac/background.tiff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/assembly/src/main/resources/assemblies/mac/background.tiff -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/util/jar-test.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/cayenne/src/test/resources/org/apache/cayenne/util/jar-test.jar -------------------------------------------------------------------------------- /cayenne/src/test/resources/url conversion/cayenne-empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/cayenne-testConfig4.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/2_0a/d1Map.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/db-entity-pk.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/db-entity-pk.png -------------------------------------------------------------------------------- /cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/key/ks1.jceks: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/key/ks1.jceks -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-edit.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-node.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-sync.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler-mac/src/japplication/resources/CayenneModeler.icns: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler-mac/src/japplication/resources/CayenneModeler.icns -------------------------------------------------------------------------------- /modeler/cayenne-modeler-win/src/japplication/resources/CayenneModeler.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler-win/src/japplication/resources/CayenneModeler.ico -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/ext-crypto-obj-entity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/ext-crypto-obj-entity.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/base-datamap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/base-datamap.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/base-datanode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/base-datanode.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/chrome-webapp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/chrome-webapp.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-attribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-attribute.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-datamap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-datamap.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-dbentity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-dbentity.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-xmlfiles.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-xmlfiles.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/class-generation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/class-generation.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/database-schema.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/database-schema.jpg -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-artistid.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-artistid.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-started.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-started.png -------------------------------------------------------------------------------- /cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/transformer/bytes/plain: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/transformer/bytes/plain -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/remote-object-persistence.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/remote-object-persistence.jpg -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-new_objentity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-new_objentity.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-relationship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/icon-relationship.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-file-run-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-file-run-menu.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-deleterule.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-deleterule.png -------------------------------------------------------------------------------- /cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/transformer/bytes/plain.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/cayenne-crypto/src/test/resources/org/apache/cayenne/crypto/transformer/bytes/plain.gz -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/re-modeler-datasource-select.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/re-modeler-datasource-select.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/idea-file-run-menu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/idea-file-run-menu.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/tutorial-idea-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/tutorial-idea-project.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/logo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/logo.jpg -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | target 2 | out 3 | .classpath 4 | .project 5 | .settings/ 6 | .externalToolBuilders 7 | .DS_Store 8 | derby.log 9 | .metadata 10 | bin/ 11 | .idea 12 | *.iml 13 | .factorypath 14 | build 15 | .gradle 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/2_0a/d1Node.driver.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-idea-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-idea-project.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-java-classes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-java-classes.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-new-datamap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-new-datamap.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-update-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-update-model.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/cayenne-tutorial-model.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/cayenne-tutorial-model.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-edit-configurations.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-edit-configurations.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-generated-classes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-generated-classes.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-run-configuration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/idea-run-configuration.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-dbrelationship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-guide/src/docs/asciidoc/images/modeler-dbrelationship.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-cut.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-cut.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dom.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dom.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-up.png -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v11.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v12.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-copy.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-down.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-edit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-edit.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-error.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-error.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-info.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-info.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-node.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-open.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-paste.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-paste.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-plus.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-plus.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-query.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-redo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-redo.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-save.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-save.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sync.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sync.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-trash.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-trash.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-undo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-undo.png -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/cayenne-testConfig1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/cayenne-testConfig5.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/re-modeler-reverseengineering-dialog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/cayenne-guide/src/docs/asciidoc/images/re-modeler-reverseengineering-dialog.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-cayenne-project.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-cayenne-project.png -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-drop-relationship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/docs/asciidoc/getting-started-db-first/src/docs/asciidoc/images/tutorial-drop-relationship.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-backward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-backward.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-datamap.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-datamap.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbentity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbentity.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-sort.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-sort.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-disable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-disable.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-eomodel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-eomodel.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-filter.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-filter.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-forward.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-forward.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-gen_java.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-gen_java.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-move_up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-move_up.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-refresh.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-remove.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-remove.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sort-asc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sort-asc.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-zoom-in.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-zoom-in.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-zoom-out.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-zoom-out.png -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v3.2.1.0.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cay743/cayenne-domain.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/CayenneModeler.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/CayenneModeler.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-arrow-open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-arrow-open.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-attribute.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-attribute.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-column.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-column.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-config.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-config.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-schema.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-schema.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-embeddable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-embeddable.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-move_down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-move_down.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_query.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_query.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-objentity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-objentity.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sort-desc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-sort-desc.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-arrow-closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-arrow-closed.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-create-method.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-create-method.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-catalog.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-catalog.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-refresh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-refresh.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-runImport.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-runImport.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-inheritance.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-inheritance.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_objentity.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_objentity.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-relationship.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-relationship.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-save-as-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-save-as-image.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-tree-collapse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-tree-collapse.png -------------------------------------------------------------------------------- /maven-plugins/cayenne-tools-itest/src/test/resources/cayenne-client.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_embeddable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-new_embeddable.png -------------------------------------------------------------------------------- /cayenne-cgen/src/test/resources/templateTest/_ObjEntity.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import test.auto._ObjEntity; 4 | 5 | public class ObjEntity extends _ObjEntity { 6 | 7 | private static final long serialVersionUID = 1L; 8 | 9 | } 10 | 11 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeColumn.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeTable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeTable.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeColumn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeColumn.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeTable.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeTable.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-find_and_replace.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-find_and_replace.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-stored-procedure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-stored-procedure.png -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/cross-model-relationships.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = "2.1"; 3 | adaptorName = None; 4 | entities = ({className = EOGenericRecord; name = CrossModelRelTest; }); 5 | } 6 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/cayenne-testConfig2.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeProcedure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-excludeProcedure.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeProcedure.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/icon-dbi-includeProcedure.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-left-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-left-bg.jpg -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-new-btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-new-btn.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-open-btn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-open-btn.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-right-bg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-right-bg.jpg -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-new-btn-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-new-btn-hover.png -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-open-btn-hover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apache/cayenne/HEAD/modeler/cayenne-modeler/src/main/resources/org/apache/cayenne/modeler/images/welcome/welcome-screen-open-btn-hover.png -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/inheritance.eomodeld/DiagramLayout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/prototypes.eomodeld/DiagramLayout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/fetchspec.eomodeld/DiagramLayout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /maven-plugins/cayenne-maven-plugin/src/test/resources/cgen/cayenne-testDomain.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /cayenne-dbsync/src/test/resources/org/apache/cayenne/dbsync/reverse/dbimport/cayenne-relationship-optimisation.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/cross-model-relationships.eomodeld/DiagramLayout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/fetchspec.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = "2.1"; 3 | adaptorName = None; 4 | entities = ( 5 | {className = "org.example.Entity1"; name = Entity1; }, 6 | {className = "org.example.Entity2"; name = Entity2; } 7 | ); 8 | } 9 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/3_0_0_1a/d1NodeDriver.driver.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/3_0_0_1a/d1NodeDriver.driver.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.github/actions/export-pom-version/action.yml: -------------------------------------------------------------------------------- 1 | name: Pom version 2 | description: Gets version from the pom.xml file 3 | 4 | runs: 5 | using: "composite" 6 | steps: 7 | - id: set-up 8 | run: chmod +x $GITHUB_ACTION_PATH/bash.sh 9 | shell: bash 10 | 11 | - id: get-pom-version 12 | run: $GITHUB_ACTION_PATH/bash.sh 13 | shell: bash -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-enum.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-lob.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-uuid.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-empty.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-no-pk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-people.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-sus.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-things.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-toone.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-binary-pk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-cay-2032.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-compound.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-date-time.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-generated.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-generic.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-locking.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-primitive.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-qualified.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-reflexive.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-testmap.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/testProjectMap1_1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/testProjectMap2_1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/testProjectMap2_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cay2666/cayenne-cay-2666.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-array-type.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-embeddable.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-inheritance.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-lifecycles.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-map-to-many.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-misc-types.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-multi-tier.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-oneway-rels.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-org.apache.cayenne.configuration.rop.server.test-config.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-soft-delete.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cay2641/cayenne-cay-2641.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-delete-rules.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-extended-type.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-meaningful-pk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-numeric-types.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-return-types.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-weighted-sort.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-lazy-attributes.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-legacy-date-time.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-table-primitives.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/annotation/cayenne-project.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-quoted-identifiers.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-clob.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/testConfigMap5.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-inheritance-vertical.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-inheritance-with-enum.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-multinode.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /.github/actions/export-pom-version/bash.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | function get_pom_version { 4 | awk -F '<[^>]*>' '//,/<\/dependencies>/{next} //,/<\/plugins>/{next} // {$1=$1; gsub(/ /,"") $0; print}' pom.xml 5 | } 6 | 7 | VERSION=$(get_pom_version) 8 | echo "pom.xml version: $VERSION" 9 | 10 | # export VERSION to the GitHub env 11 | echo "POM_VERSION=$VERSION" >> "$GITHUB_ENV" -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-activity.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-flattened.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-to-many-fk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-to-one-fk.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-inheritance-single-table1.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-lifecycle-callbacks-order.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-mixed-persistence-strategy.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-child-master.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-delete-rules.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-set-to-many.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-unsupported-distinct-types.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/3_0_0_1a/d1Map1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/6a/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/7a/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/3_0_0_1a/d1Map1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/6a/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-many-to-many-join.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v8/7a/testProjectMap1_2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/generic/auto/_Generic.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.generic.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Generic { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/locking/auto/_Locking.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.locking.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Locking { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/oneway/auto/_OnewayRels.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.oneway.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _OnewayRels { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/quotemap/auto/_Quotemap.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.quotemap.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Quotemap { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-relationships-collection-to-many.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/2_0a/cayenne.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/flattened.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = "2.1"; 3 | adaptorName = None; 4 | connectionDictionary = {}; 5 | entities = ( 6 | {className = "org.apache.art.Artist"; name = Artist; }, 7 | {className = "org.apache.art.ArtistExhibit"; name = ArtistExhibit; }, 8 | {className = "org.apache.art.Exhibit"; name = Exhibit; } 9 | ); 10 | } 11 | -------------------------------------------------------------------------------- /cayenne-commitlog/src/test/java/org/apache/cayenne/commitlog/db/auto/_LifecycleMap.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.commitlog.db.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _LifecycleMap { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_people/auto/_People.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_people.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _People { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/relationships/auto/_Relationships.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.relationships.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Relationships { 12 | } -------------------------------------------------------------------------------- /modeler/cayenne-modeler-mac/src/main/resources/README.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | MAC OS X INSTALLATION 4 | --------------------- 5 | 6 | 1. "CayenneModeler.app" is the GUI modeler. Drag it to a folder where you 7 | normally put your applications (e.g. in the "Applications" folder). It 8 | requires Java 8 or newer. 9 | 10 | 2. "cayenne-xxx" folder contains Cayenne documentation and runtime libraries. Drag it 11 | anywhere you would normally place such things. -------------------------------------------------------------------------------- /tutorials/tutorial/src/main/java/org/apache/cayenne/tutorial/persistent/auto/_Datamap.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.tutorial.persistent.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Datamap { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_flat/auto/_InheritanceFlat.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_flat.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _InheritanceFlat { 12 | } -------------------------------------------------------------------------------- /cayenne-cgen/src/test/resources/templateTest/_SQLTemplate.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import test.auto._SQLTemplate; 4 | 5 | public class SQLTemplate extends _SQLTemplate { 6 | 7 | private static SQLTemplate instance; 8 | 9 | private SQLTemplate() {} 10 | 11 | public static SQLTemplate getInstance() { 12 | if(instance == null) { 13 | instance = new SQLTemplate(); 14 | } 15 | 16 | return instance; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-cgen/src/test/resources/templateTest/_SelectQuery.java: -------------------------------------------------------------------------------- 1 | package test; 2 | 3 | import test.auto._SelectQuery; 4 | 5 | public class SelectQuery extends _SelectQuery { 6 | 7 | private static SelectQuery instance; 8 | 9 | private SelectQuery() {} 10 | 11 | public static SelectQuery getInstance() { 12 | if(instance == null) { 13 | instance = new SelectQuery(); 14 | } 15 | 16 | return instance; 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/relationships_activity/auto/_Relationships1.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.relationships_activity.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _Relationships1 { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/resources/cayenne-hybrid-data-object.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_vertical/auto/_InheritanceVertical.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_vertical.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _InheritanceVertical { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/unsupported_distinct_types/auto/_UnsupportedDistinctTypes.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.unsupported_distinct_types.auto; 2 | 3 | 4 | 5 | /** 6 | * This class was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public class _UnsupportedDistinctTypes { 12 | } -------------------------------------------------------------------------------- /cayenne/src/test/resources/cay743/map1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/cay743/map2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/empty.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/6a/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/7a/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v8/7a/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/6a/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/url conversion/empty.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v7.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/3_0_0_1a/d1Map2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/3_0_0_1a/d1Map2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/inheritance.eomodeld/HelperEntity.plist: -------------------------------------------------------------------------------- 1 | { 2 | attributes = ( 3 | { 4 | columnName = PK; 5 | externalType = int; 6 | name = pk; 7 | valueClassName = NSNumber; 8 | valueType = i; 9 | } 10 | ); 11 | attributesUsedForLocking = (pk); 12 | className = HelperEntityClass; 13 | externalName = "HELPER_ENTITY"; 14 | fetchSpecificationDictionary = {}; 15 | name = HelperEntity; 16 | primaryKeyAttributes = (pk); 17 | } 18 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/cayenne-PROJECT1.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v8.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v9.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-ant/src/test/resources/org/apache/cayenne/tools/velotemplate.vm: -------------------------------------------------------------------------------- 1 | ## Test Velocity template 2 | ${importUtils.setPackage($subPackageName)}## 3 | ${importUtils.generate()} 4 | 5 | import java.util.List; 6 | import org.apache.cayenne.*; 7 | 8 | /** Class ${classGen.superPrefix}${classGen.className} was generated by Cayenne. 9 | * It is probably a good idea to avoid changing this class manually, 10 | * since it may be overwritten next time code is regenerated. 11 | * If you need to make any customizations, please use subclass. 12 | */ 13 | public class ${subClassName} extends PersistentObject { 14 | -------------------------------------------------------------------------------- /maven-plugins/cayenne-tools-itest/src/test/resources/org/apache/cayenne/tools/velotemplate.vm: -------------------------------------------------------------------------------- 1 | ## Test Velocity template 2 | ${importUtils.setPackage($subPackageName)}## 3 | ${importUtils.generate()} 4 | 5 | import java.util.List; 6 | import org.apache.cayenne.*; 7 | 8 | /** Class ${classGen.superPrefix}${classGen.className} was generated by Cayenne. 9 | * It is probably a good idea to avoid changing this class manually, 10 | * since it may be overwritten next time code is regenerated. 11 | * If you need to make any customizations, please use subclass. 12 | */ 13 | public class ${subClassName} extends PersistentObject { 14 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v6.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/xml/cayenne-testConfig3.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/prototypes.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = "2.1"; 3 | adaptorName = None; 4 | entities = ( 5 | {className = "xyz.Document"; name = Document; }, 6 | {className = EOGenericRecord; name = EOPrototypes; }, 7 | {className = EOGenericRecord; name = EOXYZPrototypes; }, 8 | {className = "xyz.Estimate"; name = Estimate; parent = Document; }, 9 | {className = "xyz.Invoice"; name = Invoice; parent = Document; }, 10 | {className = "xyz.VendorPO"; name = VendorPO; parent = Document; } 11 | ); 12 | internalInfo = {}; 13 | } 14 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/art-with-errors.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = 2.1; 3 | adaptorName = None; 4 | connectionDictionary = {}; 5 | entities = ( 6 | {className = org.apache.art.Artist; name = Artist; }, 7 | {className = org.apache.art.ArtistExhibit; name = ArtistExhibit; }, 8 | {className = org.apache.art.Exhibit; name = Exhibit; }, 9 | {className = org.apache.art.Gallery; name = Gallery; }, 10 | {className = org.apache.art.Painting; name = Painting; }, 11 | {className = org.apache.art.PaintingInfo; name = PaintingInfo; } 12 | ); 13 | } 14 | -------------------------------------------------------------------------------- /cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_E1.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.lifecycle.db.auto; 2 | 3 | import org.apache.cayenne.GenericPersistentObject; 4 | 5 | /** 6 | * Class _E1 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _E1 extends GenericPersistentObject { 12 | 13 | private static final long serialVersionUID = 1L; 14 | 15 | public static final String ID_PK_COLUMN = "ID"; 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_E2.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.lifecycle.db.auto; 2 | 3 | import org.apache.cayenne.GenericPersistentObject; 4 | 5 | /** 6 | * Class _E2 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _E2 extends GenericPersistentObject { 12 | 13 | private static final long serialVersionUID = 1L; 14 | 15 | public static final String ID_PK_COLUMN = "ID"; 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-lifecycle/README.txt: -------------------------------------------------------------------------------- 1 | TODO: 2 | 3 | 1. A reverse of @MixinRelationship - injecting mixin records into objects annotated with some mixin annotation. 4 | 2. Transactional auditable processing (with a mix of AuditableChild changes, multiple audit events are generated for the same object) 5 | 6 | IMPLEMENTED: 7 | 8 | 5. @AuditableChild 9 | 4. Changeset tracking functionality 10 | 3. @MixinRelationship and MixinRelationshipFilter to batch-fault and inject related objects into mixin entity (e.g. Audit entity) 11 | 2. @Auditable mixin with abstract handler allowing to store audit records in an arbitrary format. 12 | 1. @Referenceable mixin and generic UUID processing classes 13 | -------------------------------------------------------------------------------- /cayenne-cache-invalidation/src/test/java/org/apache/cayenne/cache/invalidation/db/auto/_E1.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.cache.invalidation.db.auto; 2 | 3 | import org.apache.cayenne.GenericPersistentObject; 4 | 5 | /** 6 | * Class _E1 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _E1 extends GenericPersistentObject { 12 | 13 | private static final long serialVersionUID = 1L; 14 | 15 | public static final String ID_PK_COLUMN = "ID"; 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-cache-invalidation/src/test/java/org/apache/cayenne/cache/invalidation/db/auto/_E2.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.cache.invalidation.db.auto; 2 | 3 | import org.apache.cayenne.GenericPersistentObject; 4 | 5 | /** 6 | * Class _E2 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _E2 extends GenericPersistentObject { 12 | 13 | private static final long serialVersionUID = 1L; 14 | 15 | public static final String ID_PK_COLUMN = "ID"; 16 | 17 | 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-lifecycle/src/test/resources/cayenne-lifecycle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/cayenne-PROJECT2.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /cayenne-cache-invalidation/src/test/resources/cayenne-lifecycle.xml: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/6a/delete_shadow_attributes/cayenne-TestProject.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/test-map-v9.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/test/resources/org/apache/cayenne/modeler/cayenne-configured-validation.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | DATA_CHANNEL_NO_NAME 8 | DATA_NODE_NO_NAME 9 | DATA_NODE_NAME_DUPLICATE 10 | DATA_NODE_CONNECTION_PARAMS 11 | 12 | 13 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/test-map-v8.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/7a/testProjectMap1_1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/art-with-errors.eomodeld/DiagramLayout: -------------------------------------------------------------------------------- 1 | { 2 | Layouts = { 3 | Default = { 4 | EntityOption = All; 5 | RelationshipOption = None; 6 | ViewPositions = { 7 | Artist = (199.000000, 350.000000, 165.000000, 132.000000); 8 | ArtistExhibit = (199.000000, 500.000000, 121.000000, 96.000000); 9 | Exhibit = (0.000000, 425.000000, 165.000000, 132.000000); 10 | Gallery = (0.000000, 325.000000, 145.000000, 96.000000); 11 | Painting = (199.000000, 175.000000, 154.000000, 168.000000); 12 | PaintingInfo = (199.000000, 75.000000, 133.000000, 96.000000); 13 | }; 14 | orthoLines = Y; 15 | }; 16 | }; 17 | Version = 1; 18 | } 19 | -------------------------------------------------------------------------------- /cayenne-crypto/src/test/resources/cayenne-crypto.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/cayenne-project-v10.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/3_0_0_1a/cayenne.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/3_0_0_1a/cayenne.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 18 | 19 | 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/art.eomodeld/index.eomodeld: -------------------------------------------------------------------------------- 1 | { 2 | EOModelVersion = "2.1"; 3 | adaptorName = None; 4 | connectionDictionary = {}; 5 | entities = ( 6 | {className = "org.apache.art.Artist"; name = Artist; }, 7 | {className = "org.apache.art.ArtistExhibit"; name = ArtistExhibit; }, 8 | {className = CustomTypes; name = CustomTypes; }, 9 | {className = "org.apache.art.Exhibit"; name = Exhibit; }, 10 | {className = "org.apache.cayenne.art.ExhibitType"; name = ExhibitType; }, 11 | {className = "org.apache.art.Gallery"; name = Gallery; }, 12 | {className = "org.apache.art.Painting"; name = Painting; }, 13 | {className = "org.apache.art.PaintingInfo"; name = PaintingInfo; } 14 | ); 15 | entitiesWithSharedObjects = (ExhibitType); 16 | } 17 | -------------------------------------------------------------------------------- /cayenne-cgen/src/test/resources/templateTest/_auto/_SelectQuery.java: -------------------------------------------------------------------------------- 1 | package test.auto; 2 | 3 | import java.util.List; 4 | 5 | import org.apache.cayenne.ObjectContext; 6 | import org.apache.cayenne.query.MappedSelect; 7 | 8 | /** 9 | * This class was generated by Cayenne. 10 | * It is probably a good idea to avoid changing this class manually, 11 | * since it may be overwritten next time code is regenerated. 12 | * If you need to make any customizations, please use subclass. 13 | */ 14 | public class _SelectQuery { 15 | 16 | public static final String SELECT_QUERYNAME = "select"; 17 | 18 | public List performSelect(ObjectContext context, String param) { 19 | MappedSelect query = MappedSelect.query(SELECT_QUERYNAME, Test.class); 20 | query.param("param", param); 21 | return query.select(context); 22 | } 23 | 24 | } -------------------------------------------------------------------------------- /cayenne/src/test/resources/dbcp.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # https://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | b=a -------------------------------------------------------------------------------- /tutorials/tutorial/src/main/resources/cayenne-project.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne-cgen/src/test/resources/templateTest/_auto/_SQLTemplate.java: -------------------------------------------------------------------------------- 1 | package test.auto; 2 | 3 | import java.util.Map; 4 | 5 | import org.apache.cayenne.ObjectContext; 6 | import org.apache.cayenne.QueryResult; 7 | import org.apache.cayenne.query.MappedExec; 8 | 9 | /** 10 | * This class was generated by Cayenne. 11 | * It is probably a good idea to avoid changing this class manually, 12 | * since it may be overwritten next time code is regenerated. 13 | * If you need to make any customizations, please use subclass. 14 | */ 15 | public class _SQLTemplate { 16 | 17 | public static final String SELECT_QUERYNAME = "select"; 18 | public QueryResult performSelect(ObjectContext context, Map parameters) { 19 | MappedExec query = MappedExec.query(SELECT_QUERYNAME).params(parameters); 20 | return query.execute(context); 21 | } 22 | 23 | } -------------------------------------------------------------------------------- /cayenne-commitlog/src/test/resources/cayenne-lifecycle.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/dbcp.driver.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # https://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | c=d -------------------------------------------------------------------------------- /cayenne/src/test/resources/no-pk.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v9/testProjectMap1_1.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne-ant/src/test/resources/org/apache/cayenne/tools/cgen.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/lifecycles.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/art.eomodeld/ExhibitType.plist: -------------------------------------------------------------------------------- 1 | { 2 | attributes = ( 3 | { 4 | columnName = "EXHIBIT_TYPE_ID"; 5 | externalType = int; 6 | name = exhibitTypeId; 7 | valueClassName = NSNumber; 8 | valueType = i; 9 | }, 10 | { 11 | columnName = "GALLERY_NAME"; 12 | externalType = varchar; 13 | name = name; 14 | valueClassName = NSString; 15 | width = 100; 16 | } 17 | ); 18 | attributesUsedForLocking = (exhibitTypeId); 19 | className = "org.apache.cayenne.art.ExhibitType"; 20 | classProperties = (name); 21 | externalName = "EXHIBIT_TYPE"; 22 | name = ExhibitType; 23 | primaryKeyAttributes = (exhibitTypeId); 24 | sharedObjectFetchSpecificationNames = (FetchAll); 25 | } 26 | -------------------------------------------------------------------------------- /maven-plugins/cayenne-tools-itest/src/test/resources/org/apache/cayenne/tools/cgen.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/lifecycle-callbacks-order.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/var.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | 15 | :version: {project-version} -------------------------------------------------------------------------------- /cayenne/src/test/resources/sus-map.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/inheritance.eomodeld/AbstractEntity.plist: -------------------------------------------------------------------------------- 1 | { 2 | attributes = ( 3 | { 4 | columnName = PK; 5 | externalType = int; 6 | name = pk; 7 | valueClassName = NSNumber; 8 | valueType = i; 9 | } 10 | ); 11 | attributesUsedForLocking = (pk); 12 | className = AbstractEntityClass; 13 | classProperties = (details); 14 | fetchSpecificationDictionary = {}; 15 | isAbstractEntity = Y; 16 | name = AbstractEntity; 17 | primaryKeyAttributes = (pk); 18 | relationships = ( 19 | { 20 | deleteRule = EODeleteRuleCascade; 21 | destination = DetailEntity; 22 | isToMany = Y; 23 | joinSemantic = EOInnerJoin; 24 | joins = ({destinationAttribute = masterFK; sourceAttribute = pk; }); 25 | name = details; 26 | } 27 | ); 28 | } 29 | -------------------------------------------------------------------------------- /cayenne-cache-invalidation/src/test/resources/lifecycle-map.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/handlers/velocityTemplate.vm: -------------------------------------------------------------------------------- 1 | ## Licensed to the Apache Software Foundation (ASF) under one 2 | ## or more contributor license agreements. See the NOTICE file 3 | ## distributed with this work for additional information 4 | ## regarding copyright ownership. The ASF licenses this file 5 | ## to you under the Apache License, Version 2.0 (the 6 | ## "License"); you may not use this file except in compliance 7 | ## with the License. You may obtain a copy of the License at 8 | ## 9 | ## https://www.apache.org/licenses/LICENSE-2.0 10 | ## 11 | ## Unless required by applicable law or agreed to in writing, 12 | ## software distributed under the License is distributed on an 13 | ## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | ## KIND, either express or implied. See the License for the 15 | ## specific language governing permissions and limitations 16 | ## under the License. 17 | velocity template stub -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/_getting-started-db-first/part2.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Importing database 15 | 16 | include::part2-rr-setup.adoc[] 17 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/mysql/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | MySQL DbAdapter. 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/db2/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | IBM DB2 DbAdapter. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/oracle/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Oracle DbAdapter. 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/derby/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Apache Derby DbAdapter. 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/hsqldb/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | HSQLDB DbAdapter. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/postgres/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | PostgreSQL DbAdapter. 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/sqlserver/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | MS SQLServer DbAdapter. 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/sybase/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Sybase DbAdapter. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/util/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | General utility classes. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/array-type.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/_getting-started-db-first/part1.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Setup 15 | 16 | include::part1-setup.adoc[] 17 | 18 | include::part1-maven-project.adoc[] -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/_getting-started-db-first/part4.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Java code 15 | 16 | include::part4-java-classes.adoc[] 17 | 18 | include::part4-java-code.adoc[] -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/inheritance.eomodeld/ConcreteEntityOne.plist: -------------------------------------------------------------------------------- 1 | { 2 | attributes = ( 3 | { 4 | columnName = PK; 5 | externalType = int; 6 | name = pk; 7 | valueClassName = NSNumber; 8 | valueType = i; 9 | } 10 | ); 11 | attributesUsedForLocking = (pk); 12 | className = ConcreteEntityClass; 13 | classProperties = (details); 14 | externalName = "CONCRETE_ENTITY_ONE"; 15 | fetchSpecificationDictionary = {}; 16 | name = ConcreteEntityOne; 17 | parent = AbstractEntity; 18 | primaryKeyAttributes = (pk); 19 | relationships = ( 20 | { 21 | deleteRule = EODeleteRuleCascade; 22 | destination = DetailEntity; 23 | isToMany = Y; 24 | joinSemantic = EOInnerJoin; 25 | joins = ({destinationAttribute = masterFK; sourceAttribute = pk; }); 26 | name = details; 27 | } 28 | ); 29 | } 30 | -------------------------------------------------------------------------------- /cayenne-ant/src/main/java/org/apache/cayenne/tools/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Command line tools and Ant tasks. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne-project/src/test/resources/org/apache/cayenne/project/upgrade/v7/6a/delete_shadow_attributes/testProjectMap2.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | -------------------------------------------------------------------------------- /cayenne/src/main/resources/org/apache/cayenne/cayenne-strings.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one 2 | # or more contributor license agreements. See the NOTICE file 3 | # distributed with this work for additional information 4 | # regarding copyright ownership. The ASF licenses this file 5 | # to you under the Apache License, Version 2.0 (the 6 | # "License"); you may not use this file except in compliance 7 | # with the License. You may obtain a copy of the License at 8 | # 9 | # https://www.apache.org/licenses/LICENSE-2.0 10 | # 11 | # Unless required by applicable law or agreed to in writing, 12 | # software distributed under the License is distributed on an 13 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | # KIND, either express or implied. See the License for the 15 | # specific language governing permissions and limitations 16 | # under the License. 17 | 18 | cayenne.version = ${project.version} 19 | cayenne.build.date = ${project.build.datetime} 20 | -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity1.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_horizontal.auto; 2 | 3 | import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity; 4 | 5 | /** 6 | * Class _SubEntity1 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _SubEntity1 extends AbstractSuperEntity { 12 | 13 | public static final String SUB_ENTITY_STRING_ATTR_PROPERTY = "subEntityStringAttr"; 14 | 15 | public static final String ID_PK_COLUMN = "id"; 16 | 17 | public void setSubEntityStringAttr(String subEntityStringAttr) { 18 | writeProperty("subEntityStringAttr", subEntityStringAttr); 19 | } 20 | public String getSubEntityStringAttr() { 21 | return (String)readProperty("subEntityStringAttr"); 22 | } 23 | 24 | } 25 | -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-db-first/src/docs/asciidoc/_getting-started-db-first/part3.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Advanced usage of cdbimport 15 | 16 | include::part3-updating-model.adoc[] 17 | 18 | include::part3-filtering.adoc[] -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Contains persistence APIs directly accessible by users.

22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/exp/parser/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Contains expression parser and other expression internals. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/extended-type.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/lazy-attributes.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/access/jdbc/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Contains classes that handle JDBC interactions.

22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /cayenne-gradle-plugin/src/test/resources/org/apache/cayenne/tools/empty_db.sql: -------------------------------------------------------------------------------- 1 | -- Licensed to the Apache Software Foundation (ASF) under one 2 | -- or more contributor license agreements. See the NOTICE file 3 | -- distributed with this work for additional information 4 | -- regarding copyright ownership. The ASF licenses this file 5 | -- to you under the Apache License, Version 2.0 (the 6 | -- "License"); you may not use this file except in compliance 7 | -- with the License. You may obtain a copy of the License at 8 | -- 9 | -- https://www.apache.org/licenses/LICENSE-2.0 10 | -- 11 | -- Unless required by applicable law or agreed to in writing, 12 | -- software distributed under the License is distributed on an 13 | -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | -- KIND, either express or implied. See the License for the 15 | -- specific language governing permissions and limitations 16 | -- under the License. 17 | 18 | -- Test Schema for dbimport task test 19 | 20 | 21 | CREATE SCHEMA schema_01; 22 | SET SCHEMA schema_01; -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/access/types/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Defines an extendable mechanism to map Java types to JDBC types. 22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/custom-name-file.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | 23 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/table-primitives.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part1.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | 15 | == Object Relational Mapping with Cayenne 16 | 17 | include::part1/setup.adoc[] 18 | 19 | include::part1/mapping.adoc[] 20 | 21 | include::part1/modeler.adoc[] -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity2.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_horizontal.auto; 2 | 3 | import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity; 4 | 5 | /** 6 | * Class _SubEntity2 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _SubEntity2 extends AbstractSuperEntity { 12 | 13 | public static final String SUB_ENTITY_INT_ATTR_PROPERTY = "subEntityIntAttr"; 14 | 15 | public static final String ID_PK_COLUMN = "id"; 16 | 17 | public void setSubEntityIntAttr(int subEntityIntAttr) { 18 | writeProperty("subEntityIntAttr", subEntityIntAttr); 19 | } 20 | public int getSubEntityIntAttr() { 21 | Object value = readProperty("subEntityIntAttr"); 22 | return (value != null) ? (Integer) value : 0; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/inheritance_horizontal/auto/_SubEntity3.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.testdo.inheritance_horizontal.auto; 2 | 3 | import org.apache.cayenne.testdo.inheritance_horizontal.AbstractSuperEntity; 4 | 5 | /** 6 | * Class _SubEntity3 was generated by Cayenne. 7 | * It is probably a good idea to avoid changing this class manually, 8 | * since it may be overwritten next time code is regenerated. 9 | * If you need to make any customizations, please use subclass. 10 | */ 11 | public abstract class _SubEntity3 extends AbstractSuperEntity { 12 | 13 | public static final String SUB_BOOLEAN_ATTR_PROPERTY = "subBooleanAttr"; 14 | 15 | public static final String ID_PK_COLUMN = "id"; 16 | 17 | public void setSubBooleanAttr(boolean subBooleanAttr) { 18 | writeProperty("subBooleanAttr", subBooleanAttr); 19 | } 20 | public boolean isSubBooleanAttr() { 21 | Boolean value = (Boolean)readProperty("subBooleanAttr"); 22 | return (value != null) ? value.booleanValue() : false; 23 | } 24 | 25 | } 26 | -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/_getting-started-guide/part2.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Learning mapping basics 15 | 16 | include::starting-project.adoc[] 17 | 18 | include::object-relational-mapping.adoc[] 19 | 20 | include::java-classes.adoc[] -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/editor/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Contains editor panels used by CayenneModeler main frame.

22 | 23 | 24 | -------------------------------------------------------------------------------- /maven-plugins/cayenne-maven-plugin/src/test/resources/org/apache/cayenne/tools/dbimport/testNamingStrategy.sql: -------------------------------------------------------------------------------- 1 | -- Licensed to the Apache Software Foundation (ASF) under one 2 | -- or more contributor license agreements. See the NOTICE file 3 | -- distributed with this work for additional information 4 | -- regarding copyright ownership. The ASF licenses this file 5 | -- to you under the Apache License, Version 2.0 (the 6 | -- "License"); you may not use this file except in compliance 7 | -- with the License. You may obtain a copy of the License at 8 | -- 9 | -- https://www.apache.org/licenses/LICENSE-2.0 10 | -- 11 | -- Unless required by applicable law or agreed to in writing, 12 | -- software distributed under the License is distributed on an 13 | -- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 14 | -- KIND, either express or implied. See the License for the 15 | -- specific language governing permissions and limitations 16 | -- under the License. 17 | 18 | CREATE TABLE TEST_TABLE ( 19 | COL1 INTEGER NOT NULL, 20 | COL2 CHAR(25), 21 | PRIMARY KEY (COL1) 22 | ) -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/map/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Contains O/R mapping classes that store relational database 22 | metadata information and map it to Java classes. 23 | 24 | 25 | -------------------------------------------------------------------------------- /maven-plugins/cayenne-maven-plugin/src/test/resources/cgen/project-to-test/testTemplate.vm: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ -------------------------------------------------------------------------------- /cayenne-gradle-plugin/settings.gradle: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | rootProject.name = 'cayenne-gradle-plugin' 20 | 21 | -------------------------------------------------------------------------------- /cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/db/auto/_UuidRoot1.java: -------------------------------------------------------------------------------- 1 | package org.apache.cayenne.lifecycle.db.auto; 2 | 3 | import org.apache.cayenne.GenericPersistentObject; 4 | import org.apache.cayenne.exp.property.PropertyFactory; 5 | import org.apache.cayenne.exp.property.StringProperty; 6 | 7 | /** 8 | * Class _UuidRoot1 was generated by Cayenne. 9 | * It is probably a good idea to avoid changing this class manually, 10 | * since it may be overwritten next time code is regenerated. 11 | * If you need to make any customizations, please use subclass. 12 | */ 13 | public abstract class _UuidRoot1 extends GenericPersistentObject { 14 | 15 | private static final long serialVersionUID = 1L; 16 | 17 | public static final String ID_PK_COLUMN = "ID"; 18 | 19 | public static final StringProperty UUID = PropertyFactory.createString("uuid", String.class); 20 | 21 | public void setUuid(String uuid) { 22 | writeProperty("uuid", uuid); 23 | } 24 | public String getUuid() { 25 | return (String)readProperty("uuid"); 26 | } 27 | 28 | } 29 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/db2/drop-update-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE cayenne_tst_upd_proc -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/db2/drop-update-sp2.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE cayenne_tst_upd_proc2 -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/dbimport/reverseEngineering.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /docs/asciidoc/getting-started-guide/src/docs/asciidoc/_getting-started-guide/part3.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | == Learning Cayenne API 15 | 16 | include::object-context.adoc[] 17 | 18 | include::persistent-objects.adoc[] 19 | 20 | include::select-query.adoc[] 21 | 22 | include::delete.adoc[] 23 | -------------------------------------------------------------------------------- /modeler/cayenne-modeler/src/main/java/org/apache/cayenne/modeler/dialog/db/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Contains MVC classes for various database operations performed by CayenneModeler.

22 | 23 | 24 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/db2/drop-out-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE cayenne_tst_out_proc 20 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/db2/drop-select-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE cayenne_tst_select_proc -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/frontbase/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | FrontBase DbAdapter. 22 |

23 | Deprecated since Cayenne 4.2, as it can't be effectively tested and supported. 24 |

25 | 26 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/mysql/drop-out-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE IF EXISTS cayenne_tst_out_proc; -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/mysql/drop-update-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE IF EXISTS cayenne_tst_upd_proc; -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/mysql/drop-select-sp.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE IF EXISTS cayenne_tst_select_proc; -------------------------------------------------------------------------------- /cayenne/src/test/resources/ddl/mysql/drop-update-sp2.sql: -------------------------------------------------------------------------------- 1 | /***************************************************************** 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | ****************************************************************/ 19 | DROP PROCEDURE IF EXISTS cayenne_tst_upd_proc2; -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/dbimport/reverseEngineering-skipPrimaryKeyLoading.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | true 23 | 24 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/part4.adoc: -------------------------------------------------------------------------------- 1 | // Licensed to the Apache Software Foundation (ASF) under one or more 2 | // contributor license agreements. See the NOTICE file distributed with 3 | // this work for additional information regarding copyright ownership. 4 | // The ASF licenses this file to you under the Apache License, Version 5 | // 2.0 (the "License"); you may not use this file except in compliance 6 | // with the License. You may obtain a copy of the License at 7 | // 8 | // https://www.apache.org/licenses/LICENSE-2.0 Unless required by 9 | // applicable law or agreed to in writing, software distributed under the 10 | // License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR 11 | // CONDITIONS OF ANY KIND, either express or implied. See the License for 12 | // the specific language governing permissions and limitations under the 13 | // License. 14 | 15 | == DB-First Flow 16 | 17 | include::part4/introduction.adoc[] 18 | 19 | include::part4/filtering.adoc[] 20 | 21 | include::part4/otherSettings.adoc[] 22 | 23 | include::part4/revEngineering.adoc[] 24 | 25 | 26 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/dbimport/reverseEngineering-skipRelationshipsLoading.xml: -------------------------------------------------------------------------------- 1 | 2 | 20 | 21 | 22 | true 23 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/access/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 |

Contains classes that make up Cayenne ORM stack. Three main classes from top to bottom 22 | are DataContext, DataDomain and DataNode.

23 | 24 | 25 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/soft-delete.map.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | -------------------------------------------------------------------------------- /cayenne/src/test/resources/org/apache/cayenne/configuration/runtime/testDBCP.properties: -------------------------------------------------------------------------------- 1 | # Licensed to the Apache Software Foundation (ASF) under one or more 2 | # contributor license agreements. See the NOTICE file distributed with 3 | # this work for additional information regarding copyright ownership. 4 | # The ASF licenses this file to You under the Apache License, Version 2.0 5 | # (the "License"); you may not use this file except in compliance with 6 | # the License. You may obtain a copy of the License at 7 | # 8 | # https://www.apache.org/licenses/LICENSE-2.0 9 | # 10 | # Unless required by applicable law or agreed to in writing, software 11 | # distributed under the License is distributed on an "AS IS" BASIS, 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 | # See the License for the specific language governing permissions and 14 | # limitations under the License. 15 | 16 | driverClassName=com.example.jdbc.Driver 17 | url=jdbc:somedb://localhost/cayenne 18 | username=john 19 | password=secret 20 | maxActive=20 21 | minIdle=5 22 | maxIdle=8 23 | maxWait=10000 24 | validationQuery=select 1 from xyz; -------------------------------------------------------------------------------- /modeler/cayenne-wocompat/src/test/resources/wotests/art.eomodeld/CustomTypes.plist: -------------------------------------------------------------------------------- 1 | { 2 | attributes = ( 3 | { 4 | adaptorValueConversionMethodName = setType; 5 | columnName = PK; 6 | externalType = int; 7 | factoryMethodArgumentType = EOFactoryMethodArgumentIsNSString; 8 | name = pk; 9 | valueClassName = CustomType1; 10 | valueFactoryMethodName = getType; 11 | }, 12 | { 13 | adaptorValueConversionMethodName = setType; 14 | columnName = OTHER; 15 | externalType = int; 16 | factoryMethodArgumentType = EOFactoryMethodArgumentIsNSString; 17 | name = other; 18 | valueClassName = CustomType2; 19 | valueFactoryMethodName = getType; 20 | } 21 | ); 22 | attributesUsedForLocking = (pk, other); 23 | className = CustomTypes; 24 | classProperties = (pk, other); 25 | externalName = "CUSTOM_TYPES"; 26 | fetchSpecificationDictionary = {}; 27 | name = CustomTypes; 28 | primaryKeyAttributes = (pk); 29 | } 30 | -------------------------------------------------------------------------------- /cayenne/src/main/java/org/apache/cayenne/dba/package.html: -------------------------------------------------------------------------------- 1 | 19 | 20 | 21 | Contains database adapter API (DbAdapter) and its default implementation. 22 | DbAdapter interface and related classes solve cross-database issues inherent to JDBC. 23 | 24 | 25 | -------------------------------------------------------------------------------- /docs/asciidoc/cayenne-guide/src/docs/asciidoc/_cayenne-guide/multipage-header.html: -------------------------------------------------------------------------------- 1 | --- 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | 19 | title: "Cayenne Guide 5.0 · {title}" 20 | description: "Cayenne Guide 5.0, {title}" 21 | cayenneVersion: "5.0" 22 | cayenneNoToc: true 23 | docId: cayenne-guide 24 | weight: {weight} 25 | --- 26 | -------------------------------------------------------------------------------- /cayenne-cgen/src/main/resources/META-INF/services/org.apache.cayenne.tools.CayenneToolsModuleProvider: -------------------------------------------------------------------------------- 1 | ################################################################## 2 | # Licensed to the Apache Software Foundation (ASF) under one 3 | # or more contributor license agreements. See the NOTICE file 4 | # distributed with this work for additional information 5 | # regarding copyright ownership. The ASF licenses this file 6 | # to you under the Apache License, Version 2.0 (the 7 | # "License"); you may not use this file except in compliance 8 | # with the License. You may obtain a copy of the License at 9 | # 10 | # https://www.apache.org/licenses/LICENSE-2.0 11 | # 12 | # Unless required by applicable law or agreed to in writing, 13 | # software distributed under the License is distributed on an 14 | # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | # KIND, either express or implied. See the License for the 16 | # specific language governing permissions and limitations 17 | # under the License. 18 | ################################################################## 19 | 20 | org.apache.cayenne.gen.CgenToolsModuleProvider -------------------------------------------------------------------------------- /cayenne/src/test/java/org/apache/cayenne/testdo/lob/NClobTestEntity.java: -------------------------------------------------------------------------------- 1 | /* 2 | * Licensed to the Apache Software Foundation (ASF) under one 3 | * or more contributor license agreements. See the NOTICE file 4 | * distributed with this work for additional information 5 | * regarding copyright ownership. The ASF licenses this file 6 | * to you under the Apache License, Version 2.0 (the 7 | * "License"); you may not use this file except in compliance 8 | * with the License. You may obtain a copy of the License at 9 | * 10 | * https://www.apache.org/licenses/LICENSE-2.0 11 | * 12 | * Unless required by applicable law or agreed to in writing, 13 | * software distributed under the License is distributed on an 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 15 | * KIND, either express or implied. See the License for the 16 | * specific language governing permissions and limitations 17 | * under the License. 18 | */ 19 | package org.apache.cayenne.testdo.lob; 20 | 21 | import org.apache.cayenne.testdo.lob.auto._ClobTestEntity; 22 | 23 | public class NClobTestEntity extends _ClobTestEntity { 24 | 25 | } 26 | 27 | 28 | 29 | --------------------------------------------------------------------------------