users@glassfish.java.net
Re: Port 1527 error for JPA application using MySQL/Eclipse/Glassfish
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
Maybe in reply to
] [
Next in thread
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
From
: <
glassfish_at_javadesktop.org
>
Date
: Wed, 27 Jan 2010 01:46:33 PST
> emf =
> Persistence.createEntityManagerFactory("Axle8Project")
doesn't match
> <persistence-unit name="NaraProject"
I think you should use
Persistence.createEntityManagerFactory("NaraProject")
instead. I think you can even omit the PU name, as long as you only have one PU in your persistence.xml.
For further reading:
https://glassfish.dev.java.net/javaee5/persistence/persistence-example.html
[Message sent by forum member 'matthiasfraass' (matthias.fraass_at_tricoder.net)]
http://forums.java.net/jive/thread.jspa?messageID=383212
This message
: [
Message body
]
Next message
:
glassfish_at_javadesktop.org: "Re: How to enable SQL tracing in Glassfish V3. Which listener class to use?"
Previous message
:
glassfish_at_javadesktop.org: "Servlets 3.0: Default servlet hides static resources"
Maybe in reply to
:
glassfish_at_javadesktop.org: "Port 1527 error for JPA application using MySQL/Eclipse/Glassfish"
Next in thread
:
glassfish_at_javadesktop.org: "Re: Port 1527 error for JPA application using MySQL/Eclipse/Glassfish"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]