ObjectDB ObjectDB

Internal Website Search

11-20 of 200 resultsRefresh
158

Entity object parameter in Explorer parameter

Hello, I cannot set an entity object in a parameter for a bulk update in the explorer query execution. The format Entity#001 works well for the parameter in the WHERE clause, but it doesn't work in ... Parameters: a: Status#10002 b: Status#10003 That query updates all accounts with status Status#10003
114

Object as parameter results in exception

is valid since objects such as a Company instance are expected to be passed to the query as parameters. Maybe EclipseLink defines an implicit parameter to resolve this query, and maybe this is what ObjectDB should do. Using a parameter is also recommended for the primary key. In the current form
111

Navigation and Parameters

Greetings ObjectDB team, Suppose I pass a List of persistent objects to some query as a parameter, can I navigate to those objects' fields ? E.g.: SELECT x FROM ClassX x WHERE x.a IS MEMBER OF :y.b ... these objects directly. You need to use JOIN in JPA and contains in JDO. So if the parameter y is a collection the expression y.b is invalid. support Support
67

getName()

Method javax.persistence.Parameter String getName() Return the parameter name, or null if the parameter is not a named parameter or no name has been assigned. Returns: parameter name Since: JPA 2.0
67

parameter(paramClass)

Method javax.persistence.criteria.CriteriaBuilder ParameterExpression<T> parameter( Class<T> paramClass ) Create a parameter expression. Parameters: paramClass - parameter class Returns: parameter expression Since: JPA 2.0
67

getParameterType()

Method javax.persistence.Parameter Class<T> getParameterType() Return the Java type of the parameter. Values bound to the parameter must be assignable to this type. This method is required ... language queries and native queries will not be portable. Returns: the Java type of the parameter Throws
22

date parameter not working (probably) in explorer

)' and o.created > ?1 we try to set the parameter (its a java.util.Date) in the parameters table. None of the following works: 2020-12-01 2020.12.01 {d '2020-12-01'} the parameter is just ignored hgzwicker ... is to use a date literal (embedded in the query) instead of a date parameter. support Support
22

Bug when using SIZE in combination with date lower parameter

and after the date parameter. support Support Hello, to archieve the results the date parameter used in
6

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll( Object... parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()
6

deletePersistentAll(parameters)

Method javax.jdo.Query long deletePersistentAll( Map parameters ) Deletes all the instances of the candidate class that pass the filter. Parameters: parameters - for the query Returns: the number of instances of the candidate class that were deleted Since: JDO 2.0 See Also: deletePersistentAll()

Getting Started

ObjectDB is very easy to use. Follow the Getting Started Tutorial and the Quick Tour manual chapter and in minutes you may be able to write and run first Java programs against ObjectDB.

Prior knowledge or experience in database programming (SQL, JDBC, ORM, JPA, etc.) is not required, but some background in using the Java language is essential.

Need Help?

  1. Search ObjectDB website
  2. Read the FAQ
  3. Follow the Tutorials
  4. View or post in the forum
  5. Search or file an issue
  6. Contact support