[EMAIL PROTECTED] wrote:
The tutorial was no help at all. First of all it doesn't tell you where
to put the files that you create when configuring torque.
You configure the generator by setting properties in the
/project.properties/ file in root directory of your project
By default your
Hi,
I need a clarification.In Tubine Resource.properties they have given
action.login=LoginUser and logout,but where i can see the source code for that?
And when the session logout i want to redirect to a URL,how i can do it?
Please mail me if u know the soln.I have used 2
Typically, your query of the Contact table would look like this:
Criteria criteria = new Criteria();
criteria.add.. //add your criteria here
List results = ContactPeer.doSelect(criteria); //get the list of
results
Contact contact = (Contact)results.get(0); //get the
Hi!
I want to have a database with multiple labels. I want to store them in
more than one language. The label have several additional informations
attached. Can you show me a design pattern for this problem which works
fine with Torque.
This is important for a multilanguage application.
That's correct. You can run the scripts just fine if you write your own
sql/ block and specify delimiter=/.
-Original Message-
From: Thomas Fischer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 16, 2005 5:37 AM
To: Apache Torque Users List
Subject: Re: PL/SQL in generated Oracle
Hi,
this error occurs if one does not create a correct project.properties file
in the root of the generator directory. Take the project.properties from
the tutorial, put it where the tutorial says, and run maven torque from
the base directory of the generator. In particular, you have to
Hello Thomas,
My understanding is that if in the XML schema the foreign key
relation is defined Torque
will generate a protected method in BaseContactPeer
doSelectCotactJoinByPhoneNumbers() (or something like that)
So all that needs to be done is to make it public in ContactPeer.
This
Kintzel Levente wrote:
This is important for a multilanguage application. Example: For a
link on a linkpage I have a description in more than one language
and the url. I want to store the description in several languages in
such a way to be easy to maintain. Some design patterns for this
This may be overkill for what you are doing, but the Struts framework
works just fine with Torque. All you have to do is make a new
ApplicationResources.properties file for each locale that you are
dealing with. Works like a charm.
Kintzel Levente wrote:
Hi!
I want to have a database with
Hi everybody,
hi Kintzel.
If I had enough time to develop such a solution (for there are no
problems, but only solutions;) ), i would only save references to
resources in db instead of real text.
have a resource table with ids and optionally names. then have a
language table with ids and
Scott Eade wrote:
Richard Bayet wrote:
Doomed.
Doomed by your negative attitude perhaps.
Scott
Ok, it might not have been the most helpfull message, but that was not
the point.
It was just a we all had at least once a problem* following the
tutorials, welcome.
No hard feelings.
Hint :
I wrote a decent stand-alone I18n implementation a while back. I think
you're going after the same thing I was. You're free to use it if you
please.
Here is the table structure I use:
Describing: I18N
ID,N,VARCHAR2,255,null,null
Hi Andras,
you are right, this is a possibility I did not think of. However (to excuse
my forgetfulness just a bit), there might be situtations where this is not
enough, e.g. if you you have a deeper tree of objects, or if you want to
load some dependencies instantly and lazy-load the
Hi All,
I'm the developer of the Village for Oracle. I'm no longer working
with Torque/Java, so I will be unsubscribing from this mailing list in a
day or two. My village for oracle site will be up, and if I move the
site to some other domain I will update the link in the Torque Wiki. I
will
14 matches
Mail list logo