[JBoss-user] [Datasource Configuration] - Datasource in JBoss3.2

2004-02-15 Thread mandarjboss
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821642#3821642 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821642 Here is a whole problem. I am trying to create a datasource in JBoss for PostgreSQL. According to sta

[JBoss-user] [Datasource Configuration] - Re: Datasource in JBoss3.2

2004-02-16 Thread mandarjboss
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821682#3821682 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821682 Hi JAshwin Thanx for replying but it is not working .Also there is no problem with database ur

[JBoss-user] [EJB/JBoss] - Help needed for J2EE with JBoss

2004-02-17 Thread mandarjboss
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821811#3821811 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821811 I am trying to build a J2EE application with JBoss and PostgreSQL. In simple words i am trying to inse

[JBoss-user] [EJB/JBoss] - CMP:Where my data is going?

2004-02-19 Thread mandarjboss
To, Mr. Bandaru Kagaru, I am trying to develop a J2EE(CMP2.0 based) application with JBoss3.2.2.I am able to successfully configure the datasource for PostgreSQL.I have tested the datasource with manual lookup and connection establishment. It is successful. Now the prob

[JBoss-user] [EJB/JBoss] - Re: CMP:Where my data is going?

2004-02-19 Thread mandarjboss
Hi triahlon98 Thanx for ur reply.But i really didn't understand what u want to say.If u look closely i don't think there is any difference between my jbosscmp-jdbc.xml and what u have stated here. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822233#3822

[JBoss-user] [Persistence & CMP/JBoss] - Jboss does not accept .. why?

2004-02-22 Thread mandarjboss
I am using JBoss for an enterprise application development.I am accesing the EJB called "QuestionBean" from a Servlet. I have mapped QuestionBean to PostgreSQL.My application gets deployed Successfuly.But when i execute the application it searches for a table called "questionbean" in Postgre dat

[JBoss-user] [Persistence & CMP/JBoss] - CMP Problem : Please Help

2004-03-01 Thread mandarjboss
I am using JBoss for an enterprise application development.I am accesing the EJB called "QuestionBean" from a Servlet. I have mapped QuestionBean to PostgreSQL .My application gets deployed Successfuly.But when i execute the application it searches for a table called "questionbean" in P

[JBoss-user] [Persistence & CMP/JBoss] - Re: Auto Increment primary key in postgresql: Functional ex

2004-03-02 Thread mandarjboss
Hi, bobsworld, Can you share your solution to auto-increment primary key problem with me.Beacuse when i tried the example given here i get the error as Could not create entity:java.sql.SQLException: ERROR: ExecInsert: Fail to add null value in not null attribute id I feel that is obvo

[JBoss-user] [Persistence & CMP/JBoss] - Re: Auto Increment primary key in postgresql: Functional ex

2004-03-02 Thread mandarjboss
Hi, bobsworld, Thanks a lot for sharing such a valuable code.I think if u can post this code separately with title such as "CMP auto-pk increment Works!" it will help many JBoss developers and will find it extremely useful like me.You will receive bunch of thanks everyday.

[JBoss-user] [Persistence & CMP/JBoss] - CMP:auto-pk-increment problem with PostgreSQL

2004-03-02 Thread mandarjboss
I am trying to implement auto-increment of primary key feature of JBoss3.2. I am giving following code and allowing JBoss to auto-create the tables. But i am still getting the exception as, java.sql.SQLException: ERROR: ExecInsert: Fail to add null value in not null attribute id /* * Created

[JBoss-user] [Persistence & CMP/JBoss] - CMR with EJB2.0 + JBoss3.2

2004-03-05 Thread mandarjboss
I am trying to implement the CMR relationship between a QuestionBean and a ChoiceBean.There is one-to-one realtionship between these two entity beans.I have following portion of deployment descriptor created by XDoclet for me. Question-Has-A-Choices Qu

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR with EJB2.0 + JBoss3.2

2004-03-08 Thread mandarjboss
Hi sesques, Thanx for ur reply.I really could not figure out the problem. Well I have now changed the database schema as Question q_id q_text rightChoice choiceid Choice choiceid choice1 choice2 choice3 Well the portion of ejb-jar.xml is not much different. As u can see from the d

[JBoss-user] [Persistence & CMP/JBoss] - Re: Auto Increment primary key in postgresql: Functional ex

2004-03-08 Thread mandarjboss
Hi bobs, Thanx for ur reply. I tried ur example but unfortunately it does not work. Jboss is still throwing the same exception, 18:48:46,000 INFO [STDOUT] Could not create entity:java.sql.SQLException: ERROR: ExecInsert: Fail to add null value in not null attribute id 18:4

[JBoss-user] [Persistence & CMP/JBoss] - Re: Auto Increment primary key in postgresql: Functional ex

2004-03-08 Thread mandarjboss
Hi admiyo, You have written that you have auto-increment working.I would like to know which version of PostgreSQL u r using ? Can u post ur working example here? http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824852#3824852";>View the original post http://www.jboss.org/i