users@glassfish.java.net

Re: EJBQL Question

From: <glassfish_at_javadesktop.org>
Date: Thu, 10 May 2007 06:27:21 PDT

Hey,

Truely, I didnt have a set method for 'getAsString', I've added one -only- to parent, but still, I get the same error,

With logging being set to FINEST, I see:

[#|2007-05-10T17:14:15.906+0300|CONFIG|sun-appserver9.1|oracle.toplink.essentials.session.file:/C:/data/dev/glassfish/domains/domain1/applications/j2ee-apps/edentity/edentity-ejb_jar/-pu1.ejb_or_metadata|_ThreadID=20;_ThreadName=httpWorkerThread-4848-1;|The column name for element [public java.lang.String edentity.entity.Value.getAsString()] is being defaulted to: ASSTRING.|#]

Without any warnings,

Well, Three questions:

1) Is it okay that the get method in parent is abstract?
2) Is it okay that the 'setAsString(String str)' in parent abstract ?
3) Should I define setAsString/getAsString methods on each child? or is it okay to have a 'set' method over parent which returns null (since it's not in use anyway)

Although I tried each of them, I still get the same error.


Thanks!
[Message sent by forum member 'trouby' (trouby)]

http://forums.java.net/jive/thread.jspa?messageID=216318