Home » Search

About value

181-190 of 200Refresh
Forum
10

How to avoid NULL values on Embedded entities

Hi there. I'm new on this. trying to learn. I'm trying to make a value non nulleable. So, when I try to upload to the DB this field as null, it give me an error. I tried this, but it didn't work: public class Pedido {     @Id @GeneratedValue     private long id;         @Embedded private Direccion
Forum
10

KEY() / VALUE() not recognized in JPQL??

Hi! Explorer says "unexpected token" on KEY(..: SELECT FROM individual.IndividualContact $1 LEFT OUTER JOIN $1.profile.title.name m WHERE (KEY(m) = 'deu' AND VALUE(m) LIKE '%Dr%') profile = embedded entity title = referenced entity name = Map   thanks, Alex Yes
Issue
10

Merge throw exception "Attempt to reuse an existing primary key value"

Hi, if Id = 0 I got javax.persistence.EntityExistsException: com.objectdb.o.UserException: Attempt to reuse an existing primary key value (ru.dz.train.test.ZeroIdTest$MyEntity:0)   if Id=1 no exception code : import javax.persistence.*; public class ZeroIdTest {     public static void main
Forum
10

NullPointerException while setting a new property value

to entities from 2 threads: 1. Creating a list of entities, default values are set from imported file 2
Forum
10

remove() and persist() in same transaction => Attempt to reuse an existing primary key value

an existing primary key value (Persist_Remove_Persist$EntityA:1)   We created a small test
Forum
10

selecting objects that have a particular key/value in persistant HashMap

that the pMap field of some Person objects has the key/value pair "location'/'California'.  Can I create
Forum
10

EmbeddedId with Generated field value

both solutions I expected I could get a generated value for the field uid by simply adding the documented
JDO Doc
10

javax.jdo.annotations.Persistent

. Whether this field/property is cacheable in a Level2 cache. Default value: "true" Since: JDO 2.2 String column Column name where the values are stored for this member. Column name where the values are stored for this member. Returns: the name of the column Default value: "" Since: JDO 2.1 Column
JPA Doc
10

javax.persistence.Query

- if the statement execution exceeds the query timeout value set and only the statement is rolled back PersistenceException - if the query execution exceeds the query timeout value set and the transaction is rolled ... ,Object> getHints() Get the properties and hints and associated values that are in effect
Manual
10

Chapter 6 - Configuration

directory. ObjectDB Home ($objectdb) The value of $objectdb (the ObjectDB home directory) is derived ... the value of $objectdb. For example, in a web application, in which objectdb.jar is located in WEB-INF ... " ... If a configuration file is not found default values are used. General Configuration Considerations