Internal Website Search

1-50 of 86 results

Unexpected output "*** PatternParameterImpl" in the java console

We have an unexpected output "*** PatternParameterImpl" in our java console . Do you know why? Caused by: PrintStream.write(String) line: 603 PrintStream.print(String) line: 745 PrintStream.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z(boolean

JPA Class Enhancer

reflection. Command Line Enhancement ObjectDB Enhancer is a Java console application. It is contained in

Posting Sample Code

/ embeddable classes. Avoid dependency on external libraries . Use a console application with a main

ObjectDB Object Database Features

for Eclipse, NetBeans, IntelliJ and Maven. Getting Started Tutorial  ( console ). Web Application

Database Server

: avoid printing messages to the standard output - console : avoid showing the server tray icon To start

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

system. - I have used both a console test app and a NetBeans web app in Glassfish; the initial report is limited to the console app, as the web app introduces some other factors (especially concerning the Ant build). - The NetBeans project for the console app uses a post-compile, pre-deployment Ant

Glassfish 3.1.2.1 and ObjectDB 2.4.3

, Browser, etc.). In addition, check if there are exceptions in the console or in the server log. support ... Framework 1.9.46 started in: 1ms - bound to [0.0.0.0:7676] INFO: The Admin Console is already installed ... : The Admin Console is already installed, but not yet loaded. INFO: The Admin Console is starting

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

is printed in the console , open ObjectDB Explorer, modify an entity's type from GOOD to BAD, save ... . If you need an immediate solution, please isolate the issue further into a simple minimal console ... almost every issue with a simple console application. If this is not possible, you may create an issue

How to disable use of graphic windows by objectDB

Pereira Try: java -cp objectdb.jar com.objectdb.Server run - console support Support It worked! But now i ... the following in another console window should stop the server: java -cp objectdb.jar com.objectdb.Server stop support Support No it didn't, the process is still running! Here is what i got from my console

JPA Tutorials

The following tutorials demonstrate how to develop database driven applications using JPA and the ObjectDB ODBMS (Object Oriented Database Management System). Console JPA Tutorial The Quick Start tutorial demonstrates how to use ObjectDB and JPA in a console application: Quick Start with JPA

Performance problem

on the production server from JBoss. The test database on the production server from a simple console test program. The production database on the production server from a simple console test program ... . Results from console program reveal some other interesting facts The test database on the production

LAZY @ManyToOne field functions as EAGER

to console a lazy @ManyToOne field after the entity manager closes. There is a switch DO_VIEW ... . console ; import javax.persistence.*; /** * * @author Darren Kelly (Webel IT Australia) */ public class ... the console view of the fields of the entities will be      * called after find

Remove a modified entity cause an optimistic lock exception

. Thanks for writing a minimal Java console test case. However, since it behaves differently ... the object. Committing the changes. The console application is the same but without the flush. Accordingly the following console application includes flush before remove and throws

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console ? wua Andreas Wurm You can set the log element in ObjectDB configuration to write logging also to the console :      When stdout is set to true , all the logging information is written to the console , in addition

Step 4: Run the Application

You can now run the application by right clicking the Main.java file (in the [ Package Explorer ] window) and selecting Run As Java Application . The expected output in the Eclipse [ Console ] window, is: Total Points: 1000 Average X: 499.5 (0,0) (1,1) (2,2) (3,3) : : (998,998) (999,999

Getting Started with JPA - Maven Project

The current directory should be points- console (containing the pom.xml file). No need to download

Getting Started with JPA - NetBeans Project

To open and run the  Quick Start with JPA tutorial project in NetBeans: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in NetBeans: Select File Open Project... . Select the points- console directory and click Open Project . Run

Getting Started with JPA - IntelliJ Project

To open and run the  Quick Start with JPA tutorial project in IntelliJ IDEA: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the project in IntelliJ IDEA: Select File Open Project... . Select the points- console directory and click Open Project

Getting Started with JPA - Eclipse Project

To open and run the Quick Start with JPA tutorial project in Eclipse: Download and extract the project zip file: Getting Started with JPA - Maven Project (3KB) Open the Maven project in Eclipse: Select File Import... Maven Existing Maven Projects and click Next . Select the points- console

Error when trying to open the Explorer (failed to find Java VM)

Have you tried both explorer.exe and explorer-b.exe ? Can you write it from the console : java -jar explorer.jar ... ; On console :  By trying explorer.exe I get the following: [info] Module INI: C:\dbs\objectdb-2.5.3 ... opens as supposed. Both on console and on windows using explorer.jar works as supposed

Duplicate Entity class names causes Exception in Query

Please try to isolate the problem and provide a console test case, similar as possible to the simple ... console test apps! Thanks for your help. BTW the @Unique annotations for non @id attributes makes ...  a console app.    In this particular run no other JPA provider or other PU is being used

Stalling on "run File" in Netbeans when using -javaagent:lib/objectdb.jar

am having problems with a console -based Netbeans Java Application with a nominated Main class ... but not necessary for running simple console application tests), but it is difficult to simply ... it "stalls", I can see startup/welcome output from JRebel in the console window. I can well imagine

500Mb ObjectDb database opening issue

a simple test case that demonstrates the issue, i.e. a console application with your entity classes ... why). Other things to check that may help understanding the cause is opening a database file in a console ... a console application with no activation codes. support Support Call stack without activation codes

How to enable and disable auto schema update?

but it is not working. java -Djava.objectdb.temp.no-schema-upgrade=true -jar objectdb.jar - console ... working java -Dobjectdb.temp.no-schema-upgrade=true -jar objectdb.jar - console Manoj Manoj Kumar ... .no-schema-upgrade=true -jar objectdb.jar - console There should be no difference by ObjectDB - as in

Remove an entity which attributes were changed - OptimisticLockException

console application? support Support In a simple console application the issue is not occurred. I ... to that console test case? It is very difficult to follow an issue in a large test case (2 projects

Mapped (Inverse) LAZY @OneToMany vs. Unmapped LAZY @OneToMany

to console a lazy @OneToMany mapped field after a finding entity manager closes. There is a switch DO_VIEW ... ; package com.greensoft.objectdb.test. console ; import java.util.ArrayList; import java.util.List; import ... .greensoft.objectdb.test. console .TestLazyOneToMany Then ObjectDB follow the hint and the output is: a.listA

Double persist of Entity field with Cascade.ALL

all required projects) Run Book_dberror enterprise app project. On the Netbeans output console ... . Run Book_dberror enterprise app project again. On the Netbeans output console , when prompted

Java 6/7 Performance Comparison

embedded mode based on the console tutorial, there seems to be a bit of a performance gap running ... operations, and no ObjectDB operations are recorded. It would be be better to use a simple console

Database Inconsistency or corruption

For further investigation of this issue please post a minimal console test case that demonstrates it in the format specified on the posting instructions . support Support Hi, providing a minimal console test is not

Maven driven compile time ehnancement

your example to enhance a console application but it seems that applying it on a web application ... project . Replace the pom.xml file with the attached file. Run the project from the console - using

Eclipse/JPA database tutorial

more details: Is it the console tutorial? a web tutorial? When exactly do you get the error message ... , check if there are exceptions in the console or in the server log. support Support Thanks

@OneToMany(fetch = FetchType.LAZY) list is always null

; } } Vladiator Vlad Myachikov Please minimize the test case to a simple console application in this format . support Support All works normally in the console application. Vladiator Vlad Myachikov  I

Eclipse plugin problem (using ObjectDB as a separate bundle)

the console . Please let me know what you think is the problem.   NB. I could not simply create ... ;Investigations. The console includes: !SESSION 2011-07-13 23:37:23.812

JPA example is failing

I am running the server using this command: java -cp objectdb.jar com.objectdb.Server start console output: ObjectDB Server started on port 6136. I am using the example you have given for JPA . I ... .encoding=UTF-8 -classpath /home/svcid/projects/points- console /target/classes:/home/svcid/.m2

Filename.odb$ Persisting Issue

. using a debugger or printing to log o console ). It will not be reached and executed if the application

Possible cause for "Enhancement of type ... is old and cannot be used"

a console test case link this evening): Issue #1924 - ObjectDB-2.6.9: Failed to commit transaction

Trouble viewing db in Explorer.

have debug on, here is a sample of the console :     [2012-06-07 11:08:06 #47186 query

Optimistic locking: prevent version increment on entity collection attribute

oudjanef Farid Oudjane Please try to create a simple console test. Unlike the test in #5 that passes

problem with lazy loading - unittest project attached

Ernst I had some problems in using Maven with the test in Eclipse but it runs well from the console

How to Use a SF with extended Persistence Context?

:03,175 INFO  [org.jboss.as] (MSC service thread 1-11) JBAS015951: Admin console listening

Error with org.springframework.data.jpa.domain.AbstractPersistable

; evil850209 Chris This exception can be reproduced by the following simple console application (i.e

List of Enum Values in an entity

application? The following test tries to reproduce the problem in a console application: import

Connecting to a remote objectdb server

click objectdb.jar ). Run the following client Java console program: public final class T1553

Unable to convert 1.x odb file to 2.x

if you can complete the remaining 1% by your own simple console application that would port any problematic

Memory Leak in EntityManagerFactory ?

even issues like profiling or printing in the console might intefere. Until now the tests are executed from

UPDATE query to set a new field after schema change

a simple console application) that update the objects in a loop within an active transaction

Embedded in JDO metadata not working in objectDB 2.x ?

running the delete query from a small console application. If it doesn't work you may have to set

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

console app for NetBeans8.1 provided, as explained below). To reproduce download the app ... /objectdb/GreensoftObjectdbTestNoweb.2016-08-15.GS4230.tgz com.greensoft.objectdb.test. console .Main ... ) at com.objectdb.jpa.EMImpl.commit(EMImpl.java:290) at com.greensoft.objectdb.test. console .Main

Improve ObjectDB Server

) - Keep it as a console -only app - Put important log info to the console as well - Provide possibility ... ObjectDB as a console application  including on headless servers and JVM with no GUI and Swing

Eager load Map

map is empty so nothing is printed to the console . If you uncomment the 2 lines after the "find