Internal Website Search

101-141 of 141 results

LEFT (OUTER) JOIN problem when mappedBy is defined

public class Invoice { @OneToMany(mappedBy = "invoice", fetch= FetchType. EAGER , orphanRemoval=true

Transaction isolation support?

the new book added by B?. And does this change if FetchType.LAZY changes to FetchType. EAGER ? In a SQL

OEM licencing limitation

= FetchType. EAGER , cascade = CascadeType.ALL) private Map vars = new TreeMap

Retrieval by Access bug?

Dear Sirs, I have an object A, that has a OneToMany FetchType. EAGER List of objects B, that has a field with a reference to an object C. I have this code: ClassA objectA = em.find(ClassA.class, 1); for (ClassB objectB : objectA.getListB()) {     ClassC objectC = objectB

com.objectdb.o.NLV cannot be cast to com.objectdb.o.RSV

= ChatAttachment.class, fetch = FetchType. EAGER ) private List attachments; private boolean isSystem; private

Can't get arraylist/vector type attributes

do to keep the information? Unknown unknown Access it before closing the EntityManager or load it eagerly ( FetchType. EAGER

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

solutions in the ObjectDB case seem to be: 1. Use explicit FetchType. EAGER on all desired collections

Error during cascaded merge

= CascadeType.ALL, orphanRemoval = true, fetch = FetchType. EAGER )     @OrderBy

Java 8 compatibility?

Hello! I'm very eager into starting migrating projects on Java 8. Before doing that, I would like to know if ObjectDB is tested and works without problems on Java 8. I would definitely not prefer to start discovering hidden bugs / strange behavior in my production apps. I look forward to hearing

Failing to read entities under load in multithreaded tests

= 6249921651146397564L; @OneToOne(cascade=CascadeType.REFRESH, fetch=FetchType. EAGER ) private TestEntity

Speeding up the creation of Log entity objects related to other objects

{ @Id @GeneratedValue private long id; @OneToMany(fetch = FetchType. EAGER , cascade={CascadeType

Removing an entity throws exception

; @OneToOne(cascade=CascadeType.ALL, fetch=FetchType. EAGER ,         

Criteria query error: Unexpected query token

my eagerness to test I think I need to do an audit on all criteria queries. Works well. Fetched

Trouble bug on explorer

allowIdWaitMe; @OneToOne(fetch = FetchType. EAGER ) private Language mainLanguage; @OneToMany(fetch

Help understanding Entity behavior with JPA

Hi Support,   We have a entity with an @Id entity which we then put into a list and store in an different entity inside a field defined as:   @OneToOne(orphanRemoval=true, cascade=CascadeType.ALL, fetch=FetchType. EAGER ) private Object payload; the list that we put in the 'payload

Is there any restriction when using fetch=FetchType.LAZY ?

Hi, I came across a weird behavior when using fetch=FetchType.LAZY in a complex code. However I am  unable to reproduce the behavior in a simple code. The behavior is like below: 1. When I am using in object declaration @OneToMany(fetch=FetchType. EAGER , cascade = CascadeType.ALL) private

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

id; @OneToMany(mappedBy = "customer",fetch= FetchType. EAGER ,       

Should I be able to persist a JFrame (or gui components in general)?

little as possible, would be appreciated.   milesdyson214 David Tyler Update...I got a bit eager

Removing an element from an @OneToMany doesn't work

Hello. I have a Parent and Child entities. // in the parent @OneToMany(mappedBy = "parent", fetch = FetchType. EAGER , cascade = CascadeType.ALL) private List children; // in the child @ManyToOne private Parent parent; Somewhere I do this: parent.getChildren().remove(0); manager.merge(parent

Lazy loading does not work - crud takes long

the lazy settings look fine. Examining why eager load is used in your application will require posting

performance limit

result loading. Loading the query results could be very slow if eager fetch is used extensively

Weird behaviour with enhanced classes and embedded entities

. EAGER )     private List           

Query problem

Hi, Given : @Entity(name = "Inspiration") public class Inspiration implements Serializable {     ....     @ManyToOne(fetch = FetchType. EAGER )     protected Atelier atelier;     .... } I have a query : SELECT i FROM Inspiration i WHERE i

Cast in typed query

I have the following property in my class "OtherType" with "MySuperType" (an interface) as the generic list type: @ElementCollection(fetch = FetchType. EAGER ) private List types  = null; Now I can use "instanceof" within a query in order to select only elements of the specific type

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

This issue maybe related to issue #110 (http://www.objectdb.com/database/issue/110). Because that issue has been closed as "fixed", I am reporting this new issue. This is my class definition: @Entity public abstract class Person {     @OneToMany(fetch=FetchType. EAGER , cascade

Version 2.2.7 build 7/8 issue

; @Basic(optional=false) private String name; @OneToOne(cascade= CascadeType.ALL, fetch= FetchType. EAGER

Upgrade to 2.4.1_01

our code for 2.3.7_18, we had @OneToOne(cascade=CascadeType.ALL, fetch=FetchType. EAGER

Navigation through Path to evaluate collection

long id;     @ElementCollection(fetch = FetchType. EAGER )     private

Cannot sort descending, when ordering by caluculated float in a method

= FetchType. EAGER , orphanRemoval=true, cascade= CascadeType.ALL) private List itemList = new ArrayList

Mysterious "Attempt to persist a reference to a non managed instance" error

;  @OneToOne(fetch= EAGER , cascade=PERSIST) public Ostrich ostrich;     @ManyToMany

Selective merge/cascade of detatched entity

I'm having an issue with my application, and I'm hoping you guys will be able to help. Please forgive typos and obvious errors, I'm having to retype from a non-internet connected network. A contrived example is: @Entity public class Salesman { private String name; @OneToMany(fetch=FetchType. EAGER

Enhanced classes problem

and annotations: @OneToMany(fetch = FetchType. EAGER , mappedBy = "jobInfoId")  // relation

ObjectDB 2.2.4

objects in criteria queries . Improved Explorer performance by disabling EAGER fetch. Fixed critical

ObjectDB 2.2.1

Added support for using ObjectDB with JBoss AS 6.0 / 6.1 . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush.

ObjectDB 2.0.0

an entity after a failed find followed by persist. Fixed a memory leakage in eager load of large object

EOFException

.run(Thread.java:662) These were unexpected as the objects should be eager loaded and existed

TYE NullPointerException

the problem. I've now added a FetchType of EAGER to the member to ensure a load takes place regardless

JPQL support for Maps (JPA 2.0)

; @ElementCollection(fetch = EAGER )     @Column(name = "DATA_VALUE")   

ObjectDB 2.8.7

Added an option to slow backup (see  feature request #2681 ). Added an option to view old type versions in the Explorer (-Dobjectdb.ui.debug=true) Improved the Doctor (see  issue #2691 ). Improved performance following a large eager fetch ( issue #2694 ). Restricted waiting time

NullPointer on query

trouble with eager loading but either way there should definitely be an object there. No exceptions

New entity objects are duplicated on merge cascading

;       @OneToMany(cascade= CascadeType.ALL, fetch= FetchType. EAGER