-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Hi,
I just tried to do a native 'select * from JPAUserMessage'.
I got an error. It looks like SimpleDBQuery.replaceClassName() isn't doing well.
I mimic line 67 with the above query:
String persistenceUnitName = "PU";
String className = ""; !!
String test = "select count() from PU-JPAUserMessage".replaceFirst(className, ""+persistenceUnitName+"-JPAUserMessage");
this results in "'PU-JPAUserMessage' select count() from 'PU-JPAUserMessage'"
so, when the className resolves to "" by matcher.find (which it does for the above query), the select expression isn't correct anymore.
Regards,
Duncan
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels