so you got me thinking on the right track... it was due to a persistence.xml
config that had hibernate login info overriding the datasource config. I
removed the username/passwd from the persistence.xml and all it good now.
Thanks!
View the original post :
http://www.jboss.com/index.html?modu
Hi,
I've configured two datasources in /server/default/deploy, as shown below, and
one goes to oracle, and the other goes to mysql.
Problem is this... I can connect to mysql via a java test program, but it won't
connect from jboss. Funny thing is that it is using a username that I've taken
o
I figured out the problem I was having, and hopefully this may help you...
Make sure to put a try-catch around the entire body of code for your EJB
interfaces. Basically I was having a problem with the SLSB.method, when it
tried to invoke a SFSB.method2.
I my body of code for "SLSB.method" I
I am interested in solving this problem as well - I have worked on this for the
last 1.5 days, and searched the forums for a solution, but can't find any? Has
anyone been able to get a REMOTE EJB3 client working with jboss? If so please
explain the steps...
If I include my jar file that has th
Georges,
I am having almost the same problem. My scenario is different, but the
DataModel is being cached... and if I change the datamodel to stateless or the
SFSB to SLSB, it complains w/ exceptions.
How did you solve your problem?
Can you give me code samples?
Thanks!
View the original post :
my xml didn't show up in the previous post - I will enclose in "code" tags -
this is what I had to get rid of :
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045823#4045823
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=rep
I fixed the problem - it was that the persistance.xml had the following defined.
I needed this to run the "seam generate-entities" or else all the tables in the
system space were being generated to.
Thank you for your code suggestion.
-Joel
View the original post :
http://www.jboss.com/ind
I fixed the problem - it was that the persistance.xml had the following defined.
I needed this to run the "seam generate-entities" or else all the tables in the
system space were being generated to.
Thank you for your code suggestion.
View the original post :
http://www.jboss.com/index.htm
Sorry. I know this is slightly off topic of your question - please forgive me.
but I am still having the same problem whereby, it says the sequence does not
exists... I am using jboss-4.0.5.GA w/EJB installed on Window XP runing 10g XE
on same machine.
This one issue is enough to kill my proj
Thanks for the info on the sequence - but it still gives me the same problem:
12:15:22,362 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
--- MBeans waiting for other MBeans ---
ObjectName: persistence.units:ear=naturalmed2.ear,unitName=naturalmed2
State: FAILED
Reason: javax.pe
Hello, can someone give me some advice on how to setup a generated ID with
Oracle, hibernate and SEAM...
I have been trying to do a variety of ways - like "before insert" triggers and
coupled with @GeneratedValue(strategy=GenerationType.IDENTITY) or
@GeneratedValue(strategy=GenerationType.AUTO)
I'd like some help with how the JSF dataTable
and single/multi selects are setup and how to setup
the SLSB to handle the SAVE on this scenario.
Here are the objects and tables roughed in .
public class Person
{
String FNAME="";
List preferences=null;
@ManyToMany
@JoinTable (name="Per
thanks! I'll check that out (hibernate.default_schema) - I redid my "setup" and
specified the schema and that worked. You'd think it would default to the
"user", if not specified - but perhaps that may be too specific behaviour to
Oracle and not other database vendors.
View the original post :
Hello Petemuir - thanks for replying - I just gave these as examples of a
many-to-many relationship. I don't have them to post, but besides it is a bit
irrelevant since the question is really about what is the best way to manage
dynamically generated jsf-seam components that have a master-detail
for some reason "seam generate-entities" is giving all the tables (including
system tables) in my oracle 9i database (w/ 10g jdbc driver). How can I limit
it to just the tables in my user's schema?
[hibernate] WARNING: The JDBC driver didn't report any primary key columns in US
| ER_REPCOLUM
Hello,
Lets say i have a user that has a M-M relationship with preferences.
The preferences should show up as "Checkboxes" or "RadioButtons" on the screen.
I create the POJO user class with a Set of preferences annotated with
Many-to-Many. The list of available preferences (from the system) are
16 matches
Mail list logo