GO-V.ORG
As seen in

Oracle TopLink

Oracle TopLink is a mapping and persistence framework for Java developers. TopLink is produced by Oracle and is a part of Oracle's OracleAS, WebLogic, and OC4J servers. It is an object-persistence and object-transformation framework. TopLink provides development tools and run-time functionalities that ease the development process and help increase functionality. Persistent object-oriented data is stored in relational databases which helps build high-performance applications. Storing data in either XML (Extensible Markup Language) or relational databases is made possible by transforming it from object-oriented data. A user-interface is possible on TopLink with the help of TopLink Mapping... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

Oracle TopLink is a mapping and persistence framework for Java developers. TopLink is produced by Oracle and is a part of Oracle's OracleAS, WebLogic, and OC4J servers. It is an object-persistence and object-transformation framework. TopLink provides development tools and run-time functionalities that ease the development process and help increase functionality. Persistent object-oriented data is stored in relational databases which helps build high-performance applications. Storing data in either XML (Extensible Markup Language) or relational databases is made possible by transforming it from object-oriented data. A user-interface is possible on TopLink with the help of TopLink Mapping Workbench. This Mapping Workbench makes it possible to carry out the following. Graphical mapping of an object model to data model. Generation of data model from its object model and vice versa. Auto-mapping of any existing data models and object models. Oracle's JDeveloper IDE provides easy integration of these functionalities provided by the Mapping Workbench. With the use of TopLink, users can stay more focused on their primary cause and let TopLink handle the integration of persistence and object transformation into their application. Designing, implementing and deploying process is accelerated as TopLink supports a variety of data sources and formats such as Relational database, Object-relational database, Enterprise information system (EIS), XML and many others. import org.eclipse.persistence.* entityManager.getTransaction().begin(); Employee newEmployee = new Employee(5); entityManager.persist(newEmployee); entityManager.getTransaction().commit(); On completion of the transaction, the newEmployee data will be inserted into the database. entityManager.getTransaction().begin(); Employee existingEmployee = entityManager.find(Employee.class, 5); existingEmployee.setLastName("NewLastName"); entityManager.getTransaction().commit(); Deleting an entity is the opposite of Insertion and can be one using remove(Object entity) method of the EntityManager. entityManager.getTransaction().begin(); Employee existingEmployee = entityManager.find(Employee.class, 5); entityManager.remove(existingEmployee); entityManager.getTransaction().commit(); The EntityManager method flush() deletes the entity on completion of the transaction.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Oracle TopLink". 1788319891. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1372773580

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·