ObjectDB Database Search
1-50 of 200 resultsStep 1: Create a Java EE 6 Web Project We start by creating a new Java EE dynamic web project in Eclipse: Open the [New Project] dialog ... a Project Name (e.g. Guestbook ). Select GlassFish Server Open Source Edition 3 ( Java EE 6) as the Target ... to GlassFish 3 (which has to be downloaded separately) . Click the Finish button to create the Java EE 6 | |
Java EE JPA Tutorial - Maven Project The Java EE Web Application tutorial provides step by step instructions on how to build a simple Java /JPA database driven web application (for GlassFish 3/ JBoss 6) in Eclipse or  ... ;if you prefer, you may download and run the result application as a Maven project: Java EE JPA Web | |
Guessbook tutorial: Java EE 6 JPA Tutorial - Maven Project.EJBException at com.sun.ejb.containers.BaseContainer.processSystemException(BaseContainer. java :5215) at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer. java :5113) at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer. java :4901) at com.sun.ejb.containers.BaseContainer | |
ObjectDB within a resource adapter module and Java EE Connector Architecture of) an EJB Module after the pattern of the classic EAR File structure as illustrated in the Java EE 7 tutorial in Figure 5-1 EAR File Structure ? webel Dr Darren Kelly Support of the Java EE ... Has anybody managed to use ObjectDB in a resource adapter module in accordance with the Java | |
How to Use a SF with extended Persistence Context?(InterceptorContext. java :288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee ... . java :288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee .component.TCCLInterceptor.processInvocation(TCCLInterceptor. java :45) [jboss-as- ee -7.1.1.Final.jar:7.1.1.Final] at org.jboss | |
Step 1: Create a Java Project We start by creating a new NetBeans Project: Open the [New Project] dialog box, e.g. by using File New Project... Select Java Java Application and click Next . Choose a Project Name (e.g. Tutorial ). The name of the Main class should be tutorial.Main . Verify that exactly this case sensitive fully | |
Error reading UTF string. ee .component.NamespaceContextInterceptor.processInvocation(NamespaceContextInterceptor. java :50 ... (InterceptorContext. java :288) [jboss-invocation-1.1.1.Final.jar:1.1.1.Final] at org.jboss.as. ee .component.TCCLInterceptor.processInvocation(TCCLInterceptor. java :45) [jboss-as- ee -7.1.1.Final.jar:7.1.1.Final] at org | |
com.objectdb.o.InternalException: java.lang.NoClassDefFoundError: java/sql/Date). Please report this error on http://www.objectdb.com/issue/new com.objectdb.o.InternalException: java .lang.NoClassDefFoundError: java /sql/Date java .lang.NoClassDefFoundError: java /sql/Date at objectdb/com.objectdb.o.VUT. (VUT. java :68) at objectdb/com.objectdb.o.RAT.l(RAT. java :106) at objectdb/com.objectdb.o.RTT | |
JPA Persistable Types superclasses, and embeddable classes. Simple Java data types: Primitive types, wrapper classes, `String ... is an ordinary user-defined Java class whose instances can be stored in the database. The easiest way ... , an entity class is like any other Java class. It can extend another entity class or a non-entity | |
NoSuchFieldError: __odbTracker on NetBeans 7.3 + JBoss 7.1.1.Method.invoke(Method. java :601) org.jboss.as. ee .component.ManagedReferenceMethodInterceptorFactory ... .Jsr299BindingsInterceptor.processInvocation(Jsr299BindingsInterceptor. java :135) org.jboss.as. ee .component ... .processInvocation(WeavedInterceptor. java :53) org.jboss.as. ee .component.interceptors | |
BTree 8 is not found at com.objectdb.o.JPE.d(JPE.java:91).objectdb.o.JPE.d(JPE. java :91) at com.objectdb.o.ERR.h(ERR. java :56) at com.objectdb.o.OBC.onObjectDBError(OBC. java :1582) at com.objectdb.jpa.EMImpl.commit(EMImpl. java :289) at server.database.AuDatabase ... .reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java :62) at sun.reflect | |
Cannot initialize db after inserting a java.util.List, but whenever I access the db through a servlet container I get this error: objectdb. java .util.ArrayList ... .objectdb.o.InternalException: Unexpected internal exception at com.objectdb.o.TYM.au(TYM. java :976) at com.objectdb.o.MUT. (MUT. java :101) at com.objectdb.o.CLT. (CLT. java :38) at com.objectdb.o.MUT.w(MUT | |
Connection is closed Caused by: java.io.EOFException.objectdb.o.MSG.d(MSG. java :74) at com.objectdb.o.CLS.Q(CLS. java :317) at com.objectdb.o.CLS.P(CLS. java :281) at com.objectdb.o.CLS.M(CLS. java :173) at com.objectdb.o.CLS.L(CLS. java :142) at com.objectdb.o.CST. (CST. java :65) at com.objectdb.o.CSF.UH(CSF. java :88) at com.objectdb.o.OMF.ai(OMF. java :725 | |
RT Java application recording into 100DB run OOM after a few hours. Hi, I am running a java application that records data from 100 feeds into 100 different database ... (I checked there is no leak in java - I cleared the entity manager every 10 new entity) - I run ... .objectdb.o.JPE.g(JPE. java :89) com.objectdb.o.ERR.f(ERR. java :60) com.objectdb.o.OBC.onObjectDBError(OBC | |
Java 8 Enhancer Problem Hello! I am currently migrating my project to Java 8. I'm using Spring and AspectJ load time ... non @Entity or already enhanced classes but in conjunction with new Java 8 class files it throws ... at com.objectdb.o.InternalException.f(InternalException. java :236) at com.objectdb.o.JCP.p(JCP. java :195 | |
NullPointerException in ENH.g(ENH.java:401): Exception in thread "main" java .lang.NullPointerException at com.objectdb.o.ENH.g(ENH. java :401) at com.objectdb.o.OBC.aM(OBC. java :951) at com.objectdb.o.OBC.UZ(OBC. java :822) at com.objectdb.o.TYR.aF(TYR. java :715) at com.objectdb.o.TYR.completeRead(TYR. java :562) at com.objectdb.o.TYR.readElement(TYR | |
jakarta.persistence.EntityManagerFactory("orderMgt"); Alternatively, in the Jakarta EE environment, a container-managed EntityManagerFactory ... EntityManager s. Alternatively, in the Jakarta EE environment, a container-managed EntityManager ... to be in the closed state. Overrides AutoCloseable. java .lang.AutoCloseable/close() Throws | |
java.sql.Date equals comparison not working with CriteriaAPI Hello, Using ODB 2.4.5 and the Criteria API, doing a simple equals comparison with java .sql.Date ... = ...; Root root = ...; java .sql.Date myDate = ...; Predicate predicate = builder.equal(root ... is exactly the same like the value of eintritt field in the DB. java .sql.Date is used | |
Error when trying to open the Explorer (failed to find Java VM) get this windows error: "Failed to find Java VM". What is the problem? dreckguy Ophir Haramaty Have you tried both explorer.exe and explorer-b.exe ? Can you write it from the console : java -jar explorer.jar ... \bin\ [err] Failed to find Java VM. and the windows startup error is shown By trying explorer-b | |
java.sql.Time field off by 30 minutes Hihi, I'm wondering if this is a bug. I have a simple entity with java .sql.Time field. On writing ... it is related to your specific system or Java configuration (possibly combined with ObjectDB). Can you provide ... (and with some fixes and adjustments to the posting instructions ): import java .util.*; import javax | |
Unexpected output "*** PatternParameterImpl" in the java console We have an unexpected output "*** PatternParameterImpl" in our java console. Do you know why? Caused by: PrintStream.write(String) line: 603 PrintStream.print(String) line: 745 PrintStream.println(String) line: 882 ThreadPrintStream.println(String) line: 179 TYS.k() line: 199 TYM.Z(boolean | |
Java 8 time API Hi. Is Java 8 new DateTime API supported natively or through Converters in the newest versions of objectdb? If not, can we expect this feature in the next releases? Best regards and congratulations on this awesome database. Amsterdam Amsterdam Luís de Lima Filho It is not | |
failure to enforce NOT NULL for java.lang.String: Attempt to reuse an existing value (null) (error 613) at com.objectdb.jpa.EMImpl.commit(EMImpl. java :279 | |
How do handle fields with java.net.URI classHow do handle fields with java.net.URI class | |
jakarta.persistence.EntityManager - { // do work in a persistence context ... }); In the Jakarta EE environment, a container-managed ... some other native connection type, and is not required to support java .sql.Connection ... until the transaction completes. Overrides AutoCloseable. java .lang.AutoCloseable/close() Throws | |
Index Definition , long , float , double Equivalent wrapper classes from the java .lang package: Byte , Short , Character , Integer , Long , Float , Double java .math.BigInteger , java .math.BigDecimal java .lang.String java .util.Date , java .sql.Date , java .sql.Time , java .sql.Timestamp Any enum type A reference | |
Eclipse/JPA Spring MVC Web Tutorial software: Java JDK 6.0 (or above). Eclipse IDE for Java EE Developers. m2eclipse (Maven plugin ... This is the Eclipse version of the Spring MVC and JPA tutorial. It demonstrates how to create and run a full Java Spring MVC (Model View Controller) web application in | |
Getting Started with JPA and Eclipse . For this tutorial, besides the Java JDK (8 or above) and the Eclipse IDE (either Eclipse IDE for Java EE Developers or Eclipse IDE for Java Developers), you only need to download and extract the ObjectDB | |
Step 1: Create a Maven Web Project Name (e.g. Guestbook ) and select Java EE 5. Enter Maven Group Id (e.g. com.objectdb.tutorial.spring ... -classes java   | |
JPA Attributes Annotations to perform optimistic locking checks. Enum mapping Configure how Java enumerated types are persisted and used ... and calendar types to specific SQL temporal formats (modern java .time types are mapped automatically): Specifies the database SQL type for a persistent field or property of type java .util.Date or java .util | |
Strings in JPQL and Criteria Queries', 'a') is evaluated to 0 . Positions are one-based (as in SQL), not zero-based (as in Java ... zero-based (as in Java ). If you do not specify the optional length argument, the function returns the remainder of the string, starting from the specified position. Java string methods (ObjectDB | |
Logical Operators in JPQL and Criteria API the following table: Set 1: JPQL / SQL Set 2: Java / JDO AND && OR || NOT ! JPQL uses SQL notation, while Java uses its own notation, which is also used by the JDO Query Language (JDOQL). ObjectDB ... . As part of its JDO support, ObjectDB also supports the Java /JDO && operator as a synonym | |
JPA Metamodel Attributes: COLLECTION , SET , LIST , or MAP . Represents an attribute typed as a generic java .util.Collection . Represents an attribute typed as a java .util.Set , implying unique elements without a specific order. Represents an attribute typed as a java .util.List , supporting ordered collections and index-based | |
JPA Entity Fields. This behavior is similar to transient fields in Java , which don't participate in serialization. Static ... either the Java transient modifier (which also affects serialization) or the JPA @Transient ... declared type, including a generic java .lang.Object , as long as the actual runtime value | |
Date and Time in JPQL and Criteria Queries when the query is executed: CURRENT_DATE : Returns the current date as a java .sql.Date instance. CURRENT_TIME : Returns the current time as a java .sql.Time instance. CURRENT_TIMESTAMP : Returns the current timestamp (date and time) as a java .sql.Timestamp instance. Extracting date parts JPA does not define | |
Database Transaction Replayer is bundled in the objectdb.jar file. You can run it from the command line: $ java -cp objectdb.jar com ... . You can also run the Replayer up to a specified transaction. For example: $ java -cp objectdb.jar com | |
FROM clause (JPQL / Criteria API) The FROM clause declares query identification variables for iterating over objects in the database. A query identification variable is similar to a variable in a Java enhanced for loop ... Country c Reserved identifiers The name of a JPQL query variable must be a valid Java identifier | |
Is ObjectDB better than competing object databases? support for the Java Persistence API (JPA). It also supports a more recent and advanced version of the Java Data Objects (JDO) API than competing object databases. By using a standard API such as JPA | |
Querying error - java.lang.ClassCastException: com.objectdb.o.STV:*:fatal] java .lang.ClassCastException: com.objectdb.o.STV at com.objectdb.o.PBI.p(PBI. java :91) at com.objectdb.o.OBI.U4(OBI. java :235) at com.objectdb.o.BQI.Vd(BQI. java :134) at com.objectdb.o.PRG.ac(PRG. java :679) at com.objectdb.o.PRG.aa(PRG. java :609) at com.objectdb.o.QRM.UR(QRM. java :256) at com | |
java.lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV is generating this exception: [ObjectDB 2.5.1_05] Unexpected exception (Error 990) Generated by Java ... .objectdb.com/database/issue/new com.objectdb.o.InternalException: java .lang.ClassCastException: com.objectdb.o.RFV cannot be cast to com.objectdb.o.RSV java .lang.ClassCastException: com.objectdb.o.RFV | |
[ObjectDB 2.2.6_02] Unexpected exception (Error 990) at com.objectdb.o.OBC.aJ(OBC.java:961).6_02] Unexpected exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_17 (on Windows ... .InternalException: java .lang.NullPointerException: null java .lang.NullPointerException at com.objectdb.o.OBC.aJ(OBC. java :961) at com.objectdb.o.OBC.aI(OBC. java :883) at com.objectdb.o.EMR.n(EMR. java :146 | |
[ObjectDB 2.2.5_02] Unexpected exception (Error 990) com.objectdb.o.InternalException: java.lang.NullPointerException: null by Java HotSpot(TM) Client VM 1.6.0_17 (on Windows XP 5.1). Please report this error on http://www.objectdb.com/database/issue/new com.objectdb.o.InternalException: java .lang.NullPointerException: null java .lang.NullPointerException at com.objectdb.jpa.type.IdentifiableTypeImpl.initAttributes | |
Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker filed is initialised i got an exception Exception in thread "main" java .lang.NoSuchFieldError: __odbTracker at com.package.Network.__odbSet_Connections(Network. java :1) at com.package.Network. (Network. java :95) at com.package.EnhancementTest.main(EnhancementTest. java :14) Network class | |
Step 2: Entity Class and Persistence Unit the [New Java Class] dialog box, e.g. by right clicking the project node (in the [Package Explorer] window ... objects in the database was created in the project (under Java Resources: src guest). Use copy and paste to replace the new source file content with the following code: package guest; import java .io | |
Step 2: Define a JPA Entity Class the [New Java Class] dialog box, e.g. by right clicking the tutorial package node (in the [Projects] window) and selecting New Java Class ... Enter Point as the class name - use exactly that case sensitive ... and paste to fill the new source file with the following content: package tutorial; import java .io | |
Step 4: Add a Servlet Class New Other... Web Servlet and clicking Next . The Java package name should be guest ... : package guest; import java .io.IOException; import java .util.List; import javax.servlet.ServletException | |
NetBeans/JPA Web Application Tutorial This is the NetBeans version of the JPA Web App tutorial. It demonstrates how to create and run a database driven Java web application in NetBeans - using Tomcat 6 Apache Tomcat ... the following software: Java JDK (6.0 or above). NetBeans - Java or All bundle The last version of ObjectDB | |
JPA Web App Tutorial - Maven Project The JPA Web Application tutorial provides step by step instructions on how to build a simple Java /JPA database driven web application (for Tomcat / Jetty) in Eclipse or NetBeans ... and install ObjectDB or a Java web server - Maven will download the ObjectDB jar and the Jetty | |
Step 2: Define a JPA Entity Class; import java .io.Serializable; import javax.persistence.*; @Entity public class Point implements ... (and its annotations) - the Point class is an ordinary Java class. The next step is adding to the project | |
Step 7: Run the Spring Web App automatic enhancement (weaving) in Tomcat it has to be run with ObjectDB as a Java agent ... without specifying a Java agent. Since we are using ObjectDB in embedded mode - the database file |