ObjectDB Database Search

51-92 of 92 results

Empty query results after JAR creation

Hi, I struggle with a strange issue. I've embedded ObjectDB in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and executed via "Java ... ;       System.out.println(c1.getCaseId()); In Netbeans , the code

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

problem but also JBoss-Eclipse, JBoss- NetBeans (no support of JBoss 7 in NetBeans yet), etc. ObjectDB

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help ... this tutorial for using GlassFish, ObjectDB and NetBeans . support Support Oh...It actually works

The attribute column name (EXCEPTION) is a reserved SQL-99 keyword.

How do I fix this error/warning that Netbeans gives me? "The attribute column name (EXCEPTION) is a reserved SQL-99 keyword." ThreaT Ashton Hogan This warning indicates mapping to a field in ... warnings? ThreaT Ashton Hogan I am not sure you can escape the NetBeans warning with the hibernate.cfg

How prevent post-compile enhancement of non entity classes

I have recently moved to post-compile enhancement (from automatic run-time enhancement) using an Ant build.xml for a NetBeans web app. My adapted build.xml works for both full project build and per-file compilation (with NetBeans "compile on save" off), but it is not yet perfect at only invoking

JPA - ExceptionInInitializerError when creating EntityManager

.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:766) I am using Netbeans JAVA IDE for my project. I ... ) services on Server. Delete NetBeans configuration's Users directories. Restart Server & Also, My client

Several parallel threads to speed up query on one DB

" are waiting from something (appears in "monitor" in netbeans ). I am not sure ... Step2: run test_ONE_query() - in profiling mode in netbeans - select the Threads view (timeline

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans /JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

Integration

with Spring and Java EE (in Eclipse and NetBeans ) are now available . support Support

@AttributeOverrides , and postgresql + own TYPE

have more schemats let say "public' and "artio". Netbeans generate for me entity class. problem is exactly in

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans , the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program and get a new EntityManager, the instance behaves as if the data that was persisting is somehow gone. I

objectDB for J2me

Hi, can i use objectDB in j2me environment? i succeeded to call a remote DB using "java mobile" via "servlets". how can i do so on ObjectDB? does java mobile (say netBeans ) accept / support objectDB? thanks! saeid saeid sorury J2ME is not supported by ObjectDB 2. ObjectDB 1 had support of J2ME CDC

Jboss 6 persistence.xml startup error

from within NetBeans - version 7.0 beta (or above) is required. A WAR file that contains the Java EE

Error 363 - Failed to read value of inverse relationship

and GlassFish 3.1. I have attached my NetBeans 7.0 project to this email. It is a test project and not the main

type.loader java.lang.ClassNotFoundException

ObjectDB objectdb-2.2.5_03 in client-server mode Netbeans ID6.9.1 JavaEE web project (JPA) Glassfish3.0.1 With server logging turned on I get the following error message for many (or all) encountered classes: [2011-05-31 09:16:24 #5 type.loader] java.lang.ClassNotFoundException: com.greensoft

On ensuring ID available after persist

other than ObjectDB: forums. netbeans .org/topic13007.html Spring forum: Get id of JPA persisted object (forum

Removing an entity throws exception

;  throw new RuntimeException(e);     } My env: Netbeans 7, Java 1.6.24

Failed to generate dynamic type objectdb.java.util.ArrayList

. We are not using any Eclipse Plugins (we run NetBeans in house) and this occurs when running in

Redeployment in GlassFish - Failed to open file

. Wating for your warm reply. I have attached a Netbeans project as an example to this post. WARNING

How to package orm.xml when using EJB in WAR?

; freddieFishCake Jonathan Lister Please check the attached NetBeans project. It is based on the Java EE

Changes in detach behaviour?

haven't tried it with the agent. To make it easy for you to try i created a Netbeans project

WebService : Failed to get reference value of field using enhanced method

the PolicyEntity class with a runnable test and post an Eclipse/ NetBeans /Maven project with detailed running

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans ". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from

Problem undeploying Glassfish3.1.1 web application cleanly

a new Netbeans web application and copy example source and persistence.xml into it and run it ok as

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

I have a Max OSX Lion and am running Netbeans 7.2 with Glassfish 3.1.2. I download the tutorial and run it. The moment I type something in the sign in block and click add, I get the following error trace: (Does anyone know a fix?)   WARNING: EJB5184:A system exception occurred

@ElementCollection Set is emptied sometimes

and how could it be avoided? Thanks (version 2.5.3 & Tomee & NetBeans ) zmirc Mircea Chirac The problem

How to install ObjectDB on my Amazon EC2?

your development environment (e.g. using Eclipse / NetBeans ). When the project is ready you can deploy

ObjectDB CRUD Examples

these manual pages . We do not have specific NetBeans examples in addition to  the tutorials

RT Java application recording into 100DB run OOM after a few hours.

- so it must be using the default somewhere). 2/ Using Netbeans , I profiled the application and I noticed

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

; jdk1.7.0_51 or jdk1.8.0_60      NetBeans 8.1Beta I created a log4j2

Slow performance on Mac

- Source code - Netbeans profiler traces (seems issue in createEntityManager() performance) duskov

Does ObjectDB create one instance of each entity class on (web app) load ?

ObjectDB: 2.7.1_06 [EDIT: Glassfish4.1.1 or Payara payara-4.1.2-174] I have been profiling a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect

client server mod of communication

(Server.java:25) C:\Users\Admin\AppData\Local\ NetBeans \Cache\8.2\executor-snippets\run.xml:53: Java

Auto Date for Creation and Update

.java PS: I'm using Netbeans 11 and with right mouse button on that unittest choosing "Test File" runs

com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date

.25.0). Then, I opened the project in Netbeans 15 and was able to recreate the problem. Thanks

ObjectDB enhancement fails on "is" form for @Transient boolean isLoaded(), ok for "getter" form @Transient boolean getLoaded()

, and on complete clean and build in NetBeans , and also after complete NetBeans cache clear

[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null

) my code (generated by netbeans ) for findEntities() is as follows: public List findChartEntities

ObjectDB 2.3.1

fields in composite PK embedded IDs. Fixed default ObjectDB home path ( $objectdb ) in NetBeans RCP

Page #9 entry 0 (key 'bjjl') has 75 extra bytes / Unexpected last index ID: -119 (expected -116)

NetBeans project. Just run the application once, and check /tmp/bug.odb. I get  MacBook:tmp bjjl

Regression bug in using version 2.4.5 with GlassFish 3.1.2

Can't deploy objectDB ver 2.4.5 or later using GlassFish 3.1.2, NetBeans 7.2.1 Win 7 & 8. ObjectDB Version 2.4.4 is working good. [#|2012-12-18T05:26:53.167-0800|SEVERE|glassfish3.1.2|javax.enterprise.system.core.com.sun.enterprise.v3.server|_ThreadID=44;_ThreadName=Thread-2;|java.lang

Post-compile enhancement sometimes causes error in generic loops: incompatible types found: java.lang.Object: required: Entity

I have moved from automatic run-time enhancement to explicit post-compile enhancement in an Ant build.xml in a NetBeans web app, and sometimes on editing a file that performs a generic for loop over an @entity type I get a generics error. The generic for loop is:  for (Steel s

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'