About string

forum_thread

@Unique member combination not working

Why does the below code not enforce unique restrictions?   Person.java ... private Integer id ; private String name ; private String surname ;   public Integer getId ( ) ...

 
api-jdo

javax.jdo.annotations.Key

Annotation for the key of a map relation.(Annotation of JDO)

 
issue

Weird issue with variable naming

hi, ... with the variable naming when trying to get the query string with CriteriaQuery.toString(). I've tried three hours to replicate ...   public static void main ( String [ ] args ) { EntityManagerFactory ...

 
forum_thread

Find the error...JPA ENTITY HIBERNATE

Hey guys....i am searching for some days for the problem...Maybe one of you can find the error   DATABASE SHEMA: https://www.file-upload.net/download-12530779/2017-06-0214_25_00-MySQLWorkbench.png.html       Entities:   ... ( name = "username" ) private String username ; @ Column ( name = "password" ) private String password ; @ Column ( name = "email" ) ...

 
api-jdo

javax.jdo.annotations.Value

Annotation for the value of a map relation.(Annotation of JDO)

 
api-jdo

javax.jdo.annotations.Element

Annotation for the element of a collection/array relation.(Annotation of JDO)

 
issue

ObjectDb Doctor : Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection (error 316)

Hello everyone ! I have just launched the ObjectDb Doctor for testing purposes. But while inspecting my base, the Doctor throws me a strange error : [ObjectDB 2.4.6] Invalid ID class com.test.Video$VideoId for type com.test.Video (Failed to locate set method for field property com.test.Video$VideoId.sourceId using reflection) (error 316) It seems that the Doctor can't find the SourceId, that is a part of my primary key. There is a description of my Video bean :   ... class Video {   protected String provider ; protected String sourceId ;   @ Id public String ...

 
forum_thread

Updating Entities

Hello, I'm currently writing a program using JavaFX and ObjectDB and I'm encountering a problem with Entities not sending their updates to each other. I have two Entities in question at the moment: Employee and Paygrade. ... public class Employee { private String id ; private String fName ; private String lName ; private Department dept ...

 
api-jdo

javax.jdo.JDOUnsupportedOptionException

This class represents exceptions caused by the use of optional features not supported by the JDO implementation.(Exception of JDO)

 
api-jdo

javax.jdo.JDOReadOnlyException

This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".(Exception of JDO)