${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
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
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.
---
***
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
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
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
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
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
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
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
Please unblock the email from
Torque-user@db.apache.org
Turbine-user@jakarta.apache.org
Velocity-user@jakarta.apache.org
Thanks.
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
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
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 /
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]
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
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
Where could I download the new released Torque?
Thanks,
Jill
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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 =
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 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
How to create a view from existing table using Torque?
Appreciate.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
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
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?
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
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!
27 matches
Mail list logo