RE: m2 torque plugin

2007-09-28 Thread jill han
${torque.test.driver.groupId} >>${torque.test.driver.version} >> >> >> >>Probably you only need one execution. Also you need to fill the ${...} >>variables with correct values (you can

RE: m2 torque plugin

2007-09-24 Thread jill han
Thanks for the reply, Thomas I am using torque-3.1.1 Is there any sample pom to show how the is constructed? Thanks, Jill Thomas -Original Message- From: jill han Sent: Tuesday, September 18, 2007 1:52 PM To: 'Apache Torque Users List' Subject: m2 torque plugin I just

m2 torque plugin

2007-09-18 Thread jill han
I just moved from m1 to m2, but could not get torque plugin work. with m1, I used command, maven torque:om, which will build db object from *schema.xml. I could not find instructions on doing this. Is there anybody who has done it and like to offer some helps? I really appreciate. ---

Re: stored procedure

2007-07-12 Thread jill han
*** Any other instructions? Appreciate. Jill -Original Message- From: Thomas Vandahl <[EMAIL PROTECTED]> Sent: Wed, 11 Jul 2007 20:33:38 GMT To: Apache Torque Users List Subject: Re: stored procedure jill han wrote: > String sql = "exec doLogin(" + clientNam

stored procedure

2007-07-11 Thread jill han
I could find the answers at http://wiki.apache.org/db-torque/FrequentlyAskedQuestions however, the stored procedure is one of oracle object type which sits in db server. It is not bound to a specific objectPeer as said. When I wrote a program to run as the sample instructed, the program will enco

application sequence vs table sequence

2007-06-21 Thread jill han
In the application, just one sequence is created, object_id_seq, to generate the object_id for all the tables in the db. Do you think each table should have its own sequence? Which is better, i.e., one sequence for entire db(schema) or multiple sequences for each table, in terms of performance? T

RE: encrypt database user info in the Torque.properties?

2007-05-29 Thread jill han
compile them and find your key values and encryption methods... > -----Original Message- > From: jill han [mailto:[EMAIL PROTECTED] > Sent: Thursday, May 24, 2007 6:01 PM > To: Apache Torque Users List > Subject: encrypt database user info in the Torque.propertie

encrypt database user info in the Torque.properties?

2007-05-24 Thread jill han
I put database user login data in the Torque.properties as torque.dsfactory.default.connection.user = username torque.dsfactory.default.connection.password = userpassword At first, I think it is quite common practice. Now somebody questioned it for the security reason, saying "Storage of user i

business tier and data tier

2007-05-21 Thread jill han
If this kind of subject is not supposed to be discussed in the group, I apologize. I use turbine/torque/velocity in the application. In the java object class, the objects that retrieve data through torque are created in order to be referenced in the velocity template. Is this kind of practice viola

torque vs hibernate

2007-04-02 Thread jill han
Recently, a consulting firm evaluated our current turbine/torque/velocity application. Here are what they say about Torque, 1)Torque forces the definition of one-to-one mapping from relational model to business model. One-to-one mapping limits the design of business domain objects to the design of

email

2007-02-09 Thread jill han
Please unblock the email from Torque-user@db.apache.org Turbine-user@jakarta.apache.org Velocity-user@jakarta.apache.org Thanks.

RE: Exception

2007-02-08 Thread jill han
t to use the newer JVM > On Thu, 2007-02-08 at 14:39 -0600, jill han wrote: >> >From the log file, the exception is caused by >> ** >> 2007-02-08 14:29:07,586 [main] ERROR >> org.apache.turbine.services.BaseServiceBrok

RE: Exception

2007-02-08 Thread jill han
ate com.nequalsone.webservice.FormLetter: com/nequalsone/om/BaseLibraryItem (Unsupported major.minor version 50.0) ** Any helps will be appreciated. Jill -Original Message- From: jill han Sent: Thursday, February 08, 2007 10:35 AM To: 'Turbi

failed on db object build

2007-01-30 Thread jill han
I use maven to build db objects. It has always been successful until today. I am not quite sure what I messed up. Below is the message --- C:\sourceCode\neo-master\neo>maven torque:om __ __ | \/ |__ _Apache__ ___ | |\/| / _` \ V /

java.lang.OutOfMemoryError

2006-12-18 Thread jill han
What could cause java.lang.OutOfMemoryError ? The application is built on turbine/torque/velocity. Thanks in advance Jill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: download Torque

2005-12-14 Thread jill han
I didn't see any Zip link. -Original Message- From: Jim Caserta [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 12:00 PM To: Apache Torque Users List Subject: RE: download Torque Binary or Source? Did you click on the Zip link? --- jill han <[EMAIL PROTECTED

RE: download Torque

2005-12-14 Thread jill han
Jim Caserta [mailto:[EMAIL PROTECTED] Sent: Wednesday, December 14, 2005 11:46 AM To: Apache Torque Users List Subject: Re: download Torque Here ya go.. http://db.apache.org/torque/download.html --- jill han <[EMAIL PROTECTED]> wrote: > Where could I download the new rele

download Torque

2005-12-14 Thread jill han
Where could I download the new released Torque? Thanks, Jill - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

RE: how to write a query with Date type

2005-11-09 Thread jill han
ectColumn("Round(Avg(" + aTablePeer.aColumn + "), 2)") -Original Message- From: Dave Newton [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 10:22 AM To: Apache Torque Users List Subject: Re: how to write a query with Date type jill han wrote: >Below is a piece of cod

how to write a query with Date type

2005-11-09 Thread jill han
Below is a piece of code to get records from a table and exception // startDate and endDate are Date object // aDate has Date data type in oracle db String sql = "Select * from aTable "; sql = sql + " Where aDate "; sql = sql + " Between '" + startDate + "' And '" + endDate + "' "; List sqlResult =

How to round a avg

2005-10-31 Thread jill han
I tried to get a query like: Select id, round(avg(rating), 2) >From aTable Where aId = 1 and rating > 1 Group by(id); by the codes: Criteria crit = new Criteria(); crit.add(aTablePeer.a_ID, 1); crit.add(aTablePeer.RATING, 1, Criteria.GREATER_THAN); crit.addSelectColumn(aTablePeer.ID); cr

how to write a criteria involved with count, group

2005-09-07 Thread jill han
How can I write a criteria that is equivalent to: SELECT USER_NAME, COUNT(USER_NAME) NUMOFUSERS FROM USERTABLE WHERE USER_ID = GROUP BY USER_NAME; Thanks in advance. Jill - To unsubscribe, e-mail: [EMAIL PROTECTED] For add

create a view

2005-07-26 Thread jill han
How to create a view from existing table using Torque? Appreciate. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

FW: Speed

2005-05-04 Thread jill han
I hope the file will be attached correctly this time. Thanks a lot. -Original Message- From: jill han Sent: Wednesday, May 04, 2005 11:04 AM To: 'Apache Torque Users List' Subject: Speed We have a web application built with Turbine/Torque(Oracle)/Velocity. The problem is th

Speed

2005-05-04 Thread jill han
We have a web application built with Turbine/Torque(Oracle)/Velocity. The problem is that it will take about 6 minutes to generate such a report. See the attached. I am not sure what caused that, db issue? Or template issue? Is there anyway that may help to speed it up?

RE: select max(column)

2005-04-05 Thread jill han
I tried to get a max value of a column with type date. The codes are like: Criteria crit = new Criteria(); crit.add(Peer.String, Object, Criteria.EQUAL); crit.addSelectColumn("MAX(" + Peer.aDate + ")"); crit.add(Peer.String, Object, Criteria.EQUAL); List result = Peer.doSelect(crit

ava.lang.Exception: org.apache.torque.TorqueExcetip: Timed out waiting for pooled connection from 'null'

2004-12-02 Thread jill han
When asking to do computation on over 80 records in Oracle, I got such Exception. Would you help me figure out what went wrong? Appreciate!