ObjectDB Database Search

101-150 of 200 results

persistence.xml classes not respected by ObjectDB

Hi! I have the following persistence. xml . The problem is that ObjectDB loads all the classes in P1 (+ their embeddable classes). P2 is created properly, but P1 gets all entity classes (from P2 also). How can this be avoided, so that both P1 and P2 get just the classes that were specified to each

setting activation code in persistence.xml or env file or system properties

Wondering if it's possible to add the activation code either: - in persistence. xml - or in a .env file - or system properties dmoshal David Moshal These options are not supported. However, you can embed the configuration file with the activation code as a resource, e.g. by replacing the objectdb

Compress ODB file with XML content

is used by field value in entity class  LogVolatileEntityImpl , which contains XML

JBoss 7 startup fails

-INF dir contains: context. xml persistence. xml com.objectdb.jpa.Provider java:/DefaultDS The WebContent/ WEB -INF/lib dir contains:     objectdb-jee.jar The WebContent/ WEB -INF/ web . xml ... Hi, I was having a go with entity beans 3.x jboss 7, objectdb and the guestbook web application

New Web Application Tutorials

New ObjectDB/JPA tutorials have been published today: Eclipse/JPA Web Application Tutorial NetBeans/JPA Web Application Tutorial The new tutorials demonstrate how to build a simple database driven web application using ObjectDB and JPA. Understanding these tutorials requires some familiarity

How find out ObjectDB version at runtime (in a web app)

Am getting inconsistent results with the "objectdb.temp.no-enhancement-crc-check" system property of objectdb-2.6.9_02 in a Glassfish web app. Can see correct version of objectdb-2.6.9_02 in /build/ web / WEB -INF/lib. When one runs the enhancer (which I am doing post-compile, pre-deploy

Web Framework Recommendation for leveraging JPA + ObjectDB

like ObjectDB, for instance. Immediately the following question pops up: Which Web Framework supports ... + ObjectDB" couple successfully in conjunction with a contemporary Web Framework ? Any hints ... web applications are: Servlet container (Tomcat / Jetty) with servlets and JSPs. Java EE application

What are the steps of creating small web app?

Hello guys, I have a question about creating small new web application, I am almost done with researching and studying and I have covered all the important concepts e.g. # Starting from web technologies: HTML, CSS, JS, JQuery. # Moving to Java Technologies:  Core Java, Servlet, Managed Beans

Does ObjectDB create one instance of each entity class on (web app) load ?

ObjectDB: 2.7.1_06 [EDIT: Glassfish4.1.1 or Payara payara-4.1.2-174] I have been profiling a large web app with the NetBeans 8.2 Profiler. I can see that exactly one instance of each entity is present in memory, at web app startup, before I've loaded anything, and they won't garbage collect

Undeploying Glassfish web application does not disconnect from ObjectDB

Glassfish3.1.1 Netbeans7.1 ObjectDB 2.3.7_19 If I deploy a web application to Glassfish using ObjectDB as JPA provider, then undeploy, I can't access the database file in the ObjectDB explorer ... ObjectDB in embedded mode? Apparently undeploying a web application from GlassFish doesn't close

Your Glassfish example on the web

Hi, I'm doing a school project with objectdb and glassfish. I have tried your web tutorial "Java EE JPA (Glassfish) with Netbeans". When I try to run the example and add an entry in the guestbook, it throws this exception: com.objectdb.o._PersistenceException: Attempt to obtain a connection from

Pre-detach loading: retrieval by navigation not working in if statement

: objectdb.temp.no-detach NOT USED This problems only seems to occur in my large web application ... web application parallel to the large web application, but the problem does not happen in the smaller web application (as I will demonstrate below), so there is no point making that available

ObjectDB within a resource adapter module and Java EE Connector Architecture

associated with it ? Example: JPA-style: 2 separate end-project web apps leverage the same EJBs, which in turn leverage the persistence. xml , which is automatically used via: @PersistenceContext private EntityManager em; The 2 web apps end up using the same persistence. xml , and thus the same ObjectDB

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

book web application as is? support Support The tutorial code from http://www.objectdb.com/files ... persistence. xml for GuestbookPU 09:40:30,655 INFO  [org.jboss.as.ejb3.deployment.processors ... in the deployment is to add into the persistence. xml file and declared objectdb-jee as a module into

objectdb-2.6.9_02 (with "objectdb.temp.no-enhancement-crc-check") vs. generic classes with interfaces: detailed investigation

classes are crucial to an Expert System web app I develop; please do not be further concerned ... here have been recorded carefully at every step, including Git tracking and tracking in a CMS web system. - I have used both a console test app and a NetBeans web app in Glassfish; the initial report

Multiple inputs not supported on WHERE ?

(Method.java:498) ~[na:1.8.0_462]     at org.springframework. web .method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:205) ~[spring- web -5.3.31.jar:5.3.31]     at org.springframework. web .method.support.InvocableHandlerMethod.invokeForRequest

How force always recreate database on redeployment.

Is there some easy way to force recreation/deletion of the current database on deployment of a web application (to Glassfish). My web application uses a @Singleton @Startup bean to create and persist a test model each run. I keep getting models on top of each other on rerunning my web application

BeanCreationException in spring data JPA with objectDB

.java:425) at org.springframework. web .servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:442) at org.springframework. web .servlet.FrameworkServlet.createWebApplicationContext(FrameworkServlet.java:458) at org.springframework. web .servlet.FrameworkServlet.initWebApplicationContext

How to Use a SF with extended Persistence Context?

.AbstractServerConfig] (MSC service thread 1-9) JBoss Web Services - Stack CXF Server 4.0.2.GA 13:52:02,331 INFO  ... service thread 1-16) JBAS011401: Read persistence. xml for guest-pu 13:52:02,863 INFO  [org ... :03,019 INFO  [org.jboss.as.jpa] (MSC service thread 1-2) JBAS011401: Read persistence. xml

How to enhance the JPA/Spring/MVC to implement RESTfull for CURL client?

to change my web . xml servlet mapping in web . xml ? I've been experimenting with and nothing seems to work. Thanks Siegfried Here is my web . xml fragment:     spring       ... .springframework. web .bind.annotation.RequestMethod.GET,    headers = {"Accept=text/ xml

Problem to use find method on an abstract Class: AbstractMethodError is thrown

thread 1-13) JBoss Web Services - Stack CXF Server 4.0.2.GA 08:17:22,563 INFO [org.apache.coyote ... [org.jboss.as.jpa] (MSC service thread 1-4) JBAS011401: Read persistence. xml for guest-pu 08:17:23,103 INFO [org.jboss.as.jpa] (MSC service thread 1-7) JBAS011401: Read persistence. xml for paltzefomat

Problem upgrading

. It's generating endless log files. I had to turn up Xmx to even see it before the JVM crashes. (Our web ... :1.3.0.RELEASE] at org.springframework. web .filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107) [spring- web -4.2.3.RELEASE.jar:4.2.3.RELEASE] at org.apache.catalina.core

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

with the current report and web application, but addressing this by our support team is expected ... for users that develop web application to post web applications as examples, but since it requires ... you more ideas about what might be. zmirc Mircea Chirac Attempt to run the web application at #1 above failed

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

, please?... Thanks! Here it is the persistence. xml config: com.objectdb.jpa.Provider The following error appears ... (ClassLoader.java:410) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) at org.glassfish. web .loader.WebappClassLoader.loadClass(WebappClassLoader.java:1708) at org.glassfish. web .loader

the tutorial netbeans and javaee6 dont work,

; ,,,,,,,,,,,,,,,, but the web . xml it is ok. help me please .   i have sent the file of my project .     ... - it seems that you missed step 4 . There is an unnecessary web . xml file in WEB -INF . To fix the project you should: Fix the servlet following step 4 . Delete the  web . xml  file in  WEB -INF . Stop GlassFish

system exception occurred during an invocation on EJB GuestDao

) at com.sun.enterprise. web .WebPipeline.invoke(WebPipeline.java:99) at org.apache.catalina.core ... .core.StandardPipeline.invoke(StandardPipeline.java:673) at com.sun.enterprise. web .WebPipeline.invoke ... . xml file. If you cannot find the problem try download and run the Maven version of the tutorial

Undeployment of an remote Glassfish application locks objectdb log file

WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web ... (unitName = "testdb") private EntityManager em; /** This is a sample web service operation */ @WebMethod ... (NewEntity) with default values. Modify persistence. xml to contain: com.objectdb.jpa.Provider  

Tomcat + JPA Problem

to the tomcat directory (context. xml ). In my opinion this caused the trouble. Another Question ... The database location is specified on: http://www.objectdb.com/tutorial/jpa/eclipse/ web /listener You can change it to absolute path and rebuild and redeploy the web application. The default ( "$objectdb/db

type.loader java.lang.ClassNotFoundException

.run(HND.java:133) at java.lang.Thread.run(Thread.java:655) The web project build has:     build/ web / WEB -INF/classes/META-INF/persistence. xml     build/ web / WEB -INF/classes ... ObjectDB objectdb-2.2.5_03 in client-server mode Netbeans ID6.9.1 JavaEE web project (JPA

Maven driven compile time ehnancement

classes during compile time. Just add the following to your pom. xml :        ... your example to enhance a console application but it seems that applying it on a web application might require an additional action. Please try the following: Download the tutorial web application Maven

Exception while accessing the Persistence unit ...?

the persistence. xml file has an error or maybe it is located in the wrong directory ... over the turorial few times. Here is my persistence. xml and attached please find the eclipse project layout: (Note eclipse is deploying the application and I can access the web page but I am unable to do any

Post-compile enhancement fails when static Log4j 2.5 based logger used in Entity

else encounters the problem too. It is mostly also not a concern for my own web app, because in most cases ... : loader (instance of ) previously initiated loading for a different type with name "org/ xml /sax ... .apache.logging.log4j.core.config. xml .XmlConfiguration.(XmlConfiguration.java:97) In the build. xml Ant

Apache Tomee 1.5.2: Failed to use JTA (TransactionManager is not found)

Tomee's classpath) nor other parts, excepting the following persistence. xml : com.objectdb.jpa.Provider ... to use JTA. You may try removing objectdb.jar from TomEE classpath, and putting it in the web application WEB -INF/lib directory. Try also using  objectdb-jee.jar instead of  objectdb.jar

WebService : Failed to get reference value of field using enhanced method

). support Support I added objectdb.jar to Tomcat-Dir/lib directory. (I use axis2 Web Service Framework ... class loader (as web applications) but apparently that specific class has also be loaded using ... attachment I uploaded a simple testcase, but you have to archive to .aar file and deploy web service in

Maven and multiple JARs

maven web app project, with various modules dedicated to entity sets, using can be tricky, as the persistence. xml  in the dependee modules can't know what jar files will become available "later ... different persistence. xml (one for CoreEnt and one for SpecEnt) in the final build does not work

Query Method NullPointerException on List iteration

.invoke(Method.java:564) ~[na:na] at org.springframework. web .method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:190) ~[spring- web -5.2.5.RELEASE.jar:5.2.5.RELEASE] at org.springframework. web .method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:138

Web Application Tutorial

A tutorial that demonstrates how to use ObjectDB in a web application should be written and added to the Tutorials section. support Support The following web tutorials are now available: JPA Web Application in Eclipse JPA Web Application in NetBeans Java EE 6 (J2EE) in Eclipse Java EE 6 (J2EE) in NetBeans support Support

Minor typo on web page...

Minor typo on web page...

ClassRef jakarta.persistence.PersistenceConfiguration

elements of the persistence. xml file. This API may not be used to configure a container-managed ... Since: JPA 3.2 PersistenceConfiguration mappingFile (String name) Add the path of an XML mapping file ... Return: this configuration Since: JPA 3.2 List mappingFiles () The configured resource paths of XML

AnnotationRef jakarta.persistence.Converter

for which conversion is overridden by means of the Convert annotation (or XML equivalent). The Convert ... to attributes explicitly annotated Enumerated or Temporal (or designated as such via XML ). A converter ... via the Convert annotation (or corresponding XML element). If there is more than one converter defined

objectdb-2.6.9_06: Extended Persistence Context fails: 'Attempt to begin a new transaction when a transaction is active'

/GreensoftObjectdbTestWebMini3683/ WEB -INF/faces-config. xml for modifications Info: Loading application ... with extended Persistence Context? [EDIT: 2006-09-29 New improved version of test mini web app with test ... transaction when a transaction is active' //BUT this causes another error (although web app still runs

ObjectDB-2.6.9: Failed to commit transaction: Failed to set numeric value of field property Element.id using reflection

: lib/objectdb-2.6.3_04.jar* lib/objectdb-2.6.9.jar In top-level build. xml change this property to use ... that you usually prefer console test apps to web apps, but this one is truly minimal, and for completeness ... test web app: https://www.webel.com.au/downloads/objectdb/GreensoftObjectdbTestWebMini.2016-08-16

InterfaceRef jakarta.persistence.EntityManagerFactory

, then they must belong to the same persistence unit. A persistence unit may be defined by a persistence. xml file ... unit is defined in persistence. xml , an entity manager factory may be created by calling Persistence

InterfaceRef jakarta.persistence.spi.PersistenceProvider

may be used to override the values of the corresponding elements in the {@code persistence. xml } file or specify values for properties not specified in the {@code persistence. xml } (and may be null

PersistenceUnitInfo.getMappingFileNames() - JPA Method

the mappings for the entity classes. The mapping files must be in the standard XML mapping format ... to a mapping-file element in the persistence. xml file. Return: the list of mapping file names

PersistenceUnitInfo.getPersistenceXMLSchemaVersion() - JPA Method

JPA Method in jakarta.persistence.spi.PersistenceUnitInfo String getPersistenceXMLSchemaVersion () Returns the schema version of the persistence. xml file. Return: {@code persistence. xml } schema version Since: JPA 2.0

PersistenceProvider.createEntityManagerFactory(emName,map) - JPA Method

to override the values of the corresponding elements in the {@code persistence. xml } file or specify values for properties not specified in the {@code persistence. xml } (and may be null if no properties

Once served to JSF page via @EJB query bean, many list fields are null (but same query ok after fresh persist in @PostConstruct)

, the inability to robustly query relationship fields in a web application renders the ObjectDB ... written to db-files/greendesk/greendesk.odb (see persistence. xml ), copy of odb output attached. Sorry ... Web App and viewing both the Glassfish output log and the single served JSF page indexTest.xthml

ObjectDB 2 JDO Manual

and the definition of the XML file describing those classes that are to be enhanced, that and the use of JDOQL ... to see the updated web page and the support for JPA when I returned to your site today. However, it is difficult ... probably all seen on the Web concluding that JDO is a superior API for object databases. I am not

PersistenceUnitInfo.getPersistenceUnitRootUrl() - JPA Method

JPA Method in jakarta.persistence.spi.PersistenceUnitInfo URL getPersistenceUnitRootUrl () Returns the URL for the jar file or directory that is the root of the persistence unit. (If the persistence unit is rooted in the WEB -INF/classes directory, this is the URL of that directory.) The URL