About HAVING

61-70 of 162Refresh
Forum
1

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

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

(and not having any separate Java EE stuff installed). What happened is I couldn't import javax ... ... The exception was due to having chosen "Java EE 6 API Library" when for my first working test I
Forum
1

On ensuring ID available after persist

, which relies on an "external" entity object having a non-null id after it has been passed ... ); // then do something that relies on Java variable e having e.getId() defined (like wiring
Forum
1

IN expression in a Criteria Query

a.code HAVING COUNT(a) < 2 It throws following exception: com.objectdb.o.UserException: Invalid ... ). Regarding the GROUP BY query: SELECT a FROM Account a GROUP BY a.code HAVING COUNT(a) < 2
Forum
1

Upgrade to Java 8 won't run

more It seems that this exception is caused by having java.util.HashMap.Entry in the list of types in your database, since apparently this internal Java 7 type is not part of Java 8. Having this type in the database
Issue
1

Query fails with failed to read

of doing nothing, especially after having a c/s connection the usage before   [2018-08-28 17:12:57 #5 ... nothing, especially after having a c/s connection the usage before. There is a change in one of the recent
Forum
1

@AttributeOverrides , and postgresql + own TYPE

please need your help, or i will die in front my keyboard with trying. It is only one file, having 135 line
Forum
1

@ElementCollection query returning extra result per element in collection

Hi,   I'm having a hard time narrowing down an issue that only became apparent with in the UI. The issue is that, I'm getting repeated results of the owning entity of an '@ElementCollection'. The entity returned is repeated for every element in the collection. Switching back to EclipseLink
Forum
1

@PrePersist Implementation

Hi Please help me.I have requirement like In my project having arround 100 pojos .I have used @EntityListener and @prePersist annotaions to invoke my action class .. But problem is how can i get oldvalue and new value of current form of pojo in side my @entity Listener Action class. code snipt
Forum
1

_PersistenceException: Type is not found on getSingleResult.

Greetings. I'm new to ObjectDB. I'm using an ObjectDB local database for a Java SE standalone application and i'm having issues querying for an object of this entity: @Entity public class Estudiante{     @Id     @GeneratedValue     private Integer id;         @Column     private String