ObjectDB Database Search
101-150 of 200 resultsHow to use JOIN FETCH? class Person { @Id @GeneratedValue private long id; private String name;   ... (); public long getId() { return id; } public String getName() {   ... ; } } @Entity public static class Address { @Id @GeneratedValue private long id;   | |
com.objectdb.o.NLV cannot be cast to com.objectdb.o.CMV Long id; private Long version; :   ... ; }) public class RecordingMetaData { private Long id; private Long version; private Date startDate;   | |
Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities_persistence_context_in_stateful This however has the consequence of a long conversation until the stateful ... and will able able to use it as long as the EntityManagerFactory is open. The connection used in not ... lazy relationships after they are detached as long as the context is still avalable | |
List always null; private static final long serialVersionUID = 1L; @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id;   ... static final long serialVersionUID = 1L; @Id   | |
Items in list are doubled, when the entity class is not enhanced implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private Long ... static final long serialVersionUID = 1L; @Id @GeneratedValue private Long id; @ManyToOne private | |
Extra uninitialised entities spawned on merge()().commit(); Long id = root.getId();   ... ; } private Long id;   ... ; public Long getId() {   | |
Relationships and tracking changes static final long serialVersionUID = 1L; @Id @Column(name = "ID") @GeneratedValue(strategy = GenerationType.AUTO) private Long id; @OneToMany (fetch=FetchType.LAZY,cascade=CascadeType.ALL, mappedBy ... implements Serializable{ private static final long serialVersionUID = 1L; @Id @Column(name = "ID | |
Field in Generic Class not persisted?; @Entity public class OBJ6 extends ABS { @Id @GeneratedValue long id; private long valInInstanceClass; public OBJ6() { } public OBJ6( Long l ) { super(l);   | |
Problem with byte arrays in JDO - internal exception; /** * * @author steve */ public class Example { private long id; private String name; private byte[] data; /** * @return the id */ public long getId() { return id; } /** * @param id the id to set */ public void setId( long id) { this.id = id; } /** * @return the name */ public String getName() { return | |
EntityManager refresh problem SimpleEntity { @Id @GeneratedValue private Long primaryKey;   ... ; public Long getPrimaryKey() { return primaryKey; } public void setPrimaryKey( Long primaryKey) {   | |
Problem with byte arrays in JDO - ClassCastException; } } package spiffy.test.model; /** * * @author steve */ public class Example { private long id; private String name; private byte[] data; /** * @return the id */ public long getId() { return id; } /** * @param id the id to set */ public void setId( long id) { this.id = id; } /** * @return the name | |
Join performance in Objectdb select count(e.id) from Page e 1 java.lang. Long : 161143 Time : 23.889999 JPQL select count(e.sUrl) from Page e 1 java.lang. Long : 161143 Time : 96.968002 JPQL select count(e.iSize) from Page e 1 java.lang. Long : 161143 Time : 10.359000 JPQL The command tool is from the book of Mike Keith. Obviously | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1 + Jboss 7.1.1 @Entity public class Person extends AbstractObject { private static final long ... = citys; } } @Entity public class City extends AbstractObject { private static final long ... IAbstractObject { //private static final long serialVersionUID = 1L; @Id private String id = UUID | |
Great product - needs better marketing - more popularity was more popular. Moreover, companies ask if they can rely on an unknown vendor with their long term software ... sales point to me.) I would see long term viability as being the hardest marketing problem ... point for customers that are concerned about their long term software development investment. Any | |
Modifying something with Explorer -> app JPQL with Enum doesn't work anymore with how enums are handled. I can do whatever I want with the application, as long as I avoid ... encountered this I had to remove @Enumerated with Long , and add ids for each Enum in my logic, because using @Ordinal is not proper for long term, when you have to add/remove options. I hope the problem | |
EntityManager JPA or JDO impl and different behavior; long id = 1; List ... ; public long getId() {   ... ; public void setId( long id) {   | |
Query only works correctly when debug printing results @GeneratedValue private long id; private String reqLevelName = "DEF"; @OneToMany(mappedBy ... implements Serializable { /** * */ private static final long serialVersionUID = 5019171545896480392L; @Id @GeneratedValue private long id; @ManyToOne private RequirementLevelEntity wrappingReqLevelEntity | |
can't get HashMap out of the database class Guest implements Serializable { private static final long serialVersionUID = 1L; // Persistent Fields: @Id @GeneratedValue Long id; private String name; private Date signingDate; private HashMap ... class GuestHolder { // Persistent Fields: @Id @GeneratedValue Long id; @OneToMany(fetch=FetchType | |
Conflicting modifiers .... (javax.persistence.Id, javax.persistence.ManyToOne) = em .createNamedQuery("numberOfMapItems"); q.setFlushMode(FlushModeType.AUTO); try { long l = ( Long ... long serialVersionUID = 0L; private String cachedKey; private String container; public | |
Problem witch CriteriaBuilder isMember(..); testobject = new Testclass(0,0); } @Embeddable class Testclass { long uid = 0; long udb = 0; } Im unable to search for some occurence of Objects of Testclass in ... _list Predicate test_predicate = expression.in(uid3_list); // works fine as long there is no previous | |
Saving custom list which implements java.util.List fails long as they are declared as java.util.List So the same example runs with db4o and Hibernate but not ... : So shouldn't it be possible to store any kind of list, as long as it is an instance of java.util.List? Because it doesn't matter how the list is implemented as long as you can get and set the list | |
Fields in objects not populated in query result. Serializable { /** * */ private static final long serialVersionUID = 1L; @OneToMany(cascade ... , Serializable { /** * */ private static final long serialVersionUID = 1L; @GeneratedValue @Id protected long | |
JDOHelper.isDetached failure ? implements Serializable { @PrimaryKey private long id; private String name; protected TestClass() { } public TestClass( long id,String name) { this.id = id; this.name = name; } /** * @return the name */ public String getName() { return name; } /** * @return the id */ public long getId() { return id | |
Out of memory;That problem was moved to a separate issue , since this thread became too long . Please subscribe ... chance to add some logging for long / memory hungry queries? And lastly - now our database is small ... that there is always enough spare space. As long as there are no memory leaks in ObjectDB - increasing | |
mappedBy problem.IDENTITY) public Long id; public String name; @OneToMany(targetEntity=Address.class,mappedBy="employee ... .IDENTITY) public Long id; public String line; @ManyToOne public Employee employee; } The address ... (Employee) is retrieved or refreshed from the database - as long as the owner side is set | |
Remove an entity which attributes were changed - OptimisticLockException; @Id @GeneratedValue long id; int value ... ; long removedID = e.id; em.remove(e); // remove e   ... ; @GeneratedValue long id;   | |
Entity with java.util.Date column gives ClassCastException in BIRT.IDENTITY) private long id; private String name;   ... ; * @return the id */ public long getId() {   ... */ public void setId( long id) {   | |
Should I be able to persist a JFrame (or gui components in general)?" interfaces like this, so that I am not spending a long time (I'm slow) programming what I'll ... Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private long id | |
Can a Set | |
Problem with entities detection")}) public class Alumno implements Serializable { private static final long serialVersionUID = 1L ... _alumno") private Long idAlumno; @Column(name = "dni") private String dni; @Column(name = "nombre ... { /** * */ private static final long serialVersionUID = 1L; String ciudad; String calle; int numero; int | |
Object comparation never matches PhoneNumber implements Serializable { int countryCode; long ... ; @Id @GeneratedValue private Long id; public void setPrincipal ... number | long | 4567890 Then I'm constructing exactly | |
Attempt to store an instance of a non persistable type static final long serialVersionUID = 7417072929572142416L; public enum Level { TRACE, DEBUG, INFO ... @GeneratedValue @JsonIgnore private long id; @JsonProperty private String uuid = null; @JsonProperty private ... = message; this.exception = exception; } public long getId() { return this.id; } public String | |
Issue with orphanRemoval and multiple EntityManagers; long orgId = 0;   ... ; @Id private long id;   ... (); } public long | |
query on calendar class; private static final long serialVersionUID = 1L; @Id @GeneratedValue private long serialID; private String A;   | |
Double persist of Entity field with Cascade.ALL follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String ... fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private | |
Immediately retrieve unique id static final long serialVersionUID = 1L; private String sampleName; @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "sampleSeqGenerator") @Id long id; The id field is as expected | |
Cascading makeTransient the application point-of-view. So as long as I keep B in application cache, also A is present in ... of the owner object as long as the embedded object is in use, as a fix to issue #1620 (so this reported issue | |
ManyToMany Set is null @GeneratedValue private long id; @ManyToMany(fetch = FetchType. EAGER , cascade ... { @Id @GeneratedValue private long id; @ManyToMany(fetch | |
Missing (null) elements in eager loaded references @GeneratedValue (strategy = GenerationType. SEQUENCE , generator = "seq" ) private Long id ... private long amount ; etc... } Kevin Kevin Pfaff Questions: Are your classes enhanced | |
Removing entity class Hello, I am using evaluation version of ObjectDB for long term private project. Recently I hit the 10 entities limit and got exception: com.objectdb.o.UserException: Too many persistable types (10) - exceeds evaluation limit Among the 10 entities in the project there are 2 entities I added long | |
EntityManager getMetamodel() causes crash implements Serializable { private static final long serialVersionUID = 1L; @Id @GeneratedValue private long | |
Error occured during initialization of boot layer Serializable { /** * */ private static final long serialVersionUID = 5019171545896480392L; @Id @GeneratedValue private long id; private String name; private String description; private String reqID; private | |
New to Product & Having An Issue Serializable { public static final long serialVersionUID = 1L; private DomainId domainId; private ... Serializable { public static final long serialVersionUID = 1L; private String accountId; private String | |
Performance issue in a query due to compareTo calls (AccessType.FIELD) public class TCStep extends Identifiable { @Index private long stepNumber; @Basic ... @Access (AccessType.FIELD) public class Values extends Identifiable { @Index private long stepNumber | |
Change Sequcene Id("MyEntity$identity"); long currentValue = seq.currentValue(); // I would like to change currentValue ... ; @GeneratedValue(strategy=GenerationType.IDENTITY) private Long id; } Tsu | |
Embedded Database Replication feature request for this? How long will it be before it's released? ThreaT Ashton Hogan Is there an existing feature request for this? No, this is a new request. How long will it be before it's released | |
Internal exception when updating date filed (TemporalType.DATE); long personsCount = getPersonsCount();   ... ; } private void createPersons( long count) {   | |
Unexpected exception (Error 990) on find, and there comes only Exceptions when the values becomes sometimes relativly long ( 256 chars). When I cut ... ? Is it String? What is the length of these strings? You mentioned long strings as map values, but in this context, long strings as entity keys could be more relevant. Please check the database file using | |
java 8 LocalDateTime is not working in query; @Id private Long id;   ... MyEntity() {} public Long getId() { return id; } public void setId( Long id) { this.id = id; }   | |
ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded() should be acceptable: @Entity @EntityListeners(com.acme.AlertMonitor.class) public class Account { Long accountId; Integer balance; boolean preferred; @Id public Long getAccountId() { ... } ... public Integer |