Home » Search

About console

21-30 of 76Refresh
Forum
3

Remove a modified entity cause an optimistic lock exception

Java console test case. However, since it behaves differently and you may need the OSGi example in ... FlushModeType.AUTO?) Removing 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
Forum
3

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console? You can set the log element in ObjectDB configuration to write logging also to the console:     
Forum
2

Duplicate Entity class names causes Exception in Query

are renamed e.g. Point -> ODBPoint and ELPoint Please try to isolate the problem and provide a console ... see that you only want console test apps! Thanks for your help. BTW the @Unique annotations for non ... .persistence.NoResultException ex) {    return -1;   } } I will attempt to reproduce this in  a console app
Forum
2

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

and explorer-b.exe? Can you write it from the console: > java -jar explorer.jar On windows: both explorer.exe and explorer-b.exe cause the same error.   On console:  By trying explorer.exe I ... -jar explorer.jar the explorer opens as supposed. Both on console and on windows using explorer.jar
Issue
2

Improve ObjectDB Server

) - Keep it as a console-only app - Put important log info to the console as well - Provide possibility to not only create new databases but remove existing ones as well You can use ObjectDB as a console
Forum
2

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 ... .greensoft.objectdb.test.console; import java.util.ArrayList; import java.util.List; import ... , you run this test case by: java -javaagent:objectdb.jar com.greensoft.objectdb.test.console
Forum
2

Remove an entity which attributes were changed - OptimisticLockException

console application? In a simple console application the issue is not occurred. I created an OSGi example ... example, as in #12 above? Maybe by applying a small change to that console test case
Forum
2

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 to run ... but not necessary for running simple console application tests), but it is difficult to simply switch ... ", I can see startup/welcome output from JRebel in the console window. I can well imagine
Forum
2

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

; } } Please minimize the test case to a simple console application in this format. All works normally in the console
Forum
2

Adding EntityListener Throws Unexpected Internal Exception

            ...         }     } Can you reproduce the exception in a console application? If you try the code above on your listener class in a console application, probably no exception will be thrown