About INSERT INTO

forum_thread

Memory Leak?

... use of it. Basically I'm adding 1 million objects into it and then retrieve each of the object one by one. The object is key by ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

List of Enum Values in an entity

Hello, I'm new with ObjectDB and just tried out the example in the Eclipse/Glassfish tutorial (http://www.objectdb.com/tutorial/jpa/eclipse/ee). After testing was successful, I extended the Guest class with an ArrayList of Enums: private ArrayList<GuestFlag> flags; The flags are stored into the database without any problem. In the explorer I can see that it is stored as array of Strings. ... flags ; The flags are stored into the database without any problem. In the explorer I can see that it is ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - select a style in the toolbar and then insert the text in the new created block. Avoid overflow of ...

 
forum_thread

Updating existing persistence entries

I have stored some instances of MyObject via em.persist(myObjectInstance); I can fetch them and bind them to a kind of property editor in my app (it simply calls the setters to reflect gui editing actions). When I try to persist a object later on, I get an error like com.objectdb.o.UserException: Attempt to reuse an existing primary key value which makes sense to me but I'm missing a em.update() method. ... 2.4.4_15 atm). Please can someone point me into the right direction? Thank you! Andreas ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Compile time enhancement using build.xml of a Netbeans web application

Does anybody have a complete, working example of the adaptations required in the build.xml of a Netbeans web application project to specify ObjectDB compile time enhancement, for both single file and whole project compilation ? The ObjectDB 2.3 manual gives the following tip: ... nbproject/build-impl.xml of Netbeans, that is included into build.xml, offers a number of empty targets to override in build.xml, such ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: ... and undeploy your WebApplication. Look into the "domain1\applications" folder on the Glassfish server and find that ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

turn off auto-serialization

Hi    As far as I understand if you have a classe that implements Serializable and is referenced by an Entity it will be automatically stored using standard serialization mechanizm.  Is there any option to turn off that feature so that if an un-enhanced (Serializable) class is referenced an error will be printed ??   Thanks in advance b ... and I'm unable to change for example instance of Class into their names in jdoPreStore() callback Tomasz ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Query vs Extent for retrieving data

I'm running into a problem where data that is retrieved via a Query comes out null, but when I retrieve it using an Extent everything is present. We have a very simple class: public class PositionReportManagerBean implements InstanceCallbacks { private int maxReports; private List<PositionReportBean> reports; } I have a test file with 5 instances of PositionReportManagerBean, each with maxReports set to 10 and 5 PositionReportBeans in reports. I can verify with the ObjectDB explorer that all of the data is there. If I call ... I'm running into a problem where data that is retrieved via a Query comes out null, but ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Query to search for common elements in two separate collections.

I'm trying to work out the most efficient way to build a query that can compare two collections for identical members. Something like: "SELECT o FROM Object o WHERE o.someCollection CONTAINS MEMBER OF :someCollection" Is something like this possible in the JPA spec? ... there was something in the JPA that allowed me to put this into the query ie "select FROM Object o WHERE (Iterate through ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
issue

InternalException when querying indexed field using a list that contains duplicates

ObjectDB is throwing an InternalException in JdoQuery: ... An easy workaround is to copy the list values into a set and then pass that to Query.execute() instead. ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...

 
forum_thread

Eclipse plugin problem (using ObjectDB as a separate bundle)

Hello support, I have seen multiple attempts to correct similar errors as in the title above - the latest in the 2.2.8.01 release of objectDb. However I still get this error.   Here is my scenario (Groovy 1.8 and Eclipse 3.6) used. I have a com.epimss.lab.data.toxicology.TherapeauticDrugScreenRqst. Nested in this class are the following two classes: com.epimss.lab.data.misc.OtherRqst and com.epimss.lab.data.misc.RequestDateAndNumber. ... Attached is a full eclipse e4 product. Unzip and import into your eclise v3.62 workspace. Before attempting to run, download  ... (e.g. for using a browser spell checker). To insert formatted lines (e.g. Java code , stack trace ) - ...