Home » Search

About IDE

171-180 of 200Refresh
Forum
3

Database size is much larger than expected (x2)

I store images into objectdb. The schema is : ::=(, , , , <id>) ::=String ::=char ::=int ::=byte[] <id>::=@ID So simple a class will fail after 155,648 insertions with -Xmx1432m, ... NO = 151552 @ 8042217472 id = 0 @ 7703244276
Forum
3

Queries are slow on a large database

implements Message, LogItem, Comparable { private int Id; private int logTestRunId ... == " + logTestRun.getId()); query.setOrdering("this.Id ascending"); The package.jdo contains for this class ... ="Id"/>
Forum
3

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

the debugger is i can see this member m_idType is null type EntityTypeImpl  (id=57) m_attrMap LinkedHashMap  (id=74) m_declAttrMap LinkedHashMap  (id=78) m_entityName "Foo" (id=80) m_errorManager JPE  (id=83) m_idClassAttr Collections$EmptySet  (id=87) m_idSingleAttr SingularAttributeImpl
Forum
3

NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1

IAbstractObject { //private static final long serialVersionUID = 1L; @Id private String id = UUID.randomUUID().toString(); public String getId() { return id; } public void setId(String id) { this.id = id; } @Override public int hashCode
Forum
2

openejb jpa jaas module

(); final int id = info.getId(); final TypedQuery namedQuery = entityManager ... ; @GeneratedValue(strategy = GenerationType.SEQUENCE , generator = "gen") @Id private int ... = "UserInfo.getByClientId" , query = "select ui from UserInfo ui where ui.id = :id
Forum
2

em.flush(); em.clear(); loosing data and not persisting managed objects

.persistence.Basic; import javax.persistence.Entity; import javax.persistence.Id; import javax ... = "mySchema") public class TestEntity {     @Id     private int id;     @Basic     @Lob     private String remark;     public int getId()     {     return id;     }     public void
Forum
2

Error 363 - Failed to read value of inverse relationship

I've got two objects: @Entity public class EEvent { @Id @GeneratedValue(strategy = GenerationType.AUTO) private long id; @ManyToOne(optional=false) private ETown town ... town) { this.town = town; } } And: @Entity public class ETown { @Id
Forum
2

Internal exception when updating date filed (TemporalType.DATE)

{                 Query countQuery = entityManager.createQuery("select count(p.id) from Person p ... ;         // -------------------- persistent fields ----------------------------------         @Id         private String id = UUID ... String getId() {             return id;         }         public Date getCreateDate
Forum
2

EntityManager JPA or JDO impl and different behavior

. However if I use em.find(SomeObject.class, id) the map is NOT populated. I created a simple test ... . That still doesn't change the fact that in my project the em.find(type, id) doesn't populate the nested map ... both. Because my project uses Spring to create the entity manager: id="coreEntityManagerFactory
Forum
2

Is it possible to remove parent/child entities without refresh?

.GeneratedValue; import javax.persistence.Id; import javax.persistence.ManyToOne; import javax.persistence ... ; public class ObjectDbRemoveTest { @Entity public static class ParentEntity {   @Id   @GeneratedValue   private long id;   @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL, mappedBy