ObjectDB ObjectDB

Internal Website Search

21-30 of 36 resultsRefresh
24

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
21

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
21

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
21

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
18

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
15

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
15

Cast exception?

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

Query can't see recently persisted object

within the same container transaction? @NamedQueries( { @NamedQuery( name = "MyQuery
15

Composite Index error 328

") @NamedQueries( { @NamedQuery(name = "UsrListEntity.clearAllIds" , query
15

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

with field "type" GOOD found by the the NamedQuery does not correspond with the actual data present ... button. That's it. Anyway...it's just a NamedQuery that is executed by an EntityManager

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