Re: 3.3 to 4.0 migration

2014-09-06 Thread Scott Eade
On 7 Sep 2014, at 12:22 pm, Youngho Cho youngho1...@gmail.com wrote: Hello I am preparing torque 3.3 to 4.0 migration. I read torque-4.0/documentation/orm-reference/migration-from-torque-3.html. But I hope to know more detail information. Is there any more detail document /

Re: Will migrating from 3.0 to 3.3 help me?

2008-10-02 Thread Scott Eade
Scott Eade wrote: Richard Walker wrote: The first thing I noticed was the huge difference in performance using different versions of JDBC drivers. Older versions (e.g., pg74.216.jdbc3.jar) work well; newer ones (e.g., one I tried for PostgreSQL 8.2, postgresql-8.2-506.jdbc3.jar) don't

Re: Will migrating from 3.0 to 3.3 help me?

2008-09-30 Thread Scott Eade
Richard Walker wrote: The first thing I noticed was the huge difference in performance using different versions of JDBC drivers. Older versions (e.g., pg74.216.jdbc3.jar) work well; newer ones (e.g., one I tried for PostgreSQL 8.2, postgresql-8.2-506.jdbc3.jar) don't. The difference is

[ANNOUNCE] Proposed Torque 3.3 final release - please test RC-3 now

2008-01-22 Thread Scott Eade
We are looking to cut Torque 3.3 final in the next week or so. We would appreciate it if you could test RC-3 with your applications and report any issues ASAP. Thanks, Scott Thomas Vandahl wrote: The Torque team is pleased to announce the Torque 3.3-RC3 release!

Re: LargeSelect example ?

2007-10-30 Thread Scott Eade
LargeSelect exists specifically so that you can read through a large number of records in chunks of size memoryPageLimit. If you want to read all of the records into memory at once you would not use LargeSelect. If all the records will not fit into memory then you use LargeSelect to

Re: LargeSelect example ?

2007-10-29 Thread Scott Eade
I hadn't been paying close attention to this thread, but it seems that the a couple of points are somehow being missed: 1. If you have a large amount of data, how much of it is the user actually going to practically be able to view. It is not such a good idea to provide the user with a means

Re: 3.3RC2 Maven2 Plugin usage

2007-03-09 Thread Scott Eade
Jeffrey D. Brekke wrote: We've converted our project over to 3.3-RC2 ( which is using the maven2 plugin as well ). All is working good. Thanks again. Hi Jeffrey, I am having a crack at moving a turbine (2.3.2) project over to m2 and torque 3.3.rc2 but I am running into a problem whereby

Re: Error executing 'maven torque'. Xerces class not found

2005-07-08 Thread Scott Eade
Look in BaseAddressPeer: public abstract class BaseAddressPeer extends _BasePeer_ What do you know, BasePeer includes: protected static Log log = LogFactory.getLog(BasePeer.class); Scott - To unsubscribe, e-mail: [EMAIL

Re: How to fetch the rows with Peer class

2005-04-05 Thread Scott Eade
(); st.close(); If you know how to do, Could you give me advice ? What you really need is the LargeSelect class - look at the JavaDoc and test cases for usage. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Getting Started...HELP

2005-02-22 Thread Scott Eade
at org.apache.torque.engine.database.model.AppData.getIdiosyncrasies(AppData.java:145) snip/ From your error message I suspect that either you have not configured the Torque Generator Properties or they are not in the location that maven is looking for them. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: FW: Maven Torque Plugin Status

2004-10-19 Thread Scott Eade
declaration and all should be well: !DOCTYPE database SYSTEM http://db.apache.org/torque/dtd/database_3_1.dtd; Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL

Re: Maven Torque Plugin Status

2004-10-02 Thread Scott Eade
with corrections when time becomes available. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: torque table schema- how to alter existing table

2004-09-20 Thread Scott Eade
is done manually. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: BUGREPORT

2004-09-06 Thread Scott Eade
the documentation for cvs HEAD, this is where development of Torque 3.2 is taking place. If you select the Torque 3.1.x docs link in the menu you will get to the docs for 3.1.1-rc3-dev which includes a copy of the tutorial that refers to the latest available release (3.1.1-rc2). Scott -- Scott

Re: Setting Windows-1250 character encoding via the database URL.

2004-09-04 Thread Scott Eade
-1250 in the database url. How would I go about this in Torque. DO I simply add a string to my Torque.properties or is there something in torque? Yes, just add the string to the url in Torque.properties. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: my experience with torque

2004-08-23 Thread Scott Eade
. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: single column pk tables

2004-08-23 Thread Scott Eade
to the table definition. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Documentation updates, patches, moving towards a 3.1.1 release

2004-08-20 Thread Scott Eade
better make it known ASAP. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Documentation updates, patches, moving towards a 3.1.1 release

2004-08-20 Thread Scott Eade
store it anywhere. It can probably be done by changing the BasePeer doUpdate() and doDelete() methods to return the desired value however this would be an enhancement for 3.2 rather than a fix for 3.1.1. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: [Fwd: RE: Date vs timestamp with Oracle]

2004-08-16 Thread Scott Eade
get a response. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Saravana Krishnan Kannan wrote: Hi, I haven't tried to get it integrated with the main Village, but I'm definitely willing to lend them the code if they would put it along with the main Village

Re: [Fwd: RE: Date vs timestamp with Oracle]

2004-08-16 Thread Scott Eade
Was the message you are referring to this one? http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=4216 Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Saravana Krishnan Kannan wrote: Hi Scott, I remember very well that the Date vs Timestamp had

Re: [Fwd: RE: Date vs timestamp with Oracle]

2004-08-16 Thread Scott Eade
village.jar. Thomas After seeing your testing I don't think I will apply this for 3.1.1. As for 3.2-dev (HEAD) it will be up to someone else to determine the full set of changes required to make this work for Oracle - volunteers welcome. Thanks, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

[Fwd: RE: Date vs timestamp with Oracle]

2004-08-15 Thread Scott Eade
appreciate your feedback. BTW: I am including a reference to your Sarav's patched Village 2.0 code in the Oracle HOWTO - I hope this is okay. Shrav: Have you made any attempts at getting your changes committed to back to Village? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: Torque patches

2004-07-28 Thread Scott Eade
these down and apply them yourself. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: HowTo make Criteria with use function in WHERE clause?

2004-07-28 Thread Scott Eade
at http://db.apache.org/torque/criteria-howto.html Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: corruption on oracle

2004-07-22 Thread Scott Eade
the mail archive for oracle issues - perhaps the datatype is not quite correct for your CapUser implementation (i.e. one of the templates needs to be altered before generating your om). Any Oracle users out there care to comment? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: torque vs....

2004-07-22 Thread Scott Eade
. Don't forget about licensing issues, if you need a BSD style license then you might consider OJB - http://db.apache.org/ojb/ Torque includes some features for generating input OJB, but I am unsure how useful this is in its current state. Scott -- Scott Eade Backstage Technologies Pty. Ltd

Re: Maven Plugin Location

2004-05-18 Thread Scott Eade
? Is there a recommended version as well? Eric, It is a snap to build and install it from cvs - just follow the instructions on the site. Best to use the 3.1 branch unless you want to try out Henning's new features which are in their own branch. Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: problems building torque from cvs

2004-05-12 Thread Scott Eade
for torque. It looks like Bogdan addressed your other points. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: problem with basePrefix

2004-04-21 Thread Scott Eade
them in your project.properties Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: managing connetion

2004-04-20 Thread Scott Eade
at the exact same time with the same connection, right? See the answer to question 10 in the Torque FAQ: http://wiki.apache.org/db-torque/FrequentlyAskedQuestions#head-f21b65aabdf5f90c9f5df248411b7de3aab118b7 Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Feature proposal / Hibernate

2004-03-31 Thread Scott Eade
project OJB: http://db.apache.org/ojb/ Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Torque.init / setting dbcp properties fails

2004-03-30 Thread Scott Eade
See http://jakarta.apache.org/commons/dbcp/configuration.html for information about configuring Jakarta Commons DBCP. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au T E Schmitz wrote: Could it be that the properties have simply been renamed / obsoloted

Re: is torque going to evolve ?

2004-03-30 Thread Scott Eade
and ask them. If you don't get an answer then it may be that others are unfamiliar with the area you are asking about or are simply too busy with other things to respond. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Resolution for the truncated time portion of DATE with Torque and Oracle 9i

2004-03-24 Thread Scott Eade
can update the values in CVS for the next release. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: problem with BaseXYZPeer.doUpdate(object)

2004-03-22 Thread Scott Eade
are not specifying the database name in your schema. 2) what's considered best practice doing updates via criteria or table objects ? Via table objects. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: LargeSelect

2004-03-14 Thread Scott Eade
and be enhanced to re-execute the query when it is unserialized. There may be other variables that are not serializable and yet others that may as well not be serialized since the query result will be discarded. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Further question [Newbie] Getting limited number of rows

2004-03-09 Thread Scott Eade
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Bogdan Vatkov wrote: Hi, I am not sure but i think this customization might be usefull when selecting a large amount of rows in cases where you are not going to extract well specified torque DataObject but a Select statement

Re: waiting for Torque 3.2

2004-02-27 Thread Scott Eade
to be addressed are what exactly? ...and you are not providing test cases and patches because why? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Criteria with a like

2004-02-27 Thread Scott Eade
(ClientsPeer.TABLE_NAME,ClientsPeer.CLIENTNAME,name,Criteria.LIKE); // does not work Try: crit.add(ClientsPeer.CLIENTNAME, name, Criteria.LIKE); Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Best Practice for Accessing DB objects generically

2004-02-26 Thread Scott Eade
was to provide generic access to torque objects. I don't believe the class is currently in working order, but it may provide you with some hints as to how to do what you want. HTH, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: doDelete question

2004-02-26 Thread Scott Eade
-- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Criticism on Torque

2004-02-26 Thread Scott Eade
as to the specific problems you have encountered then nothing can be done to address them. Anyone and everyone is welcome and encouraged to contribute documentation. If torque works for you, why not return the favour and invest a few hours improving things. Scott -- Scott Eade Backstage Technologies Pty

Re: setting charSet via Torque.properties ?

2004-02-25 Thread Scott Eade
serious using the jdbc-odbc bridge anyway - it will be simpler in the long term to go ahead and use MySQL (or PostgreSQL or whatever) now. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: sequence related exception

2004-02-25 Thread Scott Eade
Hassan Abolhassani wrote: (B (BWhat is wrong when an exception like below is thrown: (B (Borg.apache.torque.TorqueException: ERROR: product_id_seq.currval is not (Byet defined in this session (B at org.apache.torque.util.BasePeer.throwTorqueException(BasePeer.java:236) (B at

Re: Transaction processing

2004-02-25 Thread Scott Eade
Hassan Abolhassani wrote: (B (BI have a code like below to update several tables in one transaction: (B (BConnection con; (Btry{ (Bcon = Torque.getConnection(); (BAgency agency = new Agency(); (B... (Bagency.save(con); (B... (B (BProduct product = new

Re: Documentation and (slightly) strange update problem

2004-02-25 Thread Scott Eade
() does not save. Given that there always is a primary key, should all UPDATEs *always* use that key and not the selection criteria? I worked around my problem, but good documentation would have made life much easier. Please post the relevant schema and code. Scott -- Scott Eade Backstage

Re: deprecated getTable() in MapBuilder

2004-02-25 Thread Scott Eade
Rob Gordon wrote: Anybody out there (Yo! Scott Eade! :) know why the getTable() method in MapBuilder is deprecated? It points to a day past when MapBuilders were not so tightly coupled with their table name and could--perhaps--be paramaterized with a table name, thereby being used to map

Re: Postgres - Problem in selecting on timestamp columns

2004-02-25 Thread Scott Eade
(column, String, comparison) method. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Maven Plugin 3.2 for torque ignores default properties

2004-02-25 Thread Scott Eade
of what needs to be added (perhaps the torque-dev list with maven in the subject line). Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Couple of Questions

2004-02-25 Thread Scott Eade
directory - check the eclipse help. 2) Is it possible to generate the Base* classes to a different package than the non Base* classes. So AuthorPeer and Author go to : x.y.domain and BaseAuthor and BaseAuthorPeer go to: x.y.torque No, this is not supported. Scott -- Scott Eade Backstage

Re: deprecated getTable() in MapBuilder

2004-02-25 Thread Scott Eade
: The deprecated methods won't even be generated in the next release. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail

Re: postgres sequence definition

2004-02-24 Thread Scott Eade
-method-parameter name=seqName value=tableName_columnName_seq/ For further details see: http://nagoya.apache.org/wiki/apachewiki.cgi?TorqueProjectPages/PostgreSQLFAQ Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: (another toruqe-gui) ddorque [src]

2004-02-19 Thread Scott Eade
version wich it's developed is 1.4 - Raffaele Ragni How does your implementation compare to devaki-nextobjects? http://www.devaki.org/ We are discussing incubating devaki-nextobjects to eventually bring it in to be part of torque. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: postgresql schema problem !

2004-02-18 Thread Scott Eade
Bogdan Vatkov wrote: Is it possible to use different schema-s in postgresql with torque ? I mean different db schema in the terminology of postgresql schema (not xml schema) I a reasonably sure this is not currently supported. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http

Re: Latin or iso-8859-2 or UTF-8, whatever!

2004-02-08 Thread Scott Eade
= jdbc:mysql://127.0.0.1/bookstoredb?useUnicode=truecharacterEncoding=ISO8859-1 Obviously you would use your own values for bookstore, bookstoredb and the encoding. Please feel free to add this to the wiki. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: TorqueDataModelTask not found error

2004-02-05 Thread Scott Eade
Frank Nguyen wrote: file:D:/torque-3.0-b4/build-torque.xml:77: taskdef class As a first suggestion, how about using a more recent version of Torque than 3.0-b4 - e.g. 3.1 or even 3.0.2 if you must. See: http://db.apache.org/torque-31/status.html Scott -- Scott Eade Backstage Technologies Pty

Re: java.sql.SQLException: invalid arguments in call when running example

2004-02-05 Thread Scott Eade
get this object? I believe it was renamed to SharedPoolDataSourceFactory. I have updated the deprecation warning for future 3.1.x releases. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Retrieving a big list of ids but not a big list of objects

2004-02-04 Thread Scott Eade
webapps where this would be a fairly uncommon thing to do. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL

Re: village sourcecode

2004-02-04 Thread Scott Eade
Henrik Vendelbo wrote: Where do I finde the village sourcecode ? cvs ? If you searched the archive you would find that it is located at share.whichever.com Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: java.sql.SQLException: invalid arguments in call when running exa mple

2004-02-04 Thread Scott Eade
What version of Torque are you using? If it is 3.1 you should move to one of the new DataSourceFactories and then try and sort your problem out. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au [EMAIL PROTECTED] wrote: I am connecting to an Oracle db

Re: IDBroker warning

2004-02-04 Thread Scott Eade
Edwin, I would say that you need: torque.database.default=database But would add that database is a bad name to use here. Look at how bookstore is used in the example and use your own name (but I would imagine you can think of something more appropriate than database). Scott -- Scott Eade

Re: IDBroker warning

2004-02-02 Thread Scott Eade
the RDBMS in use does not support transactions (e.g. MySQL), though if you search the archives you may find queries and answers concerning occurrences of this message when transactions are in fact supported. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Torque Objects for multiple databases

2004-02-02 Thread Scott Eade
a No answer to your question. I believe Rob's work involves support for multiple databases using the same schema _and_ underlying RDBMS so I think you are talking about two different things. Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Problems with 2 columns primary key and autoincrement

2004-01-18 Thread Scott Eade
foreign key. Scott __ Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Giulio Vezzelli wrote: Greetings, I think I found some kind of odd behaviour in Torque, regarding this particular case: My table ATTIVITA is structured this way : IDprimary

Re: LargeSelect.run() ?

2004-01-13 Thread Scott Eade
or by getResults() when additional data is required. See my other post and try the invalidateResult() mechanism. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL

Re: Problem with postgresql

2004-01-06 Thread Scott Eade
Hassan Abolhassani wrote: (B (BIn the previous mail subject was not appropriate, I resend with more (Bappropriate subject. Sorry for any inconvenience. (B (BHi, (B (BWhen I try to insert a row in a table with autoincrement id I get the (Bfollowing exception: (B

Re: Torque with more dynamic DB connections...

2004-01-05 Thread Scott Eade
be of help to you in that they could perhaps advise you of potential problems on your way down this path. You say, In the absence of any strong objections... Would that mean existing committers/developers responding to my post? Yes, this is what I mean. Scott -- Scott Eade Backstage Technologies

Re: autoIncrement in PostgreSQL

2004-01-04 Thread Scott Eade
? For PostgreSQL I recommend that you specify include: id-method-parameter name=seqName value=addr_groups_addr_group_id_seq/ within your table element. You should also be sure to check out: http://nagoya.apache.org/wiki/apachewiki.cgi?TorqueProjectPages/PostgreSQLFAQ Scott -- Scott Eade

Re: Using Upper and Lower functions in Criteria

2003-12-22 Thread Scott Eade
Okay, I'm not going to go back and look into why this code doesn't work in torque-3.0 so until you upgrade to torque-3.1 you should use the solution provided by David Hainlin. Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Ramah wrote: Pls follow

Re: Saving related objects

2003-12-18 Thread Scott Eade
these either, but in any case they will depend on the availability of these features in the underlying RDBMS (i.e. don't expect them to work for MySQL). Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: snapshot database view

2003-12-15 Thread Scott Eade
anybody solved this case? I think it would be a very interesting feature for a lot of applications. I think you could achieve this through the use of Managers with the appropriate JCS configuration. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: How to add P6Spy: WAS: Printing SQL

2003-12-08 Thread Scott Eade
It would be good to add this information to the wiki. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Göschl,Siegfried wrote: Hi Sonu, some help for an entry level programmer with a console application - life is harsh sometimes ... :-) +) add

Re: Printing SQL

2003-12-04 Thread Scott Eade
This will log selects, but not inserts and updates. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Tulsi Das wrote: or, better yet, you can setup Log4J to DEBUG level, and all queries get printed out to wherever you've configured it. tulsi --- Jeff

Re: Another question on foreign key getters and performance

2003-12-01 Thread Scott Eade
Peer classes? You need to override these in the non-Base classes to make them available. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Managers

2003-12-01 Thread Scott Eade
at the configuration files over there. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: Update on ID-Table when using idMethod=native

2003-11-17 Thread Scott Eade
on turbine-dev. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: running out of connections w/ postgresql

2003-11-04 Thread Scott Eade
of dbcp and pool so it is worth double checking that there are no old versions laying around causing problems. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au Justin Wood wrote: I don't know how far you've moved on this thing since Friday but I have replaced my

Re: Depreciated method in generated classes

2003-10-28 Thread Scott Eade
Iwan wrote: So why is it still being generated? Check the archives - this has already been answered. 1. It is only a deprecation. 2. It has been fixed in cvs. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: where (a.id=b.id or a.id is null)

2003-10-23 Thread Scott Eade
Andrew Belonogov wrote: I need a criteria something like where (a.id=b.id or a.id is null) You need to use Criterion - see: http://db.apache.org/torque/criteria-howto.html Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Foreign-Key Problem

2003-10-16 Thread Scott Eade
(the link near the top of extend-user-howto is fixed in cvs, but waiting for the site to be republished). Good luck. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au David_Solbach/MR/de/[EMAIL PROTECTED] wrote: Hi, I have the following Problem with my turbine

Re: defaultIdMethod

2003-10-13 Thread Scott Eade
over to native the default security tables for turbine use idBroker. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e

Re: class $basePrefixJobEntry is public

2003-10-11 Thread Scott Eade
. in their subject line. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: $complexObjectModel and deprecated getMapBuilder()

2003-10-08 Thread Scott Eade
the Object.vm before 3.2 torque is released? You can safely ignore these deprecation warnings. The code has been updated already for the next releases (3.1.x and 3.2). Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: List Archive

2003-09-16 Thread Scott Eade
of viewing the archives than mail-archive.com - so thanks Tigris. http://nagoya.apache.org/eyebrowse/ Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: Problem to migrate to Torque 3.1

2003-09-12 Thread Scott Eade
[EMAIL PROTECTED] wrote: Anyway, I still have error messages related to the SharedPoolDataSourceFactory. defaultMaxConnections is now maxConnections. There is some issue with setting testOnBorrow and validationQuery, but the defaults are good (true and SELECT 1 respectively). Scott -- Scott

Re: Problems with VARCHAR primaryKey

2003-09-02 Thread Scott Eade
background information - I know Scott Ambler has written some decent material about this. By adding an ALTERNATE_NAME_ID column to your table you should find everything works out fine. HTH, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Problems getting generator to work

2003-08-19 Thread Scott Eade
torque.complexObjectModel = true torque.useClasspath = true torque.useManagers = true Any idea what is going on here? Thanks, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au - To unsubscribe, e

Re: log4j initialization problem

2003-07-22 Thread Scott Eade
worry with regards to it having Parsing file: 'myapp-schema.xml' in the error output or whether that is a byproduct of the logging initialization issue? You are correct. You can ignore the Parsing file message. Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au

Re: Torque generated objects throw Exception on save()

2003-04-02 Thread Scott Eade
Check the documentation - there is a property available to specify the exception that is thrown by save(). Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com On 2/04/2003 6:13 PM, Karl Stenerud [EMAIL PROTECTED

Re: How to read/write images to/from db

2003-03-20 Thread Scott Eade
One problem with storing the images as files is that it becomes harder to dynamically manage the security of the images if the ability to view them needs to be controlled on a per user basis. Most applications won't need to worry about this though. Scott -- Scott Eade Backstage Technologies Pty

Re: How to get specified number of entries?

2003-03-19 Thread Scott Eade
will provide this functionality when it is not (although somewhat less efficiently). Does this get you nearer to the answer you desire? Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com

Re: How to get specified number of entries?

2003-03-17 Thread Scott Eade
and tested against MySQL - I use it in a Production system and it works well (I'm biased - I contributed to it). Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com

Re: how to modify Object.vm ?

2003-02-21 Thread Scott Eade
you have the right setting for this property (see the torque site for the property name). Cheers, Scott -- Scott Eade Backstage Technologies Pty. Ltd. http://www.backstagetech.com.au .Mac Chat/AIM: seade at mac dot com

Re: OT: Re: a licensing question

2003-02-19 Thread Scott Eade
Check the mail archive of [EMAIL PROTECTED] for the recent discussions re the maven jar repository. Somewhere in there you will find details of an asf mailing list dedicated to discussing licensing issues (a search for licensing@ should turn something up). HTH, Scott -- Scott Eade Backstage