Type to start searching...
A datasource is a logical representation of physical storage that is used to create, read, update and delete object instances.
A datasource is a logical representation of physical storage that is used to create, read, update and delete object instances. Each class’ persistence mapping specifies how its instances will be persisted in a given datasource.
Currently supported datasource types include:
* RelationalDatabase - persist instances in a relational database
* FileStorage - persist instances in a file system
* XML - persist instances in an XML file
* Service - persist instances using a collection of services. e.g. web services or stored procedures.
* Generic - for a custom developed persistence channel.
DataSources are configured and bound to physical storage addresses through connections, with which applications are deployed.
Datasources support a CRUD interface for interaction with external systems, whereas channels support a send/receive interface. The persistence interface for datasources is synchronous.
In NexJ Studio, datasources appear under the persistence tab of the repository navigator.
anyAttribute
Any attribute
create : boolean
True if instance creation is supported.
delete : boolean
True if instance deletion is supported.
description : string
Data source description.
execute : boolean
True if instance execution is supported.
join : boolean
Not supported.
Currently, joins are not supported across DataSources. When this feature is implemented, this value will be true if schema objects from this data source can be joined to objects from another data source.read : boolean
True if instance retrieval is supported.
readLimit : nonNegativeInt
The maximum number of instances that can be returned by read() (0 for unlimited).
Valid values based on“int”. | |
---|---|
0 (minInclusive) |
type : string
Data source type.
update : boolean
True if instance updating is supported.
Sequence of:
any [1..1]
Sequence of:
Properties [0..1]