Internal Website Search
101-144 of 144 resultshow to implement insert ignore in objectdb? I want to implement Insert ignore in Objectdb. means if a column is declared as Unique but in case ... Maharana Ignoring duplicates is the default when unique is not specified, so the question is unclear. support Support But he said the column is specified as unique , right? pcockerell Pete | |
Problem with Composite indices class Client { @Index ( unique = "true") private String name; } and a User class which looks like ... ; } So I want to be sure that each User which belongs to one Client has an unique Email address ... such constraint? Kind regards Markus doppelrittberger Markus Ritter This uniqueness constraint | |
Objectdb recovery Hello, I have question regarding objectdb recovery when objectdb is not finished correctly (power outage). We are using following configuration: Is there any possibility of data loss when power outage? We have some mechanism for creating unique ids and it seems that this unique id was not | |
Update Entity references if we change the type of an entity will have to be unique per entity type hierarchy rather than per type. There could be other (unknown ... ), with this option enabled "Object IDs will have to be unique per entity type hierarchy rather than per type | |
Are indexes implicitly created for relationships? ) should apply @ Unique on the @One side. But ObjectDB doesn't apply these indexes automatically, because of their overhead (which most users are not aware of). You should use the @Index or @ Unique annotations explicitly to set indexes. support Support | |
Composite indexes the smallest subset of unique records (like for example "isPublished" which is either true or false, then "room" which has 7-8 unique values etc...) #2. Can I use the same field as secondary member in many | |
Updating Entities when using UPDATE queries is not unique to ObjectDB but a limitation of all the JPA implementation ... . Paygrade must remain unique and in its own EM, but Employee has a Paygrade Field. Thus, Employee | |
Index causes increased memory usage Hello, In an effort to increase the speed of our queries with our embedded ObjectDB system, we configured our JDO file that defines our persistable objects with some unique String indices.  ... ; Again we noted that when indexing was enabled on a unique String field, our memory usage was far higher | |
Search with wildcards and index issue Hi, I have a search using wildcards: SELECT $1 FROM CDI $1 WHERE $1.loginId LIKE '%*_last%2' ESCAPE '*' This works perfectly when loginId has NO annotations. Now if I add to loginId the following annotations: @Index( unique ="true") @Column(nullable=false, unique =true) the search no longer works. I | |
Searching lists within objects attributeList = new ArrayList (); } @Entity @ Unique (members={"type","value"}) class Attribute {   ... unique index on type and value (as shown above). Always look for existing attribute before | |
Should I use ObjectDB and JDO? API reference unique to ObjectDB, or is it an exact copy of some JDO 2.x API that I could find ... JPA/JDO code. Is the ObjectDB JDO API reference unique to ObjectDB, or is it an exact copy of some | |
Criteria Query results in a NoResultException instead of returning object.RuntimeException: com.objectdb.o._NoResultException: No matching results for a unique query at org.jboss.seam ... ._NoResultException: No matching results for a unique query at com.objectdb.o.JPE.g(JPE.java:100 | |
Duplicate Entity class names causes Exception in Query console test apps! Thanks for your help. BTW the @ Unique annotations for non @id attributes makes | |
Entity Type is not found (error 301) in Query email isn't unique !"); } } pezifromvienna Peter Sauer | |
Query can't see recently persisted object( { @Index( name = "MyClass_ind_1", members = { "oid" }, unique = "true" ) } ) @Entity public class | |
New to Product & Having An Issue setDomainId(DomainId domainId) { this.domainId = domainId; } @ Unique (name="name2") public String getName | |
Change Sequcene Id that you must verify that id collision is avoided and every entity object gets its own unique id). support Support | |
how to create only table structure. hi, I want to create only a table without insertions of data. And also table contains constraints like not_null, unique , primary key etc. Ex: (In sql) create table emp (id int(5) primary key, name varchar2(20)); , so it will create only table. when we want to see the table structure | |
Query for objects persisted within the same transaction I have a question concerning reading uncommited entities with query, within active transaction. For example, I read data from file. Each line contains value of one of entity's attributes but those values are not unique , so it's possible to have a multiple instances of the same entity. To eliminate | |
Memory consumption of empty Strings. But after reloading the entities from objectdb, every empty String has become a new ( unique ) String | |
How to have a distribuited GWT application with ObjectDB and Spring?. If every host runs its own ObjectDB database as a database server, each database has a unique url and each | |
Non Embedded byte[] embedded, stored as a single "blob" as a unique ObjectDB persisted object? (The section 4.4 talks | |
Updating existing persistence entries runtime polymorphism and finds the correspondent row in the DB by the matching and unique ID field | |
A few questions on object database design. After all, everything stored in player instances are unique to that player... So, is it OK to store | |
type.loader java.lang.ClassNotFoundException, namely my application halts with an error about unique primary keys/ids on initial startup entity creation/wiring | |
Error during cascaded merge = {"unit", "configDate"}, unique = "true") public class ChannelConfigurationSet implements | |
Failing to read entities under load in multithreaded tests;it sometimes fails to read them from the DB with "No matching results for a unique query" error | |
Examples of queries unique for GROUP BY but for common for queries that return multiple expressions in every result. support Support | |
String Contains Query Result - Possible? Hi, I have a managed database for an Entity, "Program", containing a String field, "description", that is effectively a unique sub-string of a system generated description. Example: System: For Series Sales usage: 6014-Private Individual Swim Lessons 10-Pack Database: 6014-Private Individual | |
using objectdb.jar in writing data to mariadb or mysql db to mariadb or mysql using native java JPA API and in some cases JPQL or must i store to an Objectdb unique | |
Criteria query error: Unexpected query token Using JPA2, I can save entities now in JBoss, and also fetch them uniquely by id. However, if I try to fetch it by getting back all instances (e.g. findAll, I get the following error: org.jboss.arquillian.spi.ArquillianProxyException: com.objectdb.o._PersistenceException : Unexpected query token | |
Help understanding Entity behavior with JPA dansmith Daniel Smith The combination of (type, ID) should identify entity objects uniquely | |
Externalising persistence.xml properties in Glassfish? a persitance unit for every environment you want that has unique configuration and be sure to give it a name | |
How best to unbind all names? way, by adding a 'name' field, which may be set as a primary key or as a unique index | |
Using multiple databases Is it possible for an ObjectDB PersistenceManger/EntityManager to connect to more than one database at a time? Also, can objects in one database reference objects in another database (e.g. through globally unique identifiers)? jonb Jon Brumfitt You can use as many databases as needed | |
Object comparation never matches 2.4.6] javax.persistence.NoResultException" "No matching results for a unique query (error 782 | |
Sample JDO Architecture for Follow Up Questions for the database requests. * Probably, all persisted instances will be root objects with unique | |
@JoinColumn(nullable=false), see this forum thread regarding setting a unique constraint when using ObjectDB. support Support | |
Multiple joins did not return expected result an error? The event variable is defined twice. You should use a unique name for every query variable | |
combined index not used a unique substring from the query plan XML, so specifying the index name should work. support Support ... ? If it is, then any unique substring from that query plan that doesn't depend on parameters should work | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null, CascadeType.PERSIST}, mappedBy="account", fetch = FetchType.LAZY) @JoinColumn(name = "project_id", unique =true | |
NullPointerException when using multithreading of the objectdb jar. The test application will add one million unique entities to the database | |
ObjectDB 2.3.3 ). Added support of @Column( unique ="true") and equivalent ORM XML ( issue #550 ). Fixed @PrePersist | |
com.objectdb.o.InternalException: java.lang.ArrayIndexOutOfBoundsException: null; } private @Index @ Unique   |