ObjectDB Database Search

101-150 of 168 results

Query over the keySet of a map field with collection parameter

static class EntityParent { @ Basic String value; public EntityParent(String name) { value = name ... EntityChild { @ Basic String value; public EntityChild(String name) { value = name; } } btc_es BTC

Storing Images

is knowing the scope of such a library.  a basic jpeg persistable image is trivial

New Web Application Tutorials

with basic concepts and principles of Java web applications, including Servlets, JSP and HTML. support Support

Can a Set be a foreign key?

I have two classes, Cell and Character.   Basically , the cell is like a room, and contains a variable (private Set cellHeldCharacters;) which holds the IDs of the characters within the cell (The IDs are Primary Keys).  Can I use the Foreign Key annotation for the variable, or

Externalising persistence.xml properties in Glassfish?

on JNDI lookups). I am using Glassfish. Basically , what I am trying to get at: E.g. persistence.xml

Fetching Collections Puzzle

join fetch n.children where ....." this will also fetch your collection. Basically you can use

explorer feature request: ability to auto refresh

but are now disabled - including editing, basic querying and manual refresh. support Support thanks, I

Object as parameter results in exception

my path expressions to point to basic java types (path expression pointing to id):    

OptimisticLockException

this extensively. It just basically means that: 1) Version field incremented 2) New object

Memory Leak?

Hi, I'm evaluating ObjectDB and certainly new to it. I'm seeing a possible memory leak in ObjectDB or it could be my abusive use of it. Basically I'm adding 1 million objects into it and then retrieve each of the object one by one. The object is key by Long. Here is the jmap at time1: num

Is 2 level cache in use?

Walkowski Basic documentation regarding this feature was added to the Query Hints section. It is now

Annotations not supported in -source1.3 (use -source 5 or higher ..)

did not find a setting for the Java version there, so I created a fresh basic Java Application in

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

of all theory is to make the irreducible basic elements as simple and as few as possible without having

Mysterious "Attempt to persist a reference to a non managed instance" error

something really basic . hhgreen Howard Green Thank you for this report and test case. Please try build

Reporting Engine?

New to java and objectdb - I am looking for a reporting engine to use with objectdb. Would birt work or is there something better matched? I am ideally looking for something template based with external template designer to customize the template.    kevine Kevin Elbury Basic support

javax.persistence.PersistenceException

Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in creating a View public void createPartControl(Composite parent) {     EntityManagerFactory emf =          Persistence

Version 2.2.7 build 7/8 issue

; @ Basic (optional=false) private String name; @OneToOne(cascade= CascadeType.ALL, fetch= FetchType.EAGER

Project runs in Eclipse but not when exported to runnable jar

on understanding the basics before working out how to effeciently commit and retrieve the main data. I'm

Duplicate Entity class names causes Exception in Query

int version; @ Basic protected java.lang.Integer lastInstance; public void generateItems(EntityManager

using DbUnit with ObjectDb

code. It shouldn't be difficult to add to ObjectDB  basic support of loading data from XML

ObjectDB as JDBC resource or custom realm

Hi everyone, I want to implement HTTP Basic Authentication for my web services, but I also want to use ObjectDB to store credentials. Therefore I'm in the need of a custom realm for GlassFish 3.1. My guess is somebody already did this before, so if yes please raise your hands

How to query for list of lists ?

) @ Basic (optional = false) @Column(name = "id") private Integer id; ... @Column(name= "reviewSnippets

EntityManager JPA or JDO impl and different behavior

a basic test project, NO spring involved. Same persistance xml in my META-INF, startup using: emf

Issue with Casting / Joins

Hi I can't seem to find my way out of this. Basically what I have is something like: @Embeddable public class EmbeddedBase { ... } @Embeddable public class EmbeddedA extends EmbeddedBase { private String name; getName()... } @Entity public class MyEntity { private Map embeddeds = new

best practice for DB recovery

Hi, I'm trying to come up with the best approach for supporting some kind of hot standby for my master DB. Basically , I have the master DB running with recording and recovery enabled and have a number of applications connecting to it. I realize that I'm able to stand up read only replications

Source not found error after downloading ObjectDB 2.3.7_04

.  Basically the PMF.class is compiled from PMF.java and in the source file I am not able to find

Failing to read entities under load in multithreaded tests

parentAcl; @ Basic private boolean entriesInheriting = true; private long oidId; private String type

Problem undeploying Glassfish3.1.1 web application cleanly

EntityManagers, and somehow basic classes are not found (probably class loading issue). Apparently build 2.3

Broken @ManyToOne reference

Hibernate behavior (which seems to extend basic JPA). However, you would probably need to change

Does JPA have any configuration to create DDL's that are database specific

There some JPA classes who's names more that 30 character. This worked well in MySQL , Derby , PostgreSQL but when it was tried on oracle , we hit the constraint that oracle has of 30 characters.   So basically my question is that is there any JPA have any configuration to create DDL's

Deadlock in objectdb code

during a run? Basic type registration was added now in build 2.5.0_06. To see registered types add

Optimistic lock failed : object has version .. instead of ..

I do basic storage and retrieval of Record class. When I stress the retrieval/storage with Apache JMeter sometimes (at some requests) I get this exception.   [ObjectDB 2.5.0] javax.persistence.OptimisticLockException Optimistic lock failed for object entities.Record#'1405/838/2011/121

@ElementCollection Set is emptied sometimes

, until 1 day ago, when some fields got empty again (but not null). ( basically ...an empty HashSet

In memory processing for ObjectDB

for ObjectDB where recovery is possible, something like prevalyer etc. Basically we want to hit a huge

List of Enum Values in an entity

make a difference for ObjectDB, but to remove this error / warning try: private @ Basic (fetch=FetchType.EAGER) List flags; support Support

Recommendation - concurrent access multiple class v

, then finally all of them get the new version? So... basically ...concurrent access with version x

java.lang.NullPointerException when using ORDER BY

(DefaultButtonModel.java:259)         at javax.swing.plaf. basic

Memory leak

Hi, We have a memory leak in our application which seems to be related with ObjectDB. Basically , we use single instance of EntityManager, which is opened on aplication initialization and closed when the user logs out, as well as EntityManagerFactory. We use em.clear() after every commit

Null enums and IS (NOT) NULL: NullPointerException

.setRowIndex(UIData.java:473) at com.sun.faces.renderkit.html_ basic .TableRenderer.encodeBegin(TableRenderer

Cast exception?

.Thread.run(Thread.java:722) So basically the query fetched the persistent fields and built a Player

query on calendar class

(DefaultButtonModel.java:259) at javax.swing.plaf. basic .BasicButtonListener.mouseReleased(BasicButtonListener.java

@Convert is not supported?

annotation doesent exist) (source http://en.wikibooks.org/wiki/Java_Persistence/ Basic _Attributes

Attempt to open a non existing file '/tmp/objectdb_xxxx/SortQueryItr_6.mrg'

a different one). Basically each application does a sorted query ( qqq = em.createQuery("SELECT

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

Guest with just 2 basic fields and no relationships, which is next to useless as a demonstration

ArrayIndexOutOfBoundsException with enhanced Entity

less that the enum in Embed_A causes issues though its a pretty basic thing: enum Test  { APPLE, PIE

Server out of memory exceptions

) seems to cause the problem. Basically I'm creating 2 server based queues, each with 5 writers and 1

query.getResultList() throws ClassCastException

into the JPAB code, see what it actually tests.  I'm basically comparing ObjectDB JPA

ObjectDB 2.4.0

due to disconnecting a replicated slave server. Fixed NOT NULL handling for basic (non relationship) references

version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later

.setRowIndex(UIData.java:473) at com.sun.faces.renderkit.html_ basic .TableRenderer.encodeBegin

JQL-Update Queries fails with activated L2-Cache

When using JQL-Update Queries it is basically not working without calling entityManager.clear() after a transaction commit. When the clear() method isn't called the entityManager will never return a container the updated Entities. Scenario 1 : Disabled L2 Cache, updating elements using UPDATE