ObjectDB Database Search

51-100 of 200 results

Project runs in Eclipse but not when exported to runnable jar

I have a simple project that performs some stability calculations and displays a scale drawing ... . The project works perfectly well when run from eclipse but nothing opens when I export to a runnable jar ... to object db resolves the issue and the project runs, so I'm fairly sure it is something I've

How to deploy an Objectdb project with Jboss AS 7?

Hi, I cannot deploy Guestbook project to Jboss AS 7. I followed the previous threads concerning ... . Is there an instruction how to deploy objectdb project to Jboss AS 7 step by step?   I used ...   how can I do it right? I'm attaching the project with all the changes. Please help !  

Difference performance in ObjectDB Explorer and in java project

Hello, I am learning ObjectDB and i noticed that the queries that are executed in  ObjectDB Explorer are faster (about 5 ms) than queries in my project (~400 ms). Here is my JPQL ... my project and about 300 ms in explorer Konstantin Konstantin See this manual page regarding the query

Is an objectdb.conf required when providing test case projects here?

I am not sure whether it is mentioned anywhere (it does not seem to be given as an option under http://www.objectdb.com/java/jpa/setting) but it seems that ObjectDB projects run  ... to completely omit the objectdb.conf when providing (links to) mini test projects

Inherited project; missing licence details

Hello, I have taken over a project that uses object db.  I believe that we have a site licence but do not have the details of how to generate keys for servers etc.  Is there anyway that I can get this information forwarded to myself? I would rather not put my work email on a public forum

Analyse opensource project

Hello , it will be good if you analyse open source project :   i heard it new. Maybe it can be helpful for more faster objectdb or jdbc side. kadirbasol Kadir BASOL It is a competing product, which of course, you may use if it works well for you. If you want to discuss it please use

problem with lazy loading - unittest project attached

problem with lazy loading - unittest project attached

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project

ObjectDB Project Management

ObjectDB Project Management

Running JPA Queries

()); } Note: If you only need to print the country names, it is more efficient to use a projection query

Dependency from enhanced classes to the objectDB library

. The test project in this forum thread  may also help.   support Support Hello, we don’t know ... . We have create a “small” example based on our OSGi Bundle structure. The example contains 7 eclipse projects . (We use Eclipse Standard 4.4.1 (Luna) including: RCP development extension) The project “com.btc.ep

EntityManager JPA or JDO impl and different behavior

.Provider Now in our project we use spring to start everything. If I do: System.out.println("EntityManager ... a basic test project , NO spring involved. Same persistance xml in my META-INF, startup using: emf ... . That still doesn't change the fact that in my project the em.find(type, id) doesn't populate

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

the Ant build). - The NetBeans project for the console app uses a post-compile, pre-deployment Ant ... .' What my test app does: - Creates a Project entity with a Model entity child which in turn ... the Project (which under some circumstances gives errors). This forum posting does NOT report

Object explorer cannot open odb file. ObjectDB many-to-many relationship

assignements; } @Entity public class Project {     @Id     private String code;         @OneToMany(mappedBy = " project ") @MapKey    ... .ALL, optional = false)     private Project project ;        

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

Eclipse4 RCP - No Persistence provider for EntityManager

there is no more integrated javax.persistence & javax.transaction. The simplified project structure is the following one : Project X (Plugin Project with a product file to start the application) - product dependencies ... in the plugin project (also tried the src folder itself) but it seems that it don't get found if I

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

the tutorial netbeans and javaee6 dont work,

; ,,,,,,,,,,,,,,,, but the web .xml it is ok. help me please .   i have sent the file of my project .       mauro_objectDB mauro Your project has 2 problems: The servlet is empty - it seems that you missed step 4 . There is an unnecessary web.xml file in WEB-INF . To fix the project you should: Fix

jakarta.persistence.MapKeyEnumerated

Employee { @ManyToMany public Projects getProjects() { ... } @OneToMany @MapKeyEnumerated(STRING) public

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

Database Inconsistency or corruption

markedDeleted = false;   @ManyToOne   private Project project ;   @javax.persistence.OneToMany ... ; String type,       Long revision,       Project project ... ; this.revision = revision;     this. project = project ;    

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

can't get HashMap out of the database

. The full Eclipse project attached FYI. Thanks, Natalia.     natmaclin Natalia Levine Try ... ;   System.out.println(result.get(0).toString()); } The full project attached ... Nested embedded is supported and your new test works with version 2.3.2_05. Your test project

Dirty checking

. 2) Each view is a ' projection ', or 'lens', or 'reactive' view over one or more entity classes. 3 ... on a proposal I made in 2013 in the RactiveJS project ), etc. So, now let's give a simple concrete example ... is an administrator, or a group leader, etc. Now that table is a projection /lens/reactive-query over a subset

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. https://i.imgur ... for WTP and then I import Maven project from disk and this is what I get ... ;( adamrama Adam Ramatowski ... : enhance, phase: process-classes) pom.xml /Guestbook line 91 Maven Project Build Lifecycle Mapping

Path in tomcat

? When I debug the Eclipse web project , I export all things into a .war file. Then I use Tomcat's web deploy tool by the .war file. However, if I put objectdb into the project's /WEB-INF/, I may lost the db ... a tutorial, https://www.objectdb.com/tutorial/jpa/eclipse/web/ project Now, add ObjectDB support

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

Exception while accessing the Persistence unit ...?

over the turorial few times. Here is my persistence.xml and attached please find the eclipse project layout: (Note ... with your complete Eclipse project . support Support Attached please find the eclipse project in a zip file.   Thank you in advance. ceylonsoft Allen T. Arumainayagam This is the actual project

Maven driven compile time ehnancement

-plugin:1.2:java (default) @ project -domain --- [ObjectDB 2.2.2 Enhancer] 4 persistable types ... project . Replace the pom.xml file with the attached file. Run the project from the console - using ... (everything is better retrospectively) that my pom.xml was only targeting my domain classes 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 project node (in the [Package Explorer] window) and selecting New Class . Enter guest as the package name - use exactly that case sensitive package

Getting Started with JPA

versions: In addition the demonstrated application is available as a Maven project :

Step 6: Run the Java EE 6 Application

You can run the application now by right clicking the  GuestServlet node (in the [ Projects ] window), selecting  Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created

Step 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [ Projects ] window), selecting Run File , and then clicking  OK (no need to change the servlet execution URI). Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [New JSP File] dialog box by right clicking 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 name. Click Finish

Step 4: Add a Servlet Class

In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right clicking the guest package node (in the [ Projects ] window) and selecting New Servlet ... Enter GuestServlet as the class name - use exactly that case sensitive class name. The Java

Explorer bug ? Objects seem to be missing from database in Class view, but are present as references

. It is marked knowingly as CRITICAL by me because it makes the ObjectDB system unusable for a real project ... it, which is just as bad. I attach a running project illustrating the problem, as well as screenshots. When the project runs it logs creation of objects. Please note that there are 2 Project objects, and note

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

,"---"); log_info($i,"element",e); log_info($i,"element. project ",e.getProject()); List ownedElements = e ... ,"---"); } INFO: ConfigBean []: testQuery: element([class=TestDeepValues][ project =TEST: project 1][id=45][name=TEST: test deep values]) INFO: ConfigBean []: testQuery: element. project ([class= Project ][id=1

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

[ODB1] Chapter 3 - Persistent Classes

to a project that applies on the fly enhancement: package test; /** Additional main - On the Fly JDO Enhancer

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