About long

171-180 of 200Refresh
Forum
1

Fields in objects not populated in query result.

{ /** * */ private static final long serialVersionUID = 1L; @OneToMany(cascade ... implements Comparable, Serializable { /** * */ private static final long serialVersionUID = 1L; @GeneratedValue @Id protected long id; private String name
Forum
1

"where in" query

{         @Id @GeneratedValue long id;     } } Thanks. That would be fine if upgrading didn't break ... around it by using the long form of the query. Might have to start a new topic when I try another upgrade. felixobjectdb prezage
Issue
1

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code long time = System.currentTimeMillis(); m_EntityMgrFactory = Persistence ... any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database
Forum
1

@Column( name = "columnName") doesn't work

I have created following entity class with custom fields @Entity public class AfwDataKey { @Id @GeneratedValue @Column(name = "KEY_ID") private long id; private Long timestamp; @ManyToOne @Column(name = "KEY_DESCRIPTOR") private AfwKeyDescriptor keyDescriptor
Forum
1

@OneToOne query issue with OR and IS NULL

Hello, I'm struggeling to get a query run right. I have 2 entities (simplified) class A {     @Id     @GeneratedValue     private Long key;          @OneToOne(mappedBy = "other", cascade ...     private Long key;     private int counter;     @OneToOne     private A other; } so entity B
Forum
1

Accessing objects to make them available after EntityManager close?!

; } @Entity public class Vifr_dic implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue Long id; @Unique private String word; private Set meanings
Forum
1

Async query ObjectDb

1. Is it possible to run async objectDb queries for long time operations and stop them if it necessary? 2. Is it possible to stop sync ObjectDb query from another thread for long time operation for example getResultList()? Link to Java API: http://docs.oracle.com/javase/7/docs/api/java/sql
Forum
1

Attempt to execute a query using a closed EntityManager

. id is a long field in Client, so it should be there after Client is set. Id has @Id @GeneratedValue ... reloading or refresh, because c.getId() should just return the "long" field which is @Id @GeneratedValue
Issue
1

Blocked by find

it run for long enough to confirm the blocking issue is resolved. This new stack trace helped solving ... when used for IDs, are usually slower. Use numbers if possible. Even a composite primary key of 2 long
Forum
1

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

static final long serialVersionUID = 6677607256121084732L;     @Id     @GeneratedValue     private Long id; persistence.xml and spring context xml is pretty much the same as in the spring mvc jpa