About web

issue

Doctor bug?

Please see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database yet. But still the doctor reports a whole bunch of errors. My application seems to function properly though. I guess this is a bug in the doctor? Using version 2.4.1. I get  ... see the attached .odb file. It was freshly created by my web application, and just very few entries have been posted to the database ... /opt/gf/glassfish/domains/domain1/applications/athene/WEB-INF/lib/objectdb-2.4.1.jar com.objectdb.Doctor ...

 
forum_thread

Problem upgrading

Hello! We are trying to upgrade from 2.6.3 to 2.6.6. Now our application throws an exception. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild of the project. It's using the right version of the enhancer. There are no code errors. If I change everything back to 2.6.3 it starts to work again. Any ideas? Best Regards   Here's a part of the output: ... to turn up Xmx to even see it before the JVM crashes. (Our web framework tried to show the exception on the client) I did a full rebuild ... org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring-web-4.2.3.RELEASE.jar:4.2.3.RELEASE] at ...

 
forum_thread

Modifier operations

Hi, Today I was reading about different NoSQL databases. One of those database - MongoDB - has a very nice feature, especially for web applications - modifier operations. The whole trick for those operations is to change some value in object without pulling this object from database. So for example we have class: public class WebVisit { public String url; // key public int visitsCount; } As for now I have to pull this class from database: ... - MongoDB - has a very nice feature, especially for web applications - modifier operations. The whole trick for those ...

 
tutorial

Step 4: Add a Servlet Class

Explains how to define an EJB session bean in a NetBeans Java EE 6 web application.... In this step we will add a servlet to manage guestbook web requests: Open the [New Servlet] dialog box by right ...

 
forum_thread

Embedded Database Replication

As we all know, embedded databases out perform server databases on every occasion. The problem with embedded databases is that theyre difficult to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded objectdb I would run into problems trying to cluster the data. Is there a way to cluster embedded objectdb? Perhaps some kind of external replicator application that can be used by server administrators to ensure replication is optimal and healthy?... to scale. If I were to create an entire enterprise web application within a single jar file using embedded tomcat and embedded ...

 
forum_thread

Again about $temp from objectdb.conf

I am using the 2.4.5 distribution and I'd like to set up $temp to another folder than the system uses. In my web application I use a servlet to configure some values: public void init(ServletConfig config) throws ServletException {   super.init(config);   System.setProperty("objectdb.home",config.getInitParameter("OBJECT_DB_HOME")); // sets $objectdb   System.setProperty("objectdb.conf", config.getInitParameter("OBJECT_DB_CONFIG")); } ... set up $temp to another folder than the system uses. In my web application I use a servlet to configure some values: public ...

 
forum_thread

ObjectDB as JDBC resource or custom realm

Hi everyone, I want to implement HTTP Basic Authentication for my web services, but I also want to use ObjectDB to store credentials. Therefore I'm in the need of a custom realm for GlassFish 3.1. My guess is somebody already did this before, so if yes please raise your hands. Otherwise please help me with the implementation and please share your thoughts on the matter. Thanks in advance, Daniel ... I want to implement HTTP Basic Authentication for my web services, but I also want to use ObjectDB to store credentials. Therefore ...

 
forum_thread

Newbie : How to return the auto-generated ID

Hello, I am new to this community, as well as JPA and ObjectDB. I want to read the auto-generated ID when I persist a new entity (with @Id @GeneratedValue annotations applied). I am following the following link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. ... link : http://www.objectdb.com/tutorial/jpa/eclipse/web/entity Thanks. edit ...

 
forum_thread

Order in WHERE Clause affects behaviour on DATE/DATETIME columns

Quick example:  public class MyClass { @Column(name = "myText") String myText; @Temporal(TemporalType.TIMESTAMP) @Column(name = "myDate") Date myDate; } Now, when querying the db with: ... the expected behaviour?  I am developing an web application using the Play Framwork and JPA and use following libraries: ...

 
forum_thread

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of any Attribute from Metamodel of a different EntityManager. I am testing one application over Spring Web MVC and I can not post one Simple Test Case. The problem is it: If I have two moments of initialization of "javax.persistence.metamodel" from EntityManager and these two metamodels come from different EntityManagers and the one of these is on a @PostConstruct event, they return not equals Attributes using the same entity.   ... event. I am testing one application over Spring Web MVC and I can not post one Simple Test Case. The problem is it: If ...