Home » Search

About long

91-100 of 200Refresh
Forum
2

500Mb ObjectDb database opening issue

) 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 ... which show problem with long data base open operation issue. Could you check from ObjectDb
Forum
2

Join query problem with new statetment

{     private static final long serialVersionUID = 1L;     private long inspID;     private String inspName;     private long productID;     private String productName;     public InspirationsPerSupplierResult(             long inspId, String inspName, long productId, String productName
Forum
2

Object as parameter results in exception

owningCompany; } @Entity() public class Company{    .    .    .     @Id    private Long id; } and the query:    @Override public T fetch(Company company, Long primaryKey ... public T fetch(Company company, Long primaryKey) {   mLogger.info("Fetching type: {} with id
Issue
2

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

implements Serializable { private long beginTime; private long endTime; private String periodType; public long getBeginTime() { return beginTime; } public void setBeginTime(long beginTime) { this.beginTime = beginTime; } public long
Forum
2

Bulk Delete and Update - best practice?

(); em.clear(); TypedQuery<Long> q = em.createQuery("SELECT COUNT(d) from CacheData d", Long.class); long rows = q.getSingleResult(); System.out.println(String.format("Found %s rows", rows ... .createEntityManager(); q = em.createQuery("SELECT COUNT(d) from CacheData d", Long.class); rows = q
Forum
2

Can a Set<E> be a foreign key?

a variable (private Set<Long> cellHeldCharacters;) which holds the IDs of the characters within the cell ... {     @Id @GeneratedValue     private long characterId;     private String characterName ...     private long cellID;     private String cellName;     private String cellShortDesc;     private
Forum
2

Criteria query error: Unexpected query token

{ /** * */ private static final long serialVersionUID = 613965399994067819L; public ... class BaseEntity implements Serializable{ private static final long serialVersionUID ... ) @GeneratedValue private Long id; /** * Version of object, supporting optimistic
Forum
2

Duplicate Entity class names causes Exception in Query

; } } public long howManyItemsExist(EntityManager em) { TypedQuery<Long> q = em.createNamedQuery("objdbTest.Singleton.count", Long.class); q.setFlushMode(FlushModeType.AUTO); try { return q ... static final long serialVersionUID = 2215109025397291357L; } If I change the query
Forum
2

failure to enforce NOT NULL for java.lang.String

=GenerationType.IDENTITY) private Long id; @Unique @Persistent(nullValue=NullValue.EXCEPTION) private String username; public Long getId() { return id; } public void setId(Long id) { this.id ... )         private Long id;         @Unique         //@Persistent(nullValue=NullValue.EXCEPTION
Issue
2

InternalException when using MEMBER OF on a large list in a query

with long primary keys. In such objects the keys may not be embedded in the object content ... objects with long primary keys is not very efficient, because non embeddable keys are slower ... for the fix. Also thanks for the hint with long keys. Can you give us a recommendation as