About NetBeans

issue

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section.... Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse ...

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU"); ... I am using Netbeans JAVA IDE for my project. I am very frustrated after lot of tries at my ... server (SQL Server) services on Server. Delete NetBeans configuration's Users directories. Restart Server & Also, ...

 
forum_thread

Several parallel threads to speed up query on one DB

Hi, I have an application: producer (from a DB) to a consumer. The current bottleneck is the producer from DB (based on a query) and I would like to speed it up. I have tried using several entity managers (same DB instance) to benefit from the parallelisation - but it looks like I don't get much benefit from doing that.  ... are waiting from something (appears in "monitor" in netbeans). I am not sure what it is - but my guess it is coming from some ... run test_ONE_query() - in profiling mode in netbeans - select the Threads view (timeline) and the lock contention view. ...

 
forum_thread

Pre-detach loading: retrieval by navigation not working in if statement

objectdb-2.6.3_04 JDK1.7 VM option at runtime: -javaagent:lib/objectdb.jar Experimental mode: objectdb.temp.no-detach NOT USED ... debugger is not the answer (at least, walking through with NetBeans debugger did not help me, as every time you inspect a variable it ... not figured out how to get the compile-on-save feature of NetBeans to "play nice" when using per-file ObjectDB enhancement (as described ...

 
forum_thread

Problem with polish characters

Hello! ... is a problem. (they change on strange sings) I use netbeans and Tomcat server. I've done tutorial from Your site (guestbook using netBeans and Tomcat) My project is based on this tutorial. Do You know any ...

 
release

2.3.2

... Fixed default ObjectDB home path ( $objectdb ) in NetBeans RCP . Fixed a Doctor and Replication regression (Type ...

 
forum_thread

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 -Jar xyz.jar", I get either empty results or on some cases a "NoResultException" which appears to report the same issue. I've created a small test case (attached zip file) with sample DB to reproduce the issue.  ... in a small application to query cases. Within Netbeans everything works fine but when I create a  JAR File and ... getCaseId ( ) ) ; In Netbeans, the code is working but once the Jar File is created and moved to a ...

 
forum_thread

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 the enhancer on entity files. For full project build the following works, by grouping entities under clearly named packages: ... 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 the ...

 
forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: ... 07:06 System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: ... with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: @ WebService ...

 
issue

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

Older objectdb-2.4.0_06, Java6. For the following (note the use of "is" form) in a class Element I encounter ObjectDB enhancement errors: ... enhancement, and on complete clean and build in NetBeans, and also after complete NetBeans cache clear (an no matter whether using compile-on-save or not) I get ...