About NetBeans

forum_thread

Problems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App

I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I got: C:\...\NetBeansProjects\JavaWebAppODB\nbproject\build-impl.xml:686: The module has not been deployed. BUILD FAILED (total time: 0 seconds) Can any body please help me with this error? It seems I've done everything correctly, but I still don´t know how to solve the problem, cheers, and thank you in advance,   Alan #1 2011-04-22 20:05 I made all the tutorial about the GuestBook but at the end, though it build correctly, when trying to run it, I g ...

 
forum_thread

Double persist of Entity field with Cascade.ALL

I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class with entity field Chapter which has a CascadeType.ALL property. The Book fields are as follows: @Id @GeneratedValue(strategy = GenerationType.AUTO) private Long id; private String bookTitle; @OneToMany(cascade= CascadeType.ALL, fetch= FetchType.EAGER) private List<Chapter> chapters; The Chapter fields are as follows: ... I am building a JavaEE application using Netbeans 7.0.1, Glassfish 3.1 and ObjectDB 2.3.3. I have a Book class ... - at lease submit a complete runnable Eclipse / NetBeans project as one zip file + exact instructions how to run it. ...

 
forum_thread

Internal exception when updating date filed (TemporalType.DATE)

Hello! ObjectDB version 2.5.3_02. I get internal exception when commiting update Date field (javax.persistence.TemporalType.DATE). ... Alexander. example project (Netbeans 7.4, Java: 1.7.0_11) edit ...

 
forum_thread

On ensuring ID available after persist

This reports on a possible solution to a common problem: I was trialling ObjectDB on an existing, functioning, large JavaEE/JPA web application, which until now had used EclipseLink+MySQL and then Oracle+MySQL. On trying it out on ObjectDB I hit a problem with my very extensive entity wiring code, which relies on an "external" entity object having a non-null id after it has been passed to EntityManager.persist, thus: ... problem with JPA handlers other than ObjectDB: Netbeans forum: getId() of object just persisted? Spring forum: Get ...

 
forum_thread

Speed of queries that return many objects

Hi, I have a DB of 146MB - with 1_000_000 elements. Loading the contents (objectDB query in java) takes about 10sec. I am using a recent MacBook (SSD blabla - disk I/O speed is about 400MB/sec - according to blackMagicTest app for mac) - so I was expecting the query to take less than one sec (146/400 = 0.35sec.. + some overhead). I was wondering if this kind of speed is "normal", or if this is something I should investigate. Thanks EKK ...     Netbeans Profiling of ObjectDB query in java IdentityHashCode call ...

 
forum_thread

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

objectdb-2.2.5_03 Netbeans IDE6.9.1 java version "1.6.0_24": as user running Netbeans java version "1.5.0_28": as su running maven mvn Maven version: 2.0.8 Firstly, I followed the instructions to build the points example from Maven, but on opening it in Netbeans 6.9.1 I got an error in Points.java and other files: Annotations not supported in -source1.3 (use -source 5 or higher ..) Generics not supported in -source1.3 (use -source 5 or higher ..) ... objectdb-2.2.5_03 Netbeans IDE6.9.1 java version "1.6.0_24": as user running Netbeans java version "1.5.0_28": as su running maven mvn Maven ...

 
tutorial

JPA Web App Tutorial - Maven Project

The JPA Web Application tutorial for Tomcat / Jetty as a Maven project (download & run).... (for Tomcat / Jetty) in  Eclipse or  NetBeans . Building a new application step by step is an ... Tutorial - Eclipse Project JPA Web App Tutorial - NetBeans Project JPA Web App Tutorial - IntelliJ Project NetBeans IDE and IntelliJ IDEA have built in Maven support. ...

 
tutorial

Java EE 6 JPA Tutorial - Maven Project

The Java EE 6 JPA Web Application tutorial for GlassFish as a Maven project (download & run).... (for GlassFish 3/ JBoss 6) in  Eclipse or  NetBeans . Building a new application step by step is an effective way to ... - Eclipse Project Java EE 6 JPA Tutorial - NetBeans Project Java EE 6 JPA Tutorial - IntelliJ Project ...

 
tutorial

Spring MVC JPA Tutorial - Maven Project

The Spring MVC JPA tutorial for Tomcat / Jetty as a Maven project (download & run).... MVC database driven web application in  Eclipse or  NetBeans . Building a new application step by step is an effective way to ... - Eclipse Project Spring MVC JPA Tutorial - NetBeans Project Spring MVC JPA Tutorial - IntelliJ Project ...

 
tutorial

Getting Started with JPA - Maven Project

The Getting Started with JPA tutorial as a Maven project (download & run).... simple JPA database driven application in Eclipse or NetBeans . Building a new application step by step is an effective way to ... JPA - Eclipse Project Getting Started with JPA - NetBeans Project Getting Started with JPA - IntelliJ Project ...