Internal Website Search
101-150 of 200 resultsProblems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web AppProblems with Tutorials » JPA Web App (Tomcat) » NetBeans JPA Web App | |
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 ... :1.3.0.RELEASE] at org.springframework. web .filter.OncePerRequestFilter.doFilter(OncePerRequestFilter | |
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 | |
Problem with log file in an embedded db with netbeans platform application Hello, I'm starting a new desktop application built with netbeans platform 7 and objectdb/JPA as ... , but running the netbeans platform application that use the same domain class library an error occurs that crash the application . This is part of the stack trace: java.io.FileNotFoundException: file:\C:\Users | |
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 | |
How to have a distribuited GWT application with ObjectDB and Spring? Hello to everyone! I've been developing a GwT application as a project for my computer science ... the cars to rent and needs to ask for some of them to point B or point C. So GWT application of point ... and application . I've learnt that with Spring it's possible to create REST services to access | |
Database server with an application Hi, I read the database server section of the manual - and it looks like it is not possible to connect to a Database embedded with an application from another application - is that correct? The way to go is to have the DB server running by itself and then the 2 other applications connecting | |
Persist not working when ObjectDB and another db is used in the same application (through spring) with different tx managers Hi, Object are not being persisted when ObjectDB and another db is used in the same application (through spring) with different tx managers, please find an example of this below. Any help ... application and we need to decide if we are going to purchase it very soon. Many Thanks Persistence | |
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 - this is done is one thread. It works fine several hours - and suddenly i got an out of memory issue ... - so it must be using the default somewhere). 2/ Using Netbeans, I profiled the application and I noticed | |
Can I use the objectDB in android application? I'm interesting in the ObjectDB, and I want to know if it passiable run at the android application . The ObjectDB does not support other program language , but can the export an relational database models and data,when they have to change. wamdy wamdy Android is currently not supported | |
Rename Application StringIdentity I don't think JDO supports altering an entity's Application Identity. Does ObjectDB? @PersistenceCapable public class MyClass implements Serializable, Cloneable{ @Id private StringIdentity id; ... } PersistenceManager persistenceManager = ...; Transaction transaction | |
How to connect to an embedded ObjectDB in a JPA/JEE application? It is easy to change the properties in persistence.xml file to connect to an ObjectDB server. But I could not find any reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ? buddhika75 M H B Ariyaratne Just replace | |
Access to client/server database from multiple applications Is there a preferred way to run a client-server database so that updates from one application are immediately visible to another? The way I managed this was to run PersistenceManagerFactory.getDataStoreCache().evictAll(true,MyClass.class) to ensure that a query on MyClass would contain updated | |
Integrating the ObjectDB logging into the application logging based on slf4j We would like to write the logs of ObjectDB with into the log of our application . What do you use for logging? With or without slf4j and if so, what concrete implementation? Do you see a way to combine your logging with our logging? btc_es BTC EmbeddedSystems The ObjectDB logging is based | |
Refresh data in application after database data has changed Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. So far so good. Now... I have a person in my database | |
Is ObjectDB better than competing object databases? you can keep your application portable. If necessary, you will always be able to switch to any ... almost every application . ObjectDB supports user defined primary keys including composite primary keys | |
Is ObjectDB scalable? What are its limitations? ObjectDB is highly scalable and can manage efficiently databases in a wide range of sizes, from a few Kilobytes to hundreds of Gigabytes and even Terabytes. ObjectDB can be used in small embedded single user applications as well as in heavy loaded multi threaded multi user applications . ObjectDB | |
Obtaining a JPA Database Connection . Further, in a multithreaded application every thread usually has its own EntityManager instance while at the same time sharing a single application -wide EntityManagerFactory . When the connection | |
Eclipse Public License - v 1.0 of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment ... OF SUCH DAMAGES. 7. GENERAL If any provision of this Agreement is invalid or unenforceable under applicable | |
ObjectDB Overview processing, etc.) but in a way that makes development easier and applications faster. ObjectDB ... environments. Can easily be embedded in applications of any type and size. Tested with Tomcat, Jetty | |
Database Explorer client server mode, it can be accessed simultaneously by other applications . If the database is modified ... only in the Explorer. In your applications - retrieved String instances always have the same | |
Database Management Settings of a page in a database file. The default 2KB is appropriate for most applications . The element | |
Setting and Tuning of JPA Queries the default is COMMIT (which is more efficient). The default mode can be changed by the application | |
Strings in JPQL and Criteria Queries order to support optional arguments and when applicable simple Java objects as well as criteria expressions. | |
Auto Generated Values is 50). A sequence is global to the application and can be used by one or more fields in one or | |
What are the system requirements for using ObjectDB? ObjectDB requires Java 5 or later (Java 6 is preferred). As a pure Java application , ObjectDB should be able to run on any platform that supports the Java Standard Edition. Either the Java Development Kit (JDK) or the Java Runtime Environment (JRE) can be used. A version of ObjectDB for .NET is currently under development. | |
JPA Annotations for Java EE The following JPA annotations are in use to integrate JPA into a Java EE application and are managed by the Java EE container: | |
Query Parameters in JPA, embedding strings in queries is unsafe and can expose the application to JPQL injection attacks. Suppose | |
Database Schema Evolution (when applicable ). From any date type to any date type. From any collection or array type to any | |
Chapter 2 - JPA Entity Classes JPA Entity classes are user defined classes whose instances can be stored in a database. To store data in an ObjectDB database using JPA you have to define entity classes that represent your application data object model. This chapter explains how to define and use entity classes. | |
ObjectDB 2.9 Developer's Guide Welcome to ObjectDB for Java/JPA Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JPA (Java Persistence API). The main purpose of this guide is to make you productive with ObjectDB and JPA in a short time. Guide Structure This manual is divided into | |
Deleting JPA Entity Objects may continue recursively when applicable (e.g. to entity objects that the Address object references | |
Is ObjectDB a NoSQL Database?). Therefore, ObjectDB can be used in applications that cannot use conventional non ACID NoSQL databases because of a requirement for a very high level of consistency. | |
Entity Management Settings, could improve performance. However, for some applications disabling this ability could be more efficient | |
Posting Sample Code / embeddable classes. Avoid dependency on external libraries . Use a console application with a main | |
JPA Persistence Unit the persistence.xml file (if it is packed) are registered automatically. If the application is not | |
Working with JPA Entity Objects entity object is no longer in use by the application the garbage collector can discard | |
Locking in JPA automatic. Optimistic locking should be the first choice for most applications , since compared | |
version 2.4.5+ with GlassFish 3.1.2, errors when runs application. Version 2.4.4 worked but not 2.4.5 or later. application .view.FaceletViewHandlingStrategy.renderView(FaceletViewHandlingStrategy.java:402) at com.sun.faces. application .view.MultiViewHandler.renderView(MultiViewHandler.java:131) at javax.faces. application .ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:288) at com.sun.faces.lifecycle | |
Application not starting after enhancement I added the class enhancer to my build script and I get the expected output of a list with the enhanced classes. Now if I try to deploy my created application I get the following error: Caused by: java.lang.AbstractMethodError: Receiver class org.test.app.base.models.Data does not define or | |
Getting Started with JPA and Eclipse This is the Eclipse version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in Eclipse. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields: x and y | |
Getting Started with JPA and NetBeans This is the NetBeans version of the Quick Start with JPA tutorial. It demonstrates how to create and run a simple JPA application in NetBeans. The demonstrated application uses JPA to store and retrieve simple Point entity objects, where each Point has two persistent fields | |
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 | |
Step 3: Define a Spring DAO Component the application to the Spring Framework. For instance, in this example the Spring container: Manages | |
Step 3: Define a Spring DAO Component the application to the Spring Framework. For instance, in this example the Spring container: Manages | |
Getting Started with JPA - Eclipse Project Eclipse: Right click the project node and select Run As Java Application . Select Main - point and click OK . | |
Spring MVC JPA Tutorial - NetBeans Project Tomcat as a server and click OK . Note: To run the application on GlassFish - change | |
Which API should I use - JPA or JDO? is more commonly used. Therefore, it might be the first choice for most new applications . You can use JPA as ... that are supported only by JDO. Selecting the more popular API leads to more portable application | |
ObjectDB 1.0 Manual Welcome to the ObjectDB for Java/JDO Developer's Guide. Here you can learn how to develop database applications using ObjectDB and JDO (Java Data Objects), the revolutionary database programming technology by Sun Microsystems. The main purpose of this guide is to familiarise you with ObjectDB | |
[ODB1] Chapter 3 - Persistent Classes for ArrayList ). Portable JDO applications , however, should only store instances of user defined persistent |