About JPA

forum_thread

does ObjectDB / JPA support simple password field encryption of an entity class?

We are persisting certain passwords entered by user in a form binded with an entity. Is there any direct ObjectDB support to just encrypt the password field? We would like to either encrypt or make it unreadble when object DB database file is opened. There are many standard Password based encryption (PBE) api's supported by Java. But we are looking for a simple approach as we have just have one or two passwords field of an entity to protect. Appreciate any suggestions, Thanks. ... (currently) support this ability. Consider using JPA Lifecycle Events  to encrypt the fields before persisting and decrypt ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

JPA does not seem to be db agnostic

The following jpa code works with mysql but not with objectdb. Why would this happen? The provider the both jpas is the same: EclipseLink. The link for the one used with mysql is org.eclipse.persistence.jpa.PersistenceProvider; the one for objectdb is com.objectdb.jpa.Provider (per the tutorials). ... 16:18 The following jpa code works with mysql but not with objectdb. Why would this happen? The ... for the one used with mysql is org.eclipse.persistence.jpa.PersistenceProvider; the one for objectdb is com.objectdb.jpa.Provider (per ...

 
forum_thread

Using ObjectDB with JDBC (in similar way with JPA 2)

Using JDBC, I can use a String to create the schema of a table: ... accomplish this? Better yet, can I accomplish this using JPA or JDO with ObjectDB? edit ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

JPA Configuration without persistance.xml

Hi,   I've been using Hibernate with JPA, and found it too slow, so am moving my project to use ObjectDB. My Jar is being held inside another application, so I don't want to have to rely on a persistance.xml file being in a particular place. When using Hibernate, I was able to do the following: ...   I've been using Hibernate with JPA, and found it too slow, so am moving my project to use ObjectDB. My Jar is ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

openejb jpa jaas module

    hello , i've finished jpa jaas module. Here it is :   package com.bayner.auth; import com.bayner.jpa.Principals; import com.bayner.jpa.UserInfo; import com.bayner.jpa.UserPrincipal; ... hello , i've finished jpa jaas module. Here it is : package com. bayner . auth ;   import com. bayner . jpa . Principals ; import com. bayner . jpa . UserInfo ; ...

 
forum_thread

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 ? ... reference who to connet to an embedded objectdb in a JEE/JPA application through changing persistence.xml file. Can any one please help ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
issue

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether

type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether... type in http://www.objectdb.com/java/jpa/query/criteria serParameter -> setParamether ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Will ObjectDB support JPA 2.1 CriteriaDelete?

Code like this: CriteriaBuilder cb = getEntityManager().getCriteriaBuilder(); CriteriaDelete<AlertEntity> criteriaDelete = cb.createCriteriaDelete(entityClass); Throws: java.lang.UnsupportedOperationException at com.objectdb.jpa.criteria.CriteriaBuilderImpl.createCriteriaDelete(CriteriaBuilderImpl.java:1508) #1 2015-02-13 11:28 Code like this: CriteriaBuilder cb = getEntityManager ( ) . getCriteriaBuilder ...

 
forum_thread

Unable to run NetBeans/JPA Web Application Tutorial

I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to the web application the following error is prompted on the run console: Start is in progress... start?path=/GuestBook FAIL - Application at context path /GuestBook could not be started C:\GuestBook\nbproject\build-impl.xml:1050: The module has not been deployed. See the server log for details. BUILD FAILED (total time: 2 minutes 13 seconds)   ... I followed each and every step of NetBeans/JPA Web Application Tutorial but when i am trying to run the web application ... Support ObjectDB - Fast Object Database for Java (JPA/JDO) edit ...

 
forum_thread

Finding out the JPA provider

Do you have any preferred way of finding out whether ObjectDb is my EntityManager's JPA Provider? I know there are problems with using getDelegate ( http://weblogs.java.net/blog/ss141213/archive/2009/05/be_careful_whil.html ) but on the other hand unwrap is not very portable ( https://forums.oracle.com/forums/thread.jspa?threadID=2149162 ). It would be nice if the <provider> element of the PeristenceUnit were visible in one of the Properties sets returned by the EntityManager and EntityManagerFactory, but its not.   ... of finding out whether ObjectDb is my EntityManager's JPA Provider? I know there are problems with using getDelegate ... EntityManagerFactory instanceof com. objectdb . jpa . EMF . Or putting something in my properties for this sole ...