About web

forum_thread

Problem on JPA Merge Entity.

Hello, I have a problem with the EntityManager.merge() function. I set a property value of an entity (statement) with an other entity (newSingleConstraint). newSingleValue is already persisted. I do this myself (no use of cascade because sometimes the newSingleValue is already in database).   The statement update don't throw exception. And when i try to reload statement the value i have set before is a null value. I check with the Explorer, the statement has a null value on the property and the newSingleValue is present....   The little sample is based on a web page ( http://localhost:8080/ERGO_ObjectDB/) On this web page we can found 4 links. /testCreate /testUpdate ...

 
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. ... application server do you use? Can you upload the entire web application? The following test tries to reproduce the problem in a ... We could reproduce the issue in the GuestBook web application. The problem is that by default, collections are loaded ...

 
forum_thread

Database is locked when in use

I am oberving that when i reading anything from odbfiles, i am not allowed to copy and paste the odb files in the file system but the same i was able to do it in object db 1.0. We supprt export functionality and if i am not allowed to copy it in objectdb 2.x, then its a problem for us :-( Do you have any settings or other way to handle this? ... for the reply. I went through the online backup web page, it is mentioned for EntityManager. How do i achieve the same for ...

 
forum_thread

Managing software release cycles.

How do you manage software release cycles with objectDB? For example we might have different installation of a given web application, and we might need to introduce new fields with default values or to change something in the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any command line tools like sqlPlus to connect to a DB and execute queries / scripts? ... example we might have different installation of a given web application, and we might need to introduce new fields with default values ...

 
forum_thread

the tutorial netbeans and javaee6 dont work,

hi . i am Mauro . i have tried the tutorial for the objectDB and netbeans and JAvaee6 I have insert the persistencex.ml like tutorial (for the embedded mode) . but when i have insert the name into form for to save the new guest into db , i get the following message from glassfsih:   HTTP Status 404 - -------------------------------------------------------------------------------- type Status report message ...   ,,,,,,,,,,,,,,,, but the web .xml it is ok. help me please .   i have sent ... missed step 4 . There is an unnecessary web.xml file in WEB-INF . To fix the project you should: ...

 
issue

Add Type level permissions to ObjectDB Server

It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to entities and entity variables for client connections. This would be beneficial when providing specific raw data where additional business logic is not required. I suppose you could create transient entities for data that does require additional business logic though. ... It would be useful if instead of creating a web service layer on top of a database, I could just set up permissions to ...

 
manual

JPA / JDO Class Enhancer

The Enhancer is a post compilation tool that improves performance by modifying the byte code of compiled classes after compilation.... the build process. To use load time enhancement in web applications the web server or application server has to be run with the Java agent JVM ...

 
forum_thread

Master database switching to read-only mode, possibly caused by slave failure

We had a database failure causing a production outage. Both master and slave databases have failed, slave became unresponsive and the master switched to read-only mode. By the look of it the slave database failed first and possibly caused the master to switch to read-only mode. The sequence of events was: ... failure but a failure to access the master from the client web application (e.g. due to a networking issue). ... > a failure to access the master from the client web application (e.g. due to a networking issue). Any networking issue ...

 
forum_thread

Glassfish 3.1.2.1 and ObjectDB 2.4.3

Hello, I tried to get the Guestbook tutorial run with Glassfish (see above) but it's not working. When I try to add a guest I got a HTTP Status 404 Wich versions of ObjectDB should I use? Thanks ... Virtual server [ server ] loaded default web module [ ] INFO : Hibernate Validator 4.2.0. Final ... WEB0172: Virtual server [server] loaded default web module [] INFO: HV000001: Hibernate Validator 4.3.0.Final INFO: ...

 
issue

ObjectDB can't be activated

Hello, we are trying to activate objectdb on a virutalized debian 7 server, but do not have any success. Steps we made to activate the server: ... of the database. Would it help if we set up a web-session with access to the server? ... Hopefully we can solve it with no web session. Please try build 2.5.5_08.   ...