ObjectDB ObjectDB

Internal Website Search

21-30 of 37 resultsRefresh

New to Product & Having An Issue

. package test.Domain; ...imports.... @Entity @Access(AccessType.PROPERTY) @NamedQueries({ @NamedQuery(name="Department.findAll", query="SELECT d FROM Department AS d"), @NamedQuery(name="Department.byName", query="SELECT d from Department AS d WHERE d.name = :name"), @NamedQuery(name

JPQL query to get entities that does not have a child entity in their child entities

' and not 'Finished'. I have entities for Job and Status with NamedQueries on Job entity and using ... : @NamedQuery( name = "findFinishedJobsBetweenTimeIntervals", query = "SELECT J FROM JobEntity J, IN(J ... AND " +     "JS.status = 'Finished'" ), CANCELED Jobs between a time interval: @NamedQuery( name

Should derived fields of an EmbeddedId be manually maintained by app code?

javax.persistence.Id; import javax.persistence.NamedQueries; import javax.persistence.NamedQuery ... .TestException; @Entity @NamedQueries({ @NamedQuery(name = "numberOfMapItems", query = "SELECT COUNT(x

Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne)

.NamedQueries; import javax.persistence.NamedQuery; import javax.persistence.Query; import javax.persistence.Version; import uk.co.his.experiment8.common.TestException; @Entity @NamedQueries({ @NamedQuery(name = "numberOfMapItems", query = "SELECT COUNT(x) FROM CompoundKeyMapItem x

ObectDb 2.3.6 in OSGi environment

.findRoot", RuleValueNode.class); the corresponding POJO: @Entity @NamedQueries({   @NamedQuery ... "),   @NamedQuery(name = "RuleValueNode.findNotNodes", query = "SELECT rvn FROM RuleValueNode rvn where rvn.value.not = true and rvn.parent = :parent"),   @NamedQuery(name = "RuleValueNode

Database Inconsistency or corruption

.persistence.Table(name = "ObjectValues", schema = "dex_01") @javax.persistence.NamedQueries ... ="dex_01") @javax.persistence.NamedQueries({ /* queries */}) public class Attribute implements metamodel ... .InheritanceType.JOINED) @javax.persistence.NamedQueries({ /* queries */ }) @DiscriminatorColumn(name = "type

Embedded List

Why does this NamedQuery only work sometimes? @NamedQuery(name = "ItemDB.getPartial", query = "SELECT i FROM com.model.ItemDB i JOIN i.lstSupplier s WHERE s.strSupNumber LIKE ?1") I use this to access it. TypedQuery<ItemDB> tqItem = emf.createEntityManager().createNamedQuery("ItemDB.getPart

Cast exception?

).getSingleResult(); Where the query is a NamedQuery store in Player class file: @NamedQuery(name="Player

Trouble bug on explorer

* To change this template use File | Settings | File Templates. */ @NamedQueries({ @NamedQuery

Object comparation never matches

Hi! I'm trying to compare 2 identical objects in SELECT with no success: @Embeddable public class PhoneNumber implements Serializable {     int countryCode;     long number; Which is a part of Customer object: @MappedSuperclass @NamedQueries({     @NamedQuery(         name="authentication

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