Internal Website Search
51-100 of 200 resultsEmbedded Object inside another embedded object - is that possible? I have an entity with an embedded object - it works fine. Now I am trying to add an embedded object inside the first level embedded object - but it does not seem to store it and does not throw ... off that - finally found the solution - the 2nd level embedded class only had final fields | |
Embedding Managed Entities in Embedded Objects = bad idea Discovered that you can't embed entities in embeddable objects if the entity is managed. Haven't tried embedding un-managed entities in embeddable objects, though I imagine that's not a great idea. The the error message isn't all that obvious (attempting to persist object which already has an id | |
Embedded in JDO metadata not working in objectDB 2.x ? 1 (with an OID for every instance) and all other classes were embedded (so without extent ... of RackGroupList embedded inside the instance of ProjectPart and the elements inside the RackGroupList are embedded too. I did not change the metadata when I was moving from ObjectDB 1 to 2, I | |
collection of embedded objects 1. In general, are there any restrictions of the use of @ Embedded objects in collections, compared to @Entity ? 2. If you have a large nested collection of @ Embedded objects, and you remove ... through collections of @ Embedded objects more expensive (time) than searching through collections of @Entity ? Thanks | |
Embedded Database Replication As we all know, embedded databases out perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into | |
Changing existing objects from Entity to Embedded classes should be embedded -only as they are stored only in a HashMap of another Entity. So as first ... btw ? So I left these classes NOT embedded in JDO, introduced copies of these classes in another package which were defined as embedded -only, made a migration utility which read the original objects | |
Embedable & Reference? Hi! I've got a situation I do not understand. Assume code like this: @ Embedable public class ... embedded objects after retrieving from the db? Does this also mean that referencing an already embedded ... Entity class instead of my Embedded class? thanks! Alex quasado Alexander Adam This is the normal | |
Single Server License and Embedded Mode We have an application that runs on a single server in embedded mode to write server million records. Is it possible to use the single server license for embedded mode use? I've looked ... , if it is possible. I would prefer to stick with embedded mode for the speed. Since we only have a single | |
Using explorer with a live embedded db I want to use ObjectDB explorer with a running embedded db. This issue: http://www.objectdb ... an explorer on the same machine, trying to connect in both embedded and client-server mode. I could connect when I stopped my program that embedded the db. Is still supposed to work | |
Embedded Entity in EmbeddedId not persisted. Error 631 at select..persistence.Embeddable; import javax.persistence. Embedded ; import javax.persistence.EmbeddedId; import ... 1: Works not: if field AId.b is not @ Embedded annotated. * * case 2: Works: if field AId.b is @ Embedded annotated. * *   | |
Convert embedded database to server Hello, What is the right way to convert an embedded database to a server one ? As a result ... Sylvain No need to convert. Same odb file is used in both client-server and embedded modes. Just copy ... . What are the pros and cons between an embedded database ( with remote connection enabled ) and a real | |
Embedded mode usage question Hi there ! We're currently considering to try object db as a an embedable database ... your site/docs whether the object db embedded mode is intended for single-user / single thread access only or not. Is it ok to use object db in an embedded (non server) mode for a web app or web | |
run several embedded systems on one server, problem with double used port we want to run several embedded systems on one server. In principle this is working ... that port for each embedded system hgzwicker Hans-Georg Zwicker Are you using embedded -server mode? In ... : "$objectdb/db/my.odb;port=9999" If you don't need the embedded server then you can disable it in | |
Weird behaviour with enhanced classes and embedded entities entries of my ArrayLists with embedded entities are missing. I've hunted the problem down to an enhanced/proxied list in my entity which contains embedded entities and some .add(obj) are simply failing ... (MyEmbeddedEntity embedded ){ embeddedEntities.add( embedded );   | |
Embedded & Activation & Scalation. So, we'd like to embedded odb into each instance instead for now and point each to the same database ... embedded mode that way. In embedded mode only a single process can access the database ... only limitation. Is there a way to spawn multiple server instances " embedded " into our app | |
Non Embedded byte[] I am trying to understand the " embedded =false" for JDO byte[] as described in ObjectDB 1.0 Manual ... : @PersistenceCapable class MyImage{ boolean isCurrent; @Persist( embedded ="false")byte[] imageData ... embedded , stored as a single "blob" as a unique ObjectDB persisted object? (The section 4.4 talks | |
Possible issue with Spring JPA and Embedded Hello, I'm having some fun with Spring and embedded objects. I have need to embed some small ... how to go about proving where the issue is. (I can see the embedded objects in the database with the explorer, but they are NEVER returned) If I change my embedded class to be an entity it all works | |
config file for embedded database Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. dmoshal David Moshal The same procedure | |
Changing from client server to embedded mode;password=admin"); Now to switch to embedded mode, I have tried following things   ... Client Server mode. kindly provide information how to switch from client server mode to embedded ... The database file format in client-server mode and embedded mode is the same, so it should be easy | |
How to connect to an embedded ObjectDB in a JPA/JEE application?. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application ... the client-server connection url with an embedded connection url, e.g. an absolute file path. See this documentation section regarding client-server and embedded connection urls. support Support | |
Embedded List).setParameter(1, strSupPart); strSupPart is the part I am looking for in my Embedded List ... to get records that have part of the strSupPart field from the Embedded class in the ItemDB class, my code looks | |
Password in Embedded Mode? Is there a way to setup a database file that will be accessed in embedded mode, such that it is locked with a password. Thereby making it impossible to use ObjectDB to access the contents ... . It seems that in embedded mode password protection would be useful only with database encryption | |
Embedded and autosync of these boxes connecting to a shared remote RDBMS we want them to each have an embedded ObjectDB. Our question is will these 10 embedded objectDBs be in-sync. E.g.: If a user has logged into box 1 | |
Failing in embedded mode, correct javax.persistance?) The tutorial is supposed to run embedded . If the file given does not exist, it should be created ... " and where it should be stored, contents etc. Since I am running the program in embedded mode, this file should not be necessary | |
Adding multi part path index on non-embedable object member Is there a way to add single member index on members of a object member which is not configured embedable but is/are mapped by id like the two members below. @Entity public class Customer ... ", ...etc... }) } public class Customer { ... } There is a documentation says it works on embedded objects | |
objectdb embedded memory usage ? hello , i m making some java application. I will have plan to use that db on java apps but is it possible to use for small embedded apps ? like small android devices or small ... ? kadirbasol Kadir BASOL ObjectDB can be used as an embedded database in a Swing application | |
Embedded server feature on it 2 web applications on Tomcat 1 ObjectDB Server deployed, in embedded server mode 2 ObjectDB databases for those 2 webapps, both would use the server in embedded mode for stellar performance | |
How to avoid NULL values on Embedded entities; @ Embedded private Direccion origen; @ManyToOne | |
LEFT JOIN FETCH over empty embedded collection returns no results First of all, thank you for promptly implementing JOIN FETCH over nested paths in response to my inquiry a few months ago. However, I have run into one problem: if an embedded collection is empty, but I attempt to LEFT JOIN FETCH all the members of a collection within a (non-existent) member | |
NPE after an @embedded obj is updated for a detached entity I have an entity that looks like this: class User { @ embedded private Profile profile; ... } After running something like this: User user = entityManager.createQuery("select...... entityManager.detach | |
disabling JDO in objectdb embedded mode Hi, i am using objectdb (version 2.6.8) in embedded mode. I deployed an .ear project in glassfish. When I attempt to call the database I get several exceptions. As an example consider the following short example: [#|2016-06-02T14:19:38.393+0200|WARNING|glassfish3.1.2|javax.enterprise.system.core | |
embedded objects marked final not persisted. Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug? dmoshal David Moshal Final fields are treated as transient regardless of their type. If you mean that declaring the embeddable class as transient causes | |
Online backup in embedded mode fails Hi, As in topic. "online backup" fails when executed in embedded mode. Everything works fine with server mode. java.lang.NullPointerException at com.objectdb.o.BAC. (BAC.java:63) at com.objectdb.o.MST.U4(MST.java:1764) at com.objectdb.o.MST.U3(MST.java:1745) at com.objectdb.o.WRA.U3(WRA.java:498 | |
makeTransient() not working on Embedded class makeTransient only on instances of persistence capable classes (in JDO, or entity classes in JPA). Embedded | |
Query on Embedded Primary Key? Hi, I am trying to use Embedded Primary Key - but seems I can't retrieve them correctly with the query below - the query seem to work fine for other field (in the code = primkeycopy). The error I get when is below - it complains about a casting issue. Let me know how to fix | |
How to apply Unique constraints on embedded fields? How to apply Unique constraints on embedded fields? @Entity public class A { private B b; } @Embeddable public class B { private C c; } @Embeddable public class C { private HashSet values; } how can i apply unique in values? Thanks Manoj Manoj Kumar Maharana Uniqueness | |
data protection method in ObjectDB Embedded Mode I am new in ObjectDB and i need to understand How is data protection in ObjectDB Embedded Mode without using username or password thanks choymns choymns The way to keep an ObjectDB database encrypted is simply to store it on an encrypted drive. Modern operating systems support encryption | |
Server vs embedded mode in multi-instance scenario there will only be one active instance of the app, use embedded mode inside the web application | |
ObjectDB embedded JAR location in Payara Also I am running Payara with Object embedded and have placed the JAR in the domain lib folder with the objectdb-2.6.9_09.jar. Does that sound like the right thing to do? Thank you paul Paul Hudson You can place objectdb-jee.jar (or the jar from Maven) in the WEB-INF/lib directory of your web application. support Support | |
Problem with log file in an embedded db with netbeans platform application Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as embedded db (version 2.3). I haven't had any problem with the domain class library project, but running the netbeans platform application that use the same domain class library an error occurs | |
internal object DB locking in an embedded multi threaded application Hi, we are using Embeded objectDB 2.4.4_06 in a highly multithreaded concurrent manner and we have noticed a performance problem in our application that seems to be attributed to ObjectDb's internal locking. When profiling our app in JVisualVm we notice a large number of threads are blocked | |
ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects is this still a bug of version 2.6.9_06 ( embedded )? jtuemmer Jochen Tümmers As far as we can tell | |
How to move @Embedable collection to a dedicated entity class? Hello I am using embedded objectdb in a 4 years old project. Over the years the data got bigger and now I want to make some performce improvements for some specific part of the code. Lets say we have a Parent and Child class with onetomany relation @Entity class Parent { @Id Long id | |
Bulk update of embedded entities in linked list Hi, I'm trying to do a bulk update of a column in an embedded entity, but I end up with a query execution error because of the "." between the column name of the parent entity and column name of the child entity. The column in the parent entity represents a linked list of an embeddable class | |
Embedding ObjectDB on server applicationEmbedding ObjectDB on server application | |
Exception when querying Map property with @embedded & Enhancer enabledException when querying Map property with @embedded & Enhancer enabled | |
Embedded Database Replication As we all know, embedded databases out-perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into | |
config file for embedded database Hi, I'm going back to embedded mode after some time with client/server mode. Question: how does the embedded jar find it's config file? Dave ps: thanks for the improvements to the explorer - still need a way to view (view only) an open embedded database. dmoshal David Moshal Please read | |
Explorer Features - refresh + viewing open embedded database Request for feature: Ability to auto-refresh an explorer view, say at regular intervals of a few seconds. (at a minimum one ought to be able to manually refresh, for example the list of persistent types). additionally, it would be useful to be able to view an embedded database (read only mode) via the explorer. dmoshal David Moshal | |
criteria api / embedded objects / where order Dear Support Team Changing objectdb from version 2.7.4 to version 2.8.1 I found, that query against embedded objects doesn't work as expected and the formerly green UnitTest (Version 2.7.4) turns red (Version 2.8.1). For what I thought I realized is, that the version 2.8.1 was sensitive |