Use to create custom SQL queries for the TopLink descriptor.
insertObject()
method of the Session
class.updateObject()
method of the Session
class.deletebject()
method of the Session
class.readObject()
method of the Session
classreadObject()
that takes a primary key expression as a parameter. If other expressions are used, TopLink generates dynamic SQL. You can define additional named queries for other read-object queries.readAllObjects()
method of the Session
class.readAll()
that takes the class as a parameter-not the version that takes the class and an expression. As a result, the query reads every single instance. You can define additional named queries for other read-all queries.
Note: The TopLink Mapping editor does not validate the SQL code that you enter. The code is defined by the specific database type.
Copyright © 1997, 2004, Oracle. All rights reserved.