Impetus / kundera

A JPA 2.1 compliant Polyglot Object-Datastore Mapping Library for NoSQL Datastores.Please subscribe to:

Home Page:http://groups.google.com/group/kundera-discuss/subscribe

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug in com.impetus.kundera.classreading.Reader - getResourceIterator

Kinle opened this issue · comments

A Spring project was created with name that have spaces.
When persistence.xml doesn't have any configured, it scans for entity classes in classpath.
Since the path is URL encoded, spaces converts to %20 and the URL String doesn't seem to read the file.
Suggestion: String urlString = url.toString(); can be changed to url.getFile() in Line 137

@Kinle url.getFile() will also return string with spaces converts to %20

I've also encountered this issue, it'd be nice if someone could look into resolving it.