Home » Search

About NamedQueries

21-30 of 34Refresh
Forum
4

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

' and not '%Canceled' and not 'Finished'. I have entities for Job and Status with NamedQueries on Job ... interval: @NamedQuery( name = "findFinishedJobsBetweenTimeIntervals", query = "SELECT J FROM ... <:timeStampAfter AND " +     "JS.status = 'Finished'" ), CANCELED Jobs between a time interval: @NamedQuery
Forum
4

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
Forum
4

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
Forum
4

ObectDb 2.3.6 in OSGi environment

); the corresponding POJO: @Entity @NamedQueries({   @NamedQuery(name = "RuleValueNode.findRoot", query = "SELECT rvn FROM RuleValueNode rvn where rvn.parent is null"),   @NamedQuery(name ... and rvn.parent = :parent"),   @NamedQuery(name = "RuleValueNode.findStandardNodes", query = "SELECT rvn
Forum
4

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
Forum
3

Database Inconsistency or corruption

.persistence.NamedQueries({ /* queries */ }) public class ObjectValue implements metamodel.IObjectValue ... (name="Attributes", schema="dex_01") @javax.persistence.NamedQueries({  /*  queries */}) public ... .persistence.NamedQueries({  /* queries */ }) @DiscriminatorColumn(name = "type", discriminatorType
Forum
3

Cast exception?

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

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 ... . That's it. Anyway...it's just a NamedQuery that is executed by an EntityManager. That's all. I would really appreciate a fix
Forum
3

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
Forum
3

Trouble bug on explorer

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