Menu

#7 parse error on uniqueid

open
nobody
None
5
2002-01-11
2002-01-11
No

When deploying ejbutils with a unique id of "testbox",
I get this error message when calling
UIDDispenser.getDispenser().getNextId() from another
EJB;

javax.ejb.CreateException: Could not create
entity:java.sql.SQLException: ERROR: parser: parse
error at or near "testbox"

This problem is solved if I hard code in "testbox" as
the value for "theName" in the three calls to
ps.setString(1, theName) in
src/main/org/ejbutils/uid/UIDHighKeyGeneratorBean.java

I am using JBoss-2.4.4

Discussion


Log in to post a comment.

MongoDB Logo MongoDB