[JBoss-user] [EJB/JBoss] - Jboss dynamic sql ParseException

2006-01-05 Thread sunonepp
Hi,
Whatever  I try, I always get ParseException error.
The sql after compilation is:

SELECT OBJECT(s) FROM EJBBean AS s WHERE s.branch_id IN (?1, ?2, ?3, ?4)  AND 
s.sDate >= ?5 AND s.sDate <= ?6 

The details is :
Encountered "1" at line 1, column 74.
Was expecting one of:
"ABS" ...
"COUNT" ...

column 74 is just at ?1 position.

But the sql is correct and I checked the object[] args which is also correct.
Any one can help?
Thanks

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915989#3915989

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915989


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to make Jboss 4.0.1 run as service on linux(debian)?

2005-12-11 Thread sunonepp
Hi All:
How to make Jboss 4.0.1 run as service on linux(debian)?
I tried several scripts but seems cannot work.

Thanks!

sunonepp



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911984#3911984

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911984


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - Re: I think the jbosscmp-jdbc.xml in chapter 7 is not correc

2005-04-13 Thread sunonepp
the workbook version is 4

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873697#3873697

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873697


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [O'Reilly JBoss 3.0/4.0 Workbook] - I think the jbosscmp-jdbc.xml in chapter 7 is not correct.

2005-04-12 Thread sunonepp
Hi, 
I think the jbosscmp-jdbc.xml in chapter 7 is not correct because it have to 
declare some rrelations of the entity beans like below:


  
 Customer-Address
 
 

Customer-has-a-Address

 
 

Address-belongs-to-Customer

   
  id
  address_id
   

 
  

If so, where can I get the correct one?
Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873691#3873691

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873691


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - xml error in jbosscmp-jdbc

2005-04-07 Thread sunonepp
Hi,
My database is Postgresql8 and I have a column which is serial(auto increase) 
type.

I followed the instruction in the jboss document as below:

  

  LocationEJB
  false
  location
 
  
locationID
id

  
  
  
 

  


but I got a xml error that the element type  and 
 must be declared.

Any one can help me solve the problem?
Thanks!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873167#3873167

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873167


---
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user