Home » Search

About FROM

81-90 of 200 Refresh
Forum
13

How to Remove records from many to many relationship tables in JPA

need to use this to delete the records from Conclusion and TransportationEvent. Thanks in advance! Please post the exception full stack trace. lakshmi
Forum
13

Index on values from a Map

Hi, is there a way to put an Index on the values from an Map? For example, if I have a Map like this: private Map mmsContainer and I want to access it fast in following way: Collection values = mmsContainer.values();   Thanks for you help   Indexes are used
Forum
13

Is there a way to extract the schema from an existing Database?

Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. EKK
Forum
13

JDO sequences from ORM file

this working, by a combination of moving the sequence from ORM to JDO file, specifying the factory
Issue
13

Null pointer exception being thrown from within ObjectDB.

r = q. from(ReportDownloadObject.class);     q.select(r
Forum
13

Puzzler: Not getting cascades on read from Spring context

I've determined that the database is correctly initialized, looking at it from the Object Explorer, I can run the code that loads the database in a Junit test and it's initializing the children objects correctly, but in the application running in Jetty with Spring, fetching is not cascading
Forum
13

Query debugging configuration from class

Is there a way to show what queries are actually being executed from within a Java class? I'm getting the exception: Exception in thread "main" [ObjectDB 2.5.4_05] javax.persistence.NonUniqueResultException However, I'm unable to debug it because I don't know what the query's actually searching
Issue
13

Remove of an entry from a @OneToMany collection is not possible if the enhancer is disabled

Hello! When the JPA entities are not enhanced the removal of an entry from a @OneToMany collection is not possible. The following java code demonstrates the problem. The statement parentEntity.getChildEntityContainer().remove("01"); does not work correctly with not enhanced JPA entities
Forum
13

Undeploying Glassfish web application does not disconnect from ObjectDB

? Apparently undeploying a web application from GlassFish doesn't close the EntityManagerFactory
Forum
13

2.5.7_03 missing from Maven repository

2.5.7_03 missing from Maven repository