About manual

171-180 of 200Refresh
Forum
0

find() cost unreasonable time!

"? TIA It means loading the graph eagerly (see Retrieval by Eager Fetch in the manual). the effect
Forum
0

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? You can use the Metamodel API as explained by the JPA Metamodel API page in the manual. Actually, there is a simpler way to get the class names (in one line of code). It requires a JDO' s PersistenceManager
Forum
0

How to creat a Query with Sql which returns a List<Mark> marks

); } commitAndClose(); } You may need a JOIN query as explained and demonstrated in the manual. ggrassi
Forum
0

How to define Default Entity Listeners without persistence.xml and orm.xml

JPA you will need either listeners or callback methods as explained in chapter 3 of the manual
Forum
0

How to open a running db in ObjectDB Explorer?

which configuration file it should use ??? See this manual page regarding the configuration file
Forum
0

how to persist an object twice into two diff. collections of two diff. classes

. See the Updating Entity Objects page in the manual and this forum thread. ggrassi
Forum
0

how to query by properties of onetomany relations? (Error 990)

are provided on the FROM page of the ObjectDB manual. i just woke up after i a short night and remembered
Forum
0

How to resolve 404 errors with Eclipse/Maven Spring MVC

the version were I manually created the files following your tutorial for eclipse, it will create
Forum
0

How to use JOIN FETCH?

The ObjectDB manual (http://www.objectdb.com/java/jpa/query/jpql/from) gives an example of using JOIN FETCH to avoid excessive round trips to the database: SELECT c FROM Country c JOIN FETCH c.capital I've tried a few variants of the following example, and haven't been able to get this to work
Forum
0

IDs of Entities suddenly became UUIDs?

they always have a myId of zero!? We are NOT manipulating the id manually in any way so I don't have a clue