About XML

61-70 of 200Refresh
JPA Doc
5

javax.persistence.PersistenceContext

of the persistence unit as defined in the persistence.xml file. (Optional) The name of the persistence unit as defined in the persistence.xml file. If the unitName element is specified, the persistence unit
JPA Doc
5

javax.persistence.PersistenceUnit

) The name of the persistence unit as defined in the persistence.xml file. (Optional) The name of the persistence unit as defined in the persistence.xml file. If specified, the persistence unit
Forum
5

JBoss 7 startup fails

-INF dir contains: context.xml xml version="1.0" encoding="UTF-8"?> persistence.xml
Forum
4

EntityManager getMetamodel() causes crash

it happen also with a new empty database? Working code.  Note I am using a persistence.xml (shown ... public String toString() { return name; } } The persistence XML: :
Forum
4

Is persistence version 2.1 supported?

Using the current version of persistence.xml leads to an error: xml version="1.0" encoding="UTF-8" ?>
Forum
4

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

] (MSC service thread 1-1) JBAS011401: Read persistence.xml for GuestbookPU 09:40:30,655 INFO  [org ... into the persistence.xml file
Forum
4

ObjectDB without javax.persistence

we get a “com.objectdb.o._PersistenceException:” with the message “Failed to validate xml file bundleresource://134.fwk2011579990:2/META-INF/persistence.xml”   Caused by: com.objectdb.o._PersistenceException: Failed to validate xml file bundleresource://134.fwk2011579990:2/META-INF/persistence.xml: at com
Forum
4

Configure ObjectDB in spring context

is to configure entire ObjectDB (optionally objectdb.conf too) in springs context.xml file so that I'd be able ... an MVC, its just pure Spring application and I need to avoid creating persistance.xml file. My previous database.xml (which is included in application-context.xml) look like this xml version="1.0
Forum
3

newbie - lots of exeptions

.preDestroy(ASURLClassLoader.java:179) and our persistence.xml file looks like xml version="1.0" encoding="UTF-8"?>
Forum
3

Problem with entities detection

Hi! I have some problems with ObjectDB. I need to have a persistence.xml with 2 persistence units ... is that ObjectDB seems to be ignoring the class fields on the persistence.xml file. Entities need to be in ... .persistence.TemporalType; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind