ObjectDB Database Search

51-100 of 136 results

Problem with entities detection

.io. Serializable ; import java.util.Date; import java.util.List; import javax.persistence.Basic ... ")}) public class Alumno implements Serializable { private static final long serialVersionUID = 1L ... asignaturasAlumnoList; And this is the Embedded class: @Embeddable public class Direccion implements Serializable

New to Product & Having An Issue

Serializable { public static final long serialVersionUID = 1L; private DomainId domainId; private ... Serializable { public static final long serialVersionUID = 1L; private String accountId; private String

Error 613 - i cant put a list into a Squad object

);     } } Now the Athlete Class package test; import java.io. Serializable ... .persistence.OneToMany; @Entity public class Athlet extends Person implements Serializable {   

OrphanRemoval not working?

Dear all, I have entities Invoice and InvoiceItem, their relation is defined: public class Invoice implements Serializable { ... @OneToMany(mappedBy="invoice", fetch=FetchType.EAGER,    ... .ALL) private List invoiceItemList; ... } public class InvoiceItem implements Serializable

Items in list are doubled, when the entity class is not enhanced

implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long ... itemList; ... getters and setters } @Entity public class Item implements Serializable { private

Version 2.2.7 build 7/8 issue

Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id ... Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id

turn off auto-serialization

Hi    As far as I understand if you have a classe that implements Serializable and is referenced by an Entity it will be automatically stored using standard serialization mechanizm.  Is there any option to turn off that feature so that if an un-enhanced ( Serializable ) class

Unexpected behaviour upon update. Bug?

This sample does not work as I expect.  Why?  Is it a bug? Below is the complete program. Expect: 3 Get: 4 import java.io. Serializable ; import java.util.List; import javax.persistence.*; @Entity public class Update implements Serializable { @Id int i; int v; public static void main

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

.persistence.NoResultException ex) { return -1; } } } mport java.io. Serializable ; import javax ... CompoundKeyMapItem { public static class CompoundKeyMapItemId implements Serializable { private static final

can't get HashMap out of the database

class Guest implements Serializable { private static final long serialVersionUID = 1L; // Persistent ... object is: @Embeddable public class Guest implements Serializable { private String name; private Date

How to query for list of lists ?

") public class Inspiration implements Serializable { (...) @ElementCollection(fetch = FetchType ... = "pulseDataWareHouse") @XmlRootElement public class PulseDataWareHouse implements Serializable

how explorer queries work

also without your classes. The stack trace at #3 indicates that you are using serializable types ... the mismatching. Try to avoid using user defined serializable non entity / embeddable classes

Saving custom list which implements java.util.List fails

as shown below. @Entity public class Point implements Serializable {     ...   ... implements Serializable { ... private List friends = new MyList (); ... } Maybe the core question

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 ... = :principal"     ) }) public abstract class Customer implements Serializable {   

List of Enum Values in an entity

.io. Serializable ; import java.sql.Date; import java.util.ArrayList; import javax.persistence.Entity ... implements Serializable { private static final long  serialVersionUID = 1L; @Id @GeneratedValue

Error during cascaded merge

"}),}) public class Unit implements Serializable , Comparable { ... @OneToMany(mappedBy = "unit", cascade ... Serializable { ... } As I said before it all worked before the update to _02. Regards Ralph mosi0815 Ralph

List always null

I have the following classes: @Entity public class Noticia implements Serializable {     private static final long serialVersionUID = 1L;     @Id     ... ; @Entity public class Categoria implements Serializable {         private

Field in Generic Class not persisted?

java.io. Serializable ; abstract class ABS implements Serializable {     public Type1

@Unique member combination not working

Why does the below code not enforce unique restrictions?   Person @Entity @Unique(members = {"name", "surname"}) public class Person implements Serializable {     @Id    ... (members = {"name", "surname"})     public static class Person implements Serializable

Multi part paths in a composite index must have the same length

(members={"tStamp.value", "instrumentId"}) public class OBN implements Serializable {     ... implements Serializable , Comparable {     public long value; According to the doc - what i

Speed of queries that return many objects

... still seems slow. Thanks EKK import java.io. Serializable ; import javax.persistence.Entity; @Entity public class BenchEnt implements Serializable {     private static final long serialVersionUID

Problem with distinct select, order by and equivalent alias/attribute path

implements Serializable {     @Id     private String id;     ... ;   }   @Entity public class Street implements Serializable {     @Id

Navigation through Path to evaluate collection

ProductData implements Serializable {     @Id @GeneratedValue     private ... List apiId; } @Embeddable public class ApiIdData_ implements Serializable {      

Relationships and tracking changes

"EBVerlag": @Entity(name="VERLAG") public class EBVerlag extends Pojo implements Serializable { private ... implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID

Does ObjectDB support @Parent for @Embeddable reference to parent?

instrumentation: @Entity class User implements Serializable { @Id @GeneratedValue(strategy = GenerationType ... = profile; this.profile.setUser(this); } // ... }   @Embeddable class Profile implements Serializable

Find the error...JPA ENTITY HIBERNATE

.png.html       Entities:   package com.example.demo; import java.io. Serializable ... Serializable { private static final long serialVersionUID = 1L; // @GeneratedValue @Id @Column(name = "id

EntityManager getMetamodel() causes crash

(); } } package test; import java.io. Serializable ; import javax.persistence.Entity; import javax.persistence ... implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private long

Composite Index error 328

Hi , when i try to use this entity as shown below: package persistence.jpa.models; import javax.jdo.annotations.Indices; import javax.persistence.*; import java.io. Serializable ; import java.sql.Date ... class UsrlistEntity implements Serializable { private static final long serialVersionUID

Fields in objects not populated in query result.

Serializable { /** * */ private static final long serialVersionUID = 1L; @OneToMany(cascade ... , Serializable { /** * */ private static final long serialVersionUID = 1L; @GeneratedValue @Id protected long

Storing a tree of data (depth=3)

@RequiredArgsConstructor public class Performer implements Serializable { /** version of class. */ private static final ... implements Serializable { /** version of class. */ private static final long serialVersionUID = 1L

ObjectDB JDO - foreign key constraints

Serializable { @PrimaryKey private String name; private int age; ...} @Entity public class Company implements Serializable { @PrimaryKey private String name; private Person employee; ...} When I save

Database corrupted after schema change

Serializable , DCG, C { ...} public interface DCG { ... } with this code the app was reading TC ... nothing else:  public interface BDOInterface extends Serializable , DCG { ...} public interface DCG extends C

Error occured during initialization of boot layer

objectDB; import java.io. Serializable ; import javax.persistence.Entity; import javax.persistence ... Serializable { /** * */ private static final long serialVersionUID = 5019171545896480392L; @Id @GeneratedValue

Attempt to store an instance of a non persistable type

java.io. Serializable ; import java.time.LocalDateTime; import java.util.Objects; import java.util.UUID ... .data.log.v2.exception.Exception; @Entity public class Log implements Serializable ,Comparable { private

ODB with Netbeans

. Serializable interface." This is also a NetBeans restriction, not a JPA restriction. "There is no ID

GWT RPC is throwing serialization exception when I have object db date value

that ObjectDB uses in order to track changes. It implements java.io. Serializable but probably

Criteria query error: Unexpected query token

; } } @MappedSuperclass public abstract class BaseEntity implements Serializable { private static final

Problem with @OrderBy

When I use @OrderBy and supply multiple order fields I get and error when ObjectDB Explorer expands a instance of the entity. Example code: @Entity @Table(name="Defects", schema = "myDB") public class Defects implements Serializable {     ...     ...  

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

_versionAttr null my entity looks like this @Entity public class Foo implements Serializable {   

Removing an entity throws exception

code: @Entity public class Customer implements Serializable { private static final long

Entity listener - event instead of object

;             final Serializable entityId

Duplicate Entity class names causes Exception in Query

class Singleton implements Serializable { public static Singleton getInstance(EntityManager em

TYPE Expression

A implements Serializable {     }     @Entity     public

Attempt to store an instance of a non persistable type java.net.URL

; webel Dr Darren Kelly ObjectDB supports persisting serializable types, so it should also support

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

@Access(AccessType.PROPERTY) public class Chart implements Serializable { private TimePeriod id; private ... TimePeriod implements Serializable { private long beginTime; private long endTime; private String periodType

Unlimited JPA Persistable Types

Ashton Hogan Actually you can persist any Serializable type by setting the configuration . There is no point in persisting most of the non serializable types such as Thread , because when retrieved from

JPQL support for Maps (JPA 2.0)

: public class Session implements Serializable {     ...    

ObjectDB 2.2.5

of user defined serializable objects. Fixed a bug in using NOT NULL in criteria queries . Fixed a bug

InternalException - error reading field from "queue" database

? entity objects? embeddable objects? serializable objects? Did you use that specific database in

ObjectDB 2.3.7

DISTINCT results. Fixed an exception in handling user defined serializable classes in the Explorer ( issue #647 ).