About property

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; #1 2013-02-04 15:35 hello , i've finished jpa jaas module. Here it is : package com. bayner . auth ; & ...

 
forum_thread

Jboss 6 persistence.xml startup error

Hi,   I'm trying to migrate a small EJB 3.1 project from Postgres to ObjectDb to test out feasibility, but I keep getting stuck on setting up the persistence.xml on JBoss 6 AS.   Here is my setup: ------- Start persistence.xml ------- ... > <properties > <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/guests.odb" /> <property name = "javax.persistence.jdbc.user" value = "admin" /> <property name = "javax.persistence.jdbc.password" value = "admin" ...

 
api-jpa

javax.persistence.EnumType

Defines mapping for enumerated types.(Enum of JPA)

 
api-jpa

javax.persistence.IdClass

Specifies a composite primary key class that is mapped to multiple fields or properties of the entity.(Annotation of JPA)

 
forum_thread

How to package orm.xml when using EJB in WAR?

Hi, I have database utility classes in one project, the id's use sequences declared in an orm.xml file for example: ... < properties > < property name = "javax.persistence.jdbc.url" value = "$objectdb/db/gdm.odb" /> < property name = "javax.persistence.jdbc.user" value = "admin" /> < property name = "javax.persistence.jdbc.password" value = "admin" ...

 
api-jpa

javax.persistence.CollectionTable

Specifies the table that is used for the mapping of collections of basic or embeddable types.(Annotation of JPA)

 
forum_thread

Cannot cast com.objectdb.jpa.Provider to PersistenceProvider

Hi! I'm trying to get ObjectDB 2.5.1_1 work with stable Glassfish 4 in a Java EE 7 NetBeans project. objectdb.jar is added into GF's classpath (domains\domain1\lib\ext folder). Any help, please?... Thanks! Here it is the persistence.xml config: ... > <properties > <property name = "javax.persistence.jdbc.url" value = ... /> <property name = "javax.persistence.jdbc.user" value = "admin" /> <property name = "javax.persistence.jdbc.password" value = "admin" ...

 
forum_thread

Attempt to begin a new transaction when a transaction is active

The code I have a RecordDao stateless java bean :  ... > <properties > <property name = "javax.persistence.jdbc.url" value = "$objectdb/db/recs.odb" /> <property name = "javax.persistence.jdbc.user" value = "admin" /> <property name = "javax.persistence.jdbc.password" value = "admin" ...

 
forum_thread

Undeployment of an remote Glassfish application locks objectdb log file

System: Netbeans 7.1 Oracle Glassfish 3.1.2 ObjectDB 2.3.7_04 Senario: Create a simple WebApplication with a "hello world" web service interface in Netbeans. Add objectDB test code to the web service: ... / provider> <properties> <property name = "javax.persistence.jdbc.url" value = "testdb.odb" / > <property name = "javax.persistence.jdbc.user" value = "admin" ...

 
forum_thread

Feature suggestion: auto-detection of entities via persistence.xml extension

I am encountering problems (complexities) with EntityManager registration of entities across multiple modules in a multi-module Maven project. I have a  entities under many different paths in many different modules, and frequently evolving/changing. JPA2 persistence.xml does not seem to have support for wildcards under the <class> field. Apparently Hibernate has an autodetection extension system: hibernate.archive.autodetection https://docs.jboss.org/hibernate/entitymanager/3.6/reference/en/html/configuration.html ... classes and Hibernate mapping XML files --> <property name = "hibernate.archive.autodetection" value = "class, hbm" /> <property name = "hibernate.hbm2ddl.auto" value = "validate" ...