I am using jboss-4.0.4 RC1 with Hibernate 3.1.2
try to excute a simple Update SQL in my app through normal routine
something like
q= em.createQuery("update ."); (the statement is very basic)
q.getSingleResult();
no alias in the query, I got "not supported for DML operations" exception
my
there are parent/child tables in the persist level of my app.
I am trying to use EJBQL to update the child table, link one row to the parent
something like this:
q = em.createQuery("update child c set c.parent = :PAR where c.id=1");
q.setParameter("PAR", parent);
here parent is a exsisting deta
I am useing eclipse 3.1.2, jboss 4.0.4RC1 and seam 1.0 beta2
and try to use the reverseengineering, just downloaded nightly build
200603141225.
but whenever I want to create hibernate consloe config, eclipse pop out error
window with title Hibernate Console
Error
Reason:
Details
java.lang.Nu
ya, that might be the reason
I managed to slove the import problem by include the annotation jar into the
project.
but the structure of the project is a mess.
and I got
ERROR [[/seamapp]] Exception sending context initialized event to listener
instance of class org.jboss.seam.servlet.SeamListen
I just tried the reverse engineering tool
it says org.jboss.annotation.ejb.LocalBinding can't reslove
what jar I need to include into classpath?
thanks alot.
and I don't know if it's only me, my generated code doesn't have folder, all
code, pages have been put into package format for some reason
the following code works in 4.0.3 but not in 4.0.4RC1
InitialContext ctx = new InitialContext();
return (sessionDomainMng) ctx.lookup(sessionDomainMng.class.getName());
I got exception:
10:49:49,784 ERROR [STDERR] javax.naming.NameNotFoundException:
org.jboss.pdns.sessionejb.sessionDomainMng no