cpo-jdbc

CPO is a persistence layer that is thin wrapper around JDBC that consumes and produces POJOs

Лицензия

Лицензия

Группа

Группа

org.synchronoss.cpo
Идентификатор

Идентификатор

cpo-jdbc
Последняя версия

Последняя версия

5.2.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

cpo-jdbc
CPO is a persistence layer that is thin wrapper around JDBC that consumes and produces POJOs

Скачать cpo-jdbc

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.synchronoss.cpo/cpo-jdbc/ -->
<dependency>
    <groupId>org.synchronoss.cpo</groupId>
    <artifactId>cpo-jdbc</artifactId>
    <version>5.2.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.synchronoss.cpo/cpo-jdbc/
implementation 'org.synchronoss.cpo:cpo-jdbc:5.2.1'
// https://jarcasting.com/artifacts/org.synchronoss.cpo/cpo-jdbc/
implementation ("org.synchronoss.cpo:cpo-jdbc:5.2.1")
'org.synchronoss.cpo:cpo-jdbc:jar:5.2.1'
<dependency org="org.synchronoss.cpo" name="cpo-jdbc" rev="5.2.1">
  <artifact name="cpo-jdbc" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.synchronoss.cpo', module='cpo-jdbc', version='5.2.1')
)
libraryDependencies += "org.synchronoss.cpo" % "cpo-jdbc" % "5.2.1"
[org.synchronoss.cpo/cpo-jdbc "5.2.1"]

Зависимости

compile (3)

Идентификатор библиотеки Тип Версия
org.synchronoss.cpo : cpo-core jar 5.2.1
org.slf4j : slf4j-api jar 1.7.9
org.apache.xmlbeans : xmlbeans jar 2.4.0

provided (1)

Идентификатор библиотеки Тип Версия
com.oracle » ojdbc6 jar 11.2.0.2.0

test (8)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
postgresql : postgresql jar 9.0-801.jdbc4
com.h2database : h2 jar 1.4.190
mysql : mysql-connector-java jar 5.1.16
org.mariadb.jdbc : mariadb-java-client jar 1.3.5
org.apache.jmeter : ApacheJMeter_java jar 2.6
org.slf4j : slf4j-log4j12 jar 1.7.9
log4j : log4j jar 1.2.17

Модули Проекта

Данный проект не имеет модулей.

cpo-api

Class Persistence Object (CPO) Application Programming Interface (API).

Documentation can be found here: http://synchronoss.github.io/cpo-api/site/

CPO is a java api that maps plain old java objects (POJOs) and interfaces to persistence functions. Unlike most ORM technologies and the java persistence api (JPA), CPO is designed to allow you to fully utilize the native syntax and functionality of your datastore.

CPO supports the following datastores:

*MySQL *MariaDB *Oracle *Postgres sans BLOBS *HSqlDB *Cassandra

CPO exploits that fact that datastores have a language that is used to manipulate data in that datastore. SQL is used for Relational Databases, CQL is used for Cassandra, and XPath is used for XML. Each language consists of a defined syntax that allows you to build expressions to access data in the datastore. CPO provides the means to map POJOs and interfaces into the parameters of these expressions prior to execution and then map the results of the executed expressions into one POJO or a java.util.List of POJOs

CPO stores all queries outside of your code providing the following benefits: runtime reloading, improved versioning, improved searching, and improved re-use. It also allows you to use the same POJO across tables or databases as the POJO has no direct linkage to a datastore. In fact, the same POJO can be used directly by jaxb as well.

CPO supports a polymorphic configuration system which allows programs to override cpo configurations in imported libraries. The program will be able to include the libraries' cpo configuration into its own and can override class level configurations. This allows library writers to provide default queries that can be overridden by the programmer that imports the library

cpo-api has a companion project cpo-util which is a utility program for managing cpo's xml configuration file. It provides a graphical user interface for configuring CPO. It also provides tools for automatically generate configuration file from an existing datastore.

CPO also comes with a maven plugin which will generate the cpo interfaces and/or pojos at build time. This allows the developer to only have to keep the configuration information up to date. Cpo-plugin will then manage the classes.

org.synchronoss.cpo

Synchronoss

Synchronoss Open Source Projects

Версии библиотеки

Версия
5.2.1
5.2.0
5.1.1
5.1.0
5.0.6
5.0.5
5.0.1
5.0.0