ObjectDB Database Search
1-50 of 107 resultsStep 1: Create a Maven Web Project We start by creating a new Maven-WTP dynamic web project in Eclipse: Open the [New Project ] dialog box, e.g. by using File New Project ... Select Maven Maven Project and click Next . Verify that the Create a simple project checkbox is disabled and click Next . Enter  | |
Step 1: Create a Maven Web Project We start by creating a new Maven web project in NetBeans: Open the [New Project ] dialog box, e.g. by using File New Project ... Select Maven Maven Web Application and click Next . Choose a Project ... the project . The configuration of the new created project is contained in a pom.xml file that was created | |
Step 1: Create a Java EE 6 Web Project We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project ] dialog box, e.g. by using File New Project ... Select Web Dynamic Web Project and click Next . Choose a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 (Java EE 6) as the Target | |
JPA Web App Tutorial - NetBeans Project To open and run the JPA Web Application tutorial project in NetBeans: Download and extract the project zip file: JPA Web App - Maven Project (6KB) Open the Maven project in NetBeans: Select File Open Project ... . Select the guestbook-web directory and click Open | |
Step 1: Create a Java Project We start by creating a new NetBeans Project : Open the [New Project ] dialog box, e.g. by using File New Project ... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ... the project . To add ObjectDB/JPA support for the project : Right click the Libraries folder in the [ Projects | |
Spring MVC JPA Tutorial - IntelliJ Project To open and run the Spring MVC JPA tutorial project in Download and extract the project zip file: Spring MVC JPA - Maven Project (8KB) Open the project in IntelliJ IDEA: Select File Open Project ... . Select the guestbook-spring directory and click OK . Define | |
JPA Web App Tutorial - Maven Project, you may download and run the result application as a Maven project : JPA Web App - Maven Project (6KB ... /Guestbook/ You may also open and run the Maven project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support. | |
Java EE JPA Tutorial - Maven Project;if you prefer, you may download and run the result application as a Maven project : Java EE JPA Web App - Maven Project (7KB) If Maven is installed - extract the zip and run the application from ... project in your IDE: NetBeans IDE and IntelliJ IDEA have built in Maven support. | |
problem with lazy loading - unittest project attachedproblem with lazy loading - unittest project attached | |
Guessbook tutorial: Java EE 6 JPA Tutorial - Maven ProjectGuessbook tutorial: Java EE 6 JPA Tutorial - Maven Project | |
ObjectDB Project ManagementObjectDB Project Management | |
SELECT clause (JPQL / Criteria API). Projection of path expressions JPQL queries can also return results that are not entities. For example ... projection . Projection extracts field values from entities to form the query results. The results ... a query that uses projection when a result path expression resolves to an entity. For example | |
Index Definition. ObjectDB also uses indexes for sorting results and for projection : SELECT MIN(p.x) FROM Point p WHERE p.x | |
Step 2: Entity Class and Persistence Unit the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... objects in the database was created in the project (under Java Resources: src guest). Use copy ... a META-INF/persistence.xml file: Open the [New Folder] dialog box, e.g. by right clicking the project | |
Step 7: Run the Spring Web App At this stage your project should have the following structure: Use copy and paste to replace ... ;you can run the application now by right clicking the project node (in the [ Project Explorer] window ... Maven Jetty plugin: Right click the project node and select Run As Maven Build... Enter  | |
Problem with distinct select, order by and equivalent alias/attribute path when ordering the results of some projection when the order by expression is different (though logically equivalent) to the projection expression. Here is the example: @Entity public class Location ... _location ORDER BY s_location.id ASC As you wrote correctly replacing the projection form s.location | |
Modifying something with Explorer -> app JPQL with Enum doesn't work anymore attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities ... the change, close ObjectDB's connection, and run the project again. Important : do all that until a new | |
javax.persistence.PersistenceException Hi I am trying to get a basic EclipseRCP project working with Objectdb. At the very first line in ... as a dependency to the project . Not sure what else I should do. Any help would be appreciated ... . Could you please upload your sample project / projects ? support Support You may also look at: http://sourceforge.net | |
How to package orm.xml when using EJB in WAR? Hi, I have database utility classes in one project , the id's use sequences declared in an orm.xml ... and Maven correctly copies META-INF and all contents into the root of jar file when the (EJB) project ... ). However, when a different web project (WAR file), which declares a dependency to the database EJB is built | |
ClassCastException of same object type I have ObjectDB partially working with my project . At the moment it seems to be saving objects and retrieving objects ok in the main project . However, when I make a plugin for the project , the new ... further information. I am using ObjectDB 2.2.8 and Java 1.6. I am making an EclipseRCP project | |
Double persist of Entity field with Cascade.ALL project as one zip file + exact instructions how to run it. support Support Attached is the complete Netbeans project with the error case. It contains 1. App client ( Book_dberror_client ), 2 ... the attachments to the same location, Open Book_dberror project in Netbeans (this should also open | |
How to resolve 404 errors with Eclipse/Maven Spring MVC I have created a project as guided by www.objectdb.com/tutorial/jpa/eclipse/spring/run. When I ... ; Eclipse Juno (eclipse-jee-juno-SR1-win32-x86_64), maven 3 and Tomcat 6 to create a new maven project ... other method) is optional, but improves performance. You may post your tutorial based Eclipse project | |
jakarta.persistence.MapKeyEnumerated Employee { @ManyToMany public Projects getProjects() { ... } @OneToMany @MapKeyEnumerated(STRING) public | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Right click on the project in the [Package Explorer] window and select New Class . Enter tutorial as the package ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project | |
Possible cause for "Enhancement of type ... is old and cannot be used" have been getting the error 'Enhancement of type ... is old and cannot be used' across a number of projects (both large web app project and dedicated ObjectDB test projects ) since trying objectdb-2.6.6_07 ... with objectdb-2.6.3_04 (from around Jun 2015) on any of these projects . In all cases I | |
mapping file is not being loaded with the Persistence api: EntityManagerFactory emf = Persistence.createEntitManagerFactory(" project .odb"); //this set ... this project for a few months, I have been able to (finally) return and attempt to address this issue ... ; project .odb to project , to see if the persistence unit is found. The special odb suffix | |
Missing (null) elements in eager loaded references/more information. Kevin Kevin Pfaff Okay, I created a little test project which reproduces the error ... a one file format (i.e. not a large Gradle project ). This project has 21 Java files. Clearly reducing the project will require some extra work from you, sorry about that, but unfortunately | |
What are the steps of creating small web app?, Glassfish. ------------- - Now I am starting the project , and I designed the database model, and I am ready but I am not sure if there is anything I am missing Do I really need maven for this project , Do I really need Hibernate for this project , Do I really need Spring MVC for this project . - What is best | |
Mismatch client-server protocol prefix; } This code worked for a couple of years now and is used in multiple projects . mosi0815 ... of this project with other projects . I think I found the solution. Now the error isn't happening anymore. I ... is the @EnableSpringConfigured annotation. It just doesn't makes sense. In this project we aren't using AspectJ enhanced | |
zip file or JAR manifest missing I found the message: Error opening zip file or JAR manifest missing: /E:/ projects /ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. Exception in ... more Error opening zip file or JAR manifest missing: /E:/ projects /ObjectDB/bin/objectdb.jar | |
ObjectDB within a resource adapter module and Java EE Connector Architecture associated with it ? Example: JPA-style: 2 separate end- project web apps leverage the same EJBs, which in ... for which per-end- project database file to use. webel Dr Darren Kelly You can specify a persistence unit name ... (1st specific web app project , uses shared CoreWeb, CoreEJB etc.) SpecWeb2 (2nd specific web app | |
objectdb (licensed) + github action error a Database (maven projects ). The projects run and test fine in local. The projects have more that 10 classes and you provided keys previously. The problem is on the cloud. The project are located in github ... more stuffs every new upgrade (sonarcloud, jira. updates.), . The problem is that when the project is run | |
Tutorial issue Ok, so I'm stuck on the Eclipse tutorial. I have a number of other projects running in Eclipse right now, so I created the new project as specified in Step 1 The only thing I did differently was in ... the project in Step 1; Here's the output; Exception in thread "main" [ObjectDB 2.5.4_04] javax.persistence | |
Duplicate Entity class names causes Exception in Query projects JFK John Francis Every entity class should have its own name - using the same entity name ... . The fix is based on the stack trace rather than on the test case since running the test project ... and then load the projects . I have further problems of this nature. I am trying to load the same classes into | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1 and Person works well, because inherit from the same super class. Please check if rebuilding the project ... , which should guarantee that the project is fully enhanced when deployed. support Support I rebuilt the project ... if you do not run the Enhancer at all? support Support Thank you very much for your help, the project | |
Changes in detach behaviour? haven't tried it with the agent. To make it easy for you to try i created a Netbeans project with a customized build.xml to enhance the classes. If you run the project you'll see the output "null ... to much. mosi0815 Ralph Moser Thank you for this report and for the test project (small comment | |
Step 5: Add a JSP Page In this step we will add the JSP that generates the guestbook HTML output: Open the [New JSP File] dialog box by right clicking the WEB-INF node under the Web Pages node (in the [ Projects ] window) and selecting New JSP ... Enter guest as the jsp file name - use exactly that case sensitive class | |
Eclipse/JPA Spring MVC Web Tutorial slightly different but the code would be the same). The tutorial is based on using a Maven project | |
Step 4: Run the Application You can run the application now by right clicking the Main node (in the [ Projects ] window) and selecting Run File . The expected output in the [Output] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999) When you run the application for the first time | |
Spring MVC and JPA Tutorial an ObjectDB database. This tutorial is available in the following versions: In addition, the demonstrated application is available as a Maven project : | |
Step 2: Define a JPA Entity Class To store objects in an ObjectDB database using JPA we need to define an entity class: Open the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [ Projects ] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive | |
Step 6: Set the Spring XML servlet in web.xml ). To generate that file: Right click the WEB-INF node in the [ Projects ] window | |
Problem on JPA Merge Entity.; This a little webapp (using Spring/Spring MVC, ObjectDb, JPA) project under Eclipse. I upload the project archive. The little sample is based on a web page ( http://localhost:8080/ERGO_ObjectDB ... and that the project was rebuilt and then redeployed with the new objectdb.jar. Which server do you use | |
Replaying recorded requests... the root directory of my web project and now it is being read. So, I think for now I can live with it in 2 locations: project root for development, and WEB-INF/objectdb.conf for deployment. The question ... should be fine. support Support I agree that duplication is bad, however, I've got an odd project layout that I have to work with. dmoshal David Moshal | |
Exception on creation when running multithreaded and don't query before creation everything is happpy. I'll try to create a test project ... Well, I tried to create a test project to reproduce the error but couldn't. In the meantime, I've ... reproduce it on my test project yet which is a lot less complex than the one I'm testing on but in | |
com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date. https://www.developer.com/database/using-objectdb-in-java- projects / the mainifest-info.java ... of objectdb is 2.8.7. ObjectDB is the only referenced library. I ran the project in eclipse version 2022-09 (4.25.0). Then, I opened the project in Netbeans 15 and was able to recreate the problem. Thanks | |
After using the enhancer, Lazy loaded collections are no longer loading. They are set as null, CascadeType.PERSIST}, mappedBy="account", fetch = FetchType.LAZY) @JoinColumn(name = " project _id", unique=true, nullable=false, updatable=false) protected List projects = new ArrayList (); public List getProjects() { return projects ; } public void setProjects(List projects ) { this. projects = projects | |
Why does ObjectDB duplicate classes from javax.jdo:jdo-api? a specific database. In a project that uses said library, I'm using ObjectDB because it is fast ... packages and classes that clash with the JDO API's JAR? If a project uses JPA and JDO, it is most likely to avoid coupling it to a specific database. By adding ObjectDB as a database and ORM in a project | |
NullPointer when accessing persistent field before test runs. Thanks again. JFK John Francis The Maven project that causes this exception ... get this bug. The uploaded zip contains a maven project ( its also an Eclipse project | |
I can't get cascading delete to work in JDO I enclose a Netbeans project which demonstrates the problem. Cascading persist works ... . Your NetBeans project was converted to a minimal test case in the required format (please use this format rather than NetBeans projects for future report): import java.util.*; import javax.jdo.*; import javax.jdo |