-
1. Re: jboss3.0 cmp problem
fsaint Sep 25, 2002 3:21 PM (in response to solidboy)It is not so clear what want to do. do you want a table composet of one atribute named allnames?
in that case you need to define the signature as
public abstract String getAllNames();
public abstract void setAllNames(String name);
and the table would look like
+----------
| allnames
+----------
| aaa
| bbb
| ccc
+----------
after a few setAllNames .... I dont think is possible
to set an array as type for the signature. You may later
make a finder thar returns a java.util.Collection that
gets all names. -
2. Re: jboss3.0 cmp problem
fsaint Sep 25, 2002 3:22 PM (in response to solidboy)It is not so clear what want to do. do you want a table composet of one atribute named allnames?
in that case you need to define the signature as
public abstract String getAllNames();
public abstract void setAllNames(String name);
and the table would look like
+----------
| allnames
+----------
| aaa
| bbb
| ccc
+----------
after a few setAllNames .... I dont think is possible
to set an array as type for the signature. You may later
make a finder thar returns a java.util.Collection that
gets all names. -
3. Re: jboss3.0 cmp problem
fsaint Sep 25, 2002 3:24 PM (in response to solidboy)It is not so clear what want to do. do you want a table composet of one atribute named allnames?
in that case you need to define the signature as
public abstract String getAllNames();
public abstract void setAllNames(String name);
and the table would look like
+----------
| allnames
+----------
| aaa
| bbb
| ccc
+----------
after a few setAllNames .... I dont think is possible
to set an array as type for the signature. You may later
make a finder thar returns a java.util.Collection that
gets all names. -
4. Re: jboss3.0 cmp problem
solidboy Sep 25, 2002 11:06 PM (in response to solidboy)what you said is not my meaning!!!
I just want to store a String array .
I test it with jboss2.4.4+tomcat3.2.3 ,it successed!!
Maybe,its jaws for EJB2.0 has bugs(jboss 3.0.0),for EJB1.1 no problem.