[JBoss Seam] - Char vs. VarChar
by vcordaro12
For some reason when a column in my postgres database is defined as CHAR(*), it will not resolve properly when validating the generated bean against the database. I ended up having to change my datatypes to VARCHARS. Anyone know anything about this?
11:56:48,412 INFO [TableMetadata] table found: adlib.profile_changelog
11:56:48,412 INFO [TableMetadata] columns: [pcl_text, pcl_id, pcl_flags, pcl_prof_id, pcl_datetime]
11:56:48,414 WARN [ServiceController] Problem starting service persistence.units:ear=adlib_persistence_generator.ear,unitName=adlib_persistence_generator
javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: pcl_flags, expected: varchar(10)
at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:127)
at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108189#4108189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108189
18 years, 5 months
[JBoss jBPM] - Re: Problems
by kaledev
sorry for not being more specific with the title - it was meant to be posted in the sticky topic for the tutorial but I accidentally hit new post thinking it would post there ... this was the tutorial I was speaking of. I was able to use it until a certain point. I do have 3.2.2 but all of my menus in eclipse are completely different than the ones in the tutorial and some don't exist. Such as right clicking does not allow me to add actions - I have to do so through the properties menu at the bottom.
I am not sure whether the tutorial is out of date for this version or if I have something going wrong on my end. I can also not find a tutorial on creating a process from scratch. Although I learned a lot from the tutorial I appear to not be able to create forms because when I deploy it shows a blank screen where my forms and buttons should be. I have compared xhtml files with working examples but I cannot find the problem.
Aside from that I cannot figure out what variables should go where, how to name swimlanes, assigning them, and just general from scratch usage. when comparing working files I keep getting a message to convert to the format I am using which leads me to suspect I have a newer version. I have basically hit a brick wall with the designer and need some help.
Like I said I have tried to search google for tutorials and only come up with the one you gave me and sparse blog entries. Is there anything else that has a step-by-step tutorial that explains the basics of the designer and what all the attributes are, how to set them, what to set? Thanks!,
Mike
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108181#4108181
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108181
18 years, 5 months