This was my last try:@In EntityManager entityManager;
| @Transactional
| @Begin(flushMode=FlushModeType.MANUAL, join=true)
| public String persist() {
| log.info("Override persist");
| getEntityManager().joinTransaction();
| ge
The database is Oracle. Does that make a difference?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084789#4084789
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084789
___
j
I did try that and it didn't make a difference.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084788#4084788
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084788
___
jboss-u
I have the following in an entityhome class and am finding that the flush does
not cause the record to be written to the database. The record gets written
when the method ends. I need the flush to work so that the other method called
moveTempRecord() can do some post processing.
| @In Enti
This is being called from an EitityHome class created using the Seam
generate-entities.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084736#4084736
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084736
__
I am trying to do some post processing after a record is entered into a
database and am finding the flush is not causing the record to be written.
This is my code:
|@Override
| public String persist() {
| String retval = super.persist();
| EntityMa
Sure, I am working from the seam generated CRUD resulting from reverse
engineering a database. I am using seam version 1.1.6 and JBoss version 4.0.5
GA. Can you show me a simple example. It seems pretty straightforward, so I
don't know why the breakpoint is not getting hit.
Thanks for your h
Does anyone know the answer??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4083462#4083462
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4083462
___
jboss-user mailing list
j
I am trying to override the update method of an EntityHome object that was
created using generate-entities. I have the following:
@Override
| public String update() {
| String retval = super.update();
| return retval;
| }
I have also added the followin
Does it fail because there can not be any null values in the primary key? If
so what is the best way to deal with this??
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4082785#4082785
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&m
I have a website created using seam generate-entities and am having a problem
with blank search results when all the columns in the associated database table
do not contain data. The search results list only displays the Select link.
If all table fields contain data then the proper display is
I am getting the following error when going from the List page to the view page
in a seam crud auto generated website.
cause
class class java.text.ParseException
errorOffset 0
localizedMessageUnparseable date: "2007-09-03"
message Unparseable date: "2007-09-03"
stackTrace
2007-08-22 15:54:36,163 ERROR [STDERR] Aug 22, 2007 3:54:36 PM
com.sun.facelets.FaceletViewHandler handleRenderException
| SEVERE: Error Rendering View[/TempSubCavCharEdit.xhtml]
| java.lang.NullPointerException
| at org.jboss.seam.ui.UISelectDate.encodeBegin(UISelectDate.java:73)
|
s:convertDateTime is giving me a java.lang.NullPointerException error when used
to convert an Oracle date field. This same converter worked fine with mySQL
database. Does anyone know how to use the converter with Oracle?
Thanks,
Kim
View the original post :
http://www.jboss.com/index.html?mo
I have the same code:
with a mysql database and there is no error so this is related to the date
conversion with Oracle. Does anyone have any experience with Oracle and seam?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077102#4077102
Reply to the post :
Someone else must have encountered the same problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077099#4077099
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077099
___
jb
I used seam generate-entities to reverse engineer a database and am getting the
following error when trying to create a new record that contains date fields.
The database is Oracle Express 10g.
13:32:02,265 ERROR [STDERR] Aug 22, 2007 1:32:02 PM com.sun.facelets.FaceletView
| Handler handleRen
There are no error messages in the log. The database is Oracle Express 10g.
The version of seam is 1.1.6 GA.
Thanks,
Kim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075978#4075978
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&
I am having a problem with code from the seam generate-entities utility. On
the List page the search results show all database table fields blank with only
a select link in the last column. The object holding the table data is not
getting populated. I have not modified the generated code. Wh
I took the seam jars from version 1.2.1 and put them in the lib directory of my
project and built the project but I still get the same error. What am I doing
wrong?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069445#4069445
Reply to the post :
http://
Yes, that is what I did so now I have a directory with the date. So now I take
all the jars in that dated directory and put them in the lib directory of my
project and then build my project?
Thanks for helping,
Kim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopi
How do I upgrade my Seam version? I tried to follow the few directions that
were on the jboss site but am still using the older version. Could someone tell
me what to do or point me to some detailed directions?
I really appreciate your help.
Thanks,
Kim
View the original post :
http://www.jbos
How do I upgrade my Seam version? I tried to follow the few directions that
were on the jboss site but am still using the older version. Could someone tell
me what to do or point me to some detailed directions?
I really appreciate your help.
Thanks,
Kim
View the original post :
http://www.jbos
How do I upgrade my Seam version? I tried to follow the few directions that
were on the site. Could you tell me what to do or point me in the direction of
some detailed directions?
I really appreciate your help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
This is the error:
An Error Occurred:
/ClassificationsEdit.xhtml @47,56 Tag Library supports
namespace: http://jboss.com/products/seam/taglib, but no tag was defined for
name: convertEntity
+- Stack Trace
com.sun.facelets.tag.TagException: /ClassificationsEdit.xhtml @47,56
Tag Library suppor
Yes, I am using facelets, but am getting the error I mentioned. Do I have
something set up incorrectly? I thought I followed the directions on the jboss
site. I think I just typed ant from the 1.2.1 GA directory and it said that it
was successful. I don't know what else I was supposed to do.
I have asked this before but no one has ever answered. I am trying to use
s:convertEntity with a selectOneMenu but get an error that the convertEntity
tag is not defined. I am using seam 1.2.1. I upgraded from seam 1.1.6. The
project was created using seam generate-entities. I have spent mu
I would like to populate a selectOneListbox with the names of all the tables in
a mysql database. I would do this by querying the database. I know the sql
statement to use but am not sure how to get this information into a list so
that it can be used in s:selectItems. Does anyone know how I wo
Is this something I can manually configure or should I create a custom
converter? I am new to seam but it seems this is something pretty common that
I am trying to do.
Thanks for any help,
Kim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067551#4067551
R
I am trying to use selectitems but am getting the following error:
Tag Library supports namespace:
http://jboss.com/products/seam/taglib, but no tag was defined for name:
convertEntity
I am using version 1.2.1 of Seam but am not sure how to set up the
convertEntity. This is what I have:
I tried convertEntity but am getting the following error:
Tag Library supports namespace:
http://jboss.com/products/seam/taglib, but no tag was defined for name:
convertEntity
What am I doing wrong?
Thanks,
Kim
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&
I have seen that example but don't know how to get continents. I think in that
example there is a statement in the components.xml that makes the query. Is
that the only way and when do I need a custom converter?
Thanks,
Kim
View the original post :
http://www.jboss.com/index.html?module=bb&op
I am new to seam and am looking for a simple example for populating a
s:selectItems from a mySQL table. I used seam-gen to set up a CRUD project and
would like dropdowns for foreign keys rather than ids. I have looked over many
examples and am not sure how to proceed. All examples I have tried
33 matches
Mail list logo