Internal Website 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

Free ObjecDB license for Open Source project

I'm just starting to work on small Open Source project . Currently I'm selecting suitable ... of less restrictive ObjectDB license for Open Source project .  Thank you for your answer.   ... hope for a helpful answer. zmirc Mircea Chirac If the project is not commercial you may apply

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

Deploying a BIRT Project using ObjectDB onto Tomcat

-BIRT driver. If you still have a problem you may submit a sample web project that demonstrates it. support Support

Issue deploying EJB project to Jboss/Glassfish

I have been trying to deploy an EJB project created in Eclipse/Juno to both JBOSS and Glassfish.  The error I get with Glassfish is cannot Deploy HappyThought Deployment Error for module: HappyThought: Error occurred during deployment: Exception while preparing the app : java.lang

The project does not contain a persistence unit

.xml file to your project , in order to remove this NetBeans warning. support Support The warning

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

What's next?

/JPA projects simply by modifying this sample program. Reading the Next Chapters

Running JPA Queries

, a query using projection and retrieving country names directly instead of retrieving the entire

Posting Sample Code

protected constructor, An entity class must be a top level class, The project does not contain

objectdb:2.8.4 - Error occurred during initialization of boot layer

:/ Projects /Anritsu/Perforce/ws_alexander.golyshkin_ALL/DEV/RTD_7_6_0_JAVA_UPDATE_JDK9/JavaApps ... .jar;D:\ Projects \Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA_UPDATE_JDK9\JavaApps\out\test\RTDEngine;D:\ Projects \Anritsu\Perforce\ws_alexander.golyshkin_ALL\DEV\RTD_7_6_0_JAVA

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

Lazy loading does not work - crud takes long

and they have between 20-40 Columns. It takes over 50s to load all Project Enities that contains the OneToMany ... .Enhancer.enhance("com.**. Project ,com.**.Datapoint,com.**.Advalm);         long t0 = System.currentTimeMillis();         projects

Eclipse plugin problem (using ObjectDB as a separate bundle)

.main(Main.java:1384) In an attempt to isoloate the problem I cleaned by project , and enhanced ... Project "   3. In the window that appears, click the "Investigations" Menu ... Project . 8. Type _com.epimss.lab as the project's name and src-java and bin-java as the source folder

Java EE Web Tutorial

database. This tutorial is available in the following versions: In addition the demonstrated application is available as a Maven project :

Step 3: Define a Spring DAO Component

Operations on the database will be performed by an instance of a Data Access Object (DAO) that we will define in this step as a Spring MVC component: Open the [New Java Class] dialog box by right clicking the guest package node (in the [ Projects ] window under Source Packages) and selecting New

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 6: Run the Web Application

You can run the application now by right clicking the GuestServlet node (in the [ Project Explorer] window) and selecting Run As Run on Server Finish : Since we are using ObjectDB in embedded mode - the database file is created under the Tomcat directory. You can stop the Tomcat server and open

NetBeans/JPA Spring MVC Web Tutorial

a Maven project . Therefore, required JAR files (ObjectDB, Spring Framework) will be downloaded

Step 3: Add a Main Class

In this step we will add a main class to the project to store and retrieve Point objects from the database: Right click the tutorial package in the [Package Explorer] window and select New Class . The package name should be tutorial . Enter Main as the class name (case sensitive). Click Finish

Step 3: Add a Main Class

In this step we will add code to the Main class (that was generated with the project ) in order to store Point objects in the database and then retrieve them from the database. Use copy and paste to replace the content of the Main class with the following content: package tutorial; import javax

Step 4: Add a Controller Class

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

JPA Web Application Tutorial

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 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

is available in the following 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

Step 3: Add a Context Listener Class

File] dialog box by right clicking the guest package node (in the [ Projects ] window) and selecting New

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

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

.2016-09-29-B.tgz To reproduce the problem described below, simply download the test project , open ... for objectdb-2.6.9_01. In the test case, only a single Project entity is used, and 2 project ... that triggers the building of 2 separate - usually large and complex - Projects , via the @Stateful

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

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

.Permissions com.greensoft.objectdb.test.entity. Project com.greensoft.objectdb.test.entity.Source com ... ().outHeader2("Create Project and Element model ..."); Project project = new Project (null, " project "); //NB: Project has no project and no owner Element model = new Element( project , project , "model");//NB

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

javax.persistence.MapKeyEnumerated

{JUNIOR, SENIOR, MANAGER, EXECUTIVE} @Entity public class Employee { @ManyToMany public Projects

[ODB1] Chapter 3 - Persistent Classes

Java IDE (and also from the command line) is to add a new simple main class to a project

Query.setResult(data) - JDO Method

( projections ) and aggregate function results. Parameters: data - a comma-delimited list of expressions

javax.jdo.Query

expressions, including field values ( projections ) and aggregate function results. Parameters: data