Home » Search

About long

111-120 of 200Refresh
Forum
2

Performance in large transactions

.setFlushMode(FlushModeType.AUTO);   em.getTransaction().begin();   // SLOW   long startTime ... ();   // SLOW   long startTime = System.currentTimeMillis();   MyEntity myEntity = new MyEntity ... persistence context after first persistence for a long time. We will try to demonstrate these ideas in
Forum
2

Performance in SELECT statement

{     @Id     @GeneratedValue     private Long key;     private Long clientKey;     private ...     private long timestamp;     @Embedded     private State state;     ... getter/setters ... } @Embeddable public class State {     private Long lastProcessingDate;     private int
Forum
2

Performance problem

(); long startTime; long endTime; startTime = System.currentTimeMillis ... = emf.createEntityManager(); long startTime; long endTime; startTime ... is PartolniNalogImpl instance. So apparently loading of that PartolniNalogImpl instance takes too long. Please check
Forum
2

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

(strategy = GenerationType.AUTO)     private Long id;         private String name;         @ManyToOne     private Location location;     public Street() {     }     public Street(Long id, String ... = location;     }     public Long getId() {         return id;     }     public void setId
Forum
2

Speed of queries that return many objects

class BenchEnt implements Serializable {     private static final long serialVersionUID = 1L ... ();             em.clear();         }         if( true){             long t1 = System.currentTimeMillis ... );             List L = query.getResultList();             long t2
Forum
1

Beginners questions

extends Pojo implements Serializable { private static final long serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @OneToMany (fetch ... static final long serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy
Forum
1

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

{     private Long id;     private Long version;     :       private String mapFromCli ... class RecordingMetaData {     private Long id;     private Long version;         private Date
Forum
1

createQuery method error

isJobExist(String name) { TypedQuery<Long> query = em.createQuery( "SELECT count(j) FROM MFJob j WHERE j.jobName = :name", Long.class); return query.setParameter("name", name ... .EntityManager cannot be applied to (java.lang.String,java.lang.ClassLong>) [javac
Forum
1

Does ObjectDB support lazy loading?

.getTransaction().commit(); Long id = a.id; em.close(); em = emf ... @GeneratedValue Long id; @OneToMany(fetch=FetchType.LAZY, cascade=CascadeType.ALL) List list; } @Entity static class B { @Id @GeneratedValue public Long id; int
Forum
1

Error 613 - i cant put a list<Athlete> into a Squad object

{     /**      *      */     private static final long serialVersionUID = 1L;     @Id     @GeneratedValue     private long id;     private int squadId;     private int athletId;     public long getId() {         return id;     }     public void setId(long id) {         this.id = id;     }     private String