About main

161-170 of 200Refresh
Forum
1

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

: -javaagent:lib/objectdb.jar where there is a lib folder under the main project folder. This works ... am having problems with a console-based Netbeans Java Application with a nominated Main class to run, and with executing Run File on a selected file with a main method, when -javaagent:lib/objectdb
Forum
1

Subquery error

thread "main" [ObjectDB 2.6.6_04] SELECT p FROM Station p WHERE rid = ( ==> SELECT <==  p FROM ... :728) at Main.main(Main.java:37) Caused by: com.objectdb.o.UserException: Unexpected query token
Forum
1

the tutorial netbeans and javaee6 dont work,

and select Stop. Rebuild the project - Run > Clean And Build Main Project from the main menu. Run the project again - Run > Run Main Project Project from the main menu. tank you . IT work!!!!!!!!!!!!   mauro_objectDB
Forum
1

Tutorial issue

the project in Step 1; Here's the output; Exception in thread "main" [ObjectDB 2.5.4_04] javax.persistence ... ) at com.objectdb.jpa.JpaQuery.getSingleResult(JpaQuery.java:754) at tutorial.Main.main(Main
Issue
1

Unexpected exception (Error 990) - Merge with no Transaction

ErrorTest {     public static void main(String[] args) throws Exception {         HashMapmain" [ObjectDB 2.0.5 ... .ErrorTest.main(ErrorTest.java:30) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun
Forum
1

client server mod of communication

. Using Embedded Mode public class Clent {     public static void main(String[] args) {         try ... ();         }     } }   Exception: run: Exception in thread "main" java.lang.NullPointerException     at com ... )     at test.Server.main(Server.java:25) C:\Users\Admin\AppData\Local\NetBeans\Cache\8.2\executor
Issue
1

new database error

Exception in thread "main" [ObjectDB 2.7.3] Unexpected exception (Error 990)   Generated by Java HotSpot(TM) Client VM 1.8.0_31 (on Windows 8.1 6.3). Please report this error on http://www.objectdb ... .Main.main(Main.java:30) Caused by: java.io.InvalidClassException: com.objectdb.o.HMP$f; local class
Forum
1

"where in" query

is currently not supported and will be implemented with subqueries (since its main use is in subqueries ... {     public static void main(String[] args)     {         EntityManagerFactory emf ... java.util.*; import javax.persistence.*; public final class T351 {     public static void main
Forum
1

Calendar in Criteria Querys

final class T615 {     public static void main(String[] args) {         EntityManagerFactory emf ... your example I get the folling error: Exception in thread "main" [ObjectDB 2.3.4] Unexpected exception ... .getResultList(JpaQuery.java:666) at TestCase.main(TestCase.java:35) You are right. The parameter
Forum
1

ClassCastException of same object type

and retrieving objects ok in the main project. However, when I make a plugin for the project, the new ... . Tranferring the classes relating to objectdb from the supplementary plugin to the main plugin plus ... plugins depending on who uses the application. So the classes cannot be in the main plugin