Hello,
first, my english is bad, but it was worser to find the right place for my question. I hope this one is the right one. if not, Im sorry. :)
I've got a problem with JPA and german umlauts (ö,ä,ü,(ß)) in the path. It don't matter if it is a Windows or Linux path.
I wrote my program in NetBeans 6 and also used its TopLink Essentials Library. Everything works as it should, but if I place the created jar file (whole /dist folder) in a path with a german umlaut, it dont work anymore.
javax.persistence.PersistenceException: No Persistence provider for EntityManage
r named Project_Gartenverein: The following providers:
oracle.toplink.essentials.PersistenceProvider
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider
Returned null to createEntityManagerFactory.
at javax.persistence.Persistence.createEntityManagerFactory(Persistence.
java:154)
at gui.MainWindow.init(MainWindow.java:61)
at gui.MainWindow.<init>(MainWindow.java:41)
at gui.MainWindow$5.run(MainWindow.java:408)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Tried on Windows XP SP2 and Ubuntu 7.10 (Gutsy)
If you need more informations, please ask.
I hope someone can help me with that.
[Message sent by forum member 'x3cion' (x3cion)]
http://forums.java.net/jive/thread.jspa?messageID=251211