I've just started using the apache packages ECS and DBCP for servlets,
but would like do more, of course. Maybe I just can't find the correct
documentation, but it seems like the fine manual, so to speak, comes in
two categories. One glosses over details about where to put files and
the
Hi Dmitry,
I don't know what's going wrong when running the tutorial (seems that
Product.class was correctly enhanced by the JDO enhancer).
But I wouldn't recommend OJB's JDO 1.0-api implementation for production
environments.
The PB-api and ODMG-api are stable and ready for production use
Thank you Armin,
Please educate me a bit, cause I am a bit perplexed by your mail.
You say OJB does not work well w/ JDO, use ODMG or PB
OK, I understand that.
then you say:
If you want to use JDO, please have a look at JPOX or Speedo (or other
JPOX is a implementation of JDO, isn't it?
Dmitry Litvintsev wrote:
Thank you Armin,
Please educate me a bit, cause I am a bit perplexed by your mail.
You say OJB does not work well w/ JDO, use ODMG or PB
OK, I understand that.
then you say:
If you want to use JDO, please have a look at JPOX or Speedo (or other
JPOX is a
Dmitry Litvintsev escribió:
Thank you Armin,
Please educate me a bit, cause I am a bit perplexed by your mail.
You say OJB does not work well w/ JDO, use ODMG or PB
OK, I understand that.
then you say:
If you want to use JDO, please have a look at JPOX or Speedo (or other
Hi,
I am developing a java application and I am considering OJB technology to
store objects' states seamlessly in the PostgreSQL database.
In short I am failing to get tutorial5 up and running. I followed
instructions on this link:
I'm a newbie trying to get into OJB.
I downloaded 1.0.4 src and unzipped it
When I run bin\build.bat from command window, it fails with over 100 duplicate
class errors, example:
duplicate class: org.apache.ojb.broker.Identity
I have JAVA_HOME set to a java5 jdk.
What is wrong?
Can anyone point
[EMAIL PROTECTED] wrote:
Can anyone point me to a getting started kind of document?
Only follow the link:
http://db.apache.org/ojb/docu/getting-started.html
regards,
Thomas
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
Hi,
[EMAIL PROTECTED] wrote:
I'm a newbie trying to get into OJB.
I downloaded 1.0.4 src and unzipped it
When I run bin\build.bat from command window, it fails with over 100 duplicate
class errors, example:
duplicate class: org.apache.ojb.broker.Identity
I have JAVA_HOME set to a java5 jdk
Hi Christian,
Christian Vejrich wrote:
When inserting a new object, mysql db with autoincrement the database
stores the object correct and sets an correct id, but when fetching all
the stored objects( ojb does a select *) , the ids in the objects
returned from ojb are completly different ones?
Waibel [mailto:[EMAIL PROTECTED]
Skickat: den 17 januari 2006 10:57
Till: OJB Users List
Ämne: Re: possible newbie Question; Wrong Long id when fetching..
Hi Christian,
Christian Vejrich wrote:
When inserting a new object, mysql db with autoincrement the database
stores the object correct and sets
Hi,
-Ursprungligt meddelande-
Från: Armin Waibel [mailto:[EMAIL PROTECTED]
Skickat: den 17 januari 2006 12:03
Till: OJB Users List
Ämne: Re: [Fwd: SV: possible newbie Question; Wrong Long id when fetching..]
Hi,
Im using, db-obj-1.0.3.jar
metadata mapping:
class-descriptor
Hi,
First please excuse my english as this is not my native language.
I am new to OJB and I am using the PB-API.
Given
class A with attributes and a foreign key reference to class B (b_ref)
class B with b_id and more attributes
The reference is n to 1, so one instance of B can be referenced by
Hi,
I am a newbie to OJB. I am going thru the
documentation and trying to create a couple of simple
entities/relations. I am facing a problem : The sql
that gets generated uses the wrong table creation
first, my primary entities are created last and the
dependent table sql gets generated first
This sounds more like a problem with Torque which is per default used
to generate the tables in the database.
You can try to use commons-sql instead
(http://jakarta.apache.org/commons/sandbox/sql/), it groks the same
table schema but it splits the table generation and the creation of
foreignkeys
Hi Tom,
Thanks a lot for responding.
I'm grappling with the basic concepts. I see, so
instead of specifying an entity creation order, we'd
rather let another tool (commons-sql) that can
decipher primary and dependent entities, split them
up, and order them by this distinction, and let it
I'm grappling with the basic concepts. I see, so
instead of specifying an entity creation order, we'd
rather let another tool (commons-sql) that can
decipher primary and dependent entities, split them
up, and order them by this distinction, and let it
resolve the dependencies.
Is my
Hi Tom,
Awesome. That was very insightful.
I'll try it out now that I think I understand it
much better.
Thanks again.
ZN
--- Thomas Dudziak [EMAIL PROTECTED] wrote:
I'm grappling with the basic concepts. I see,
so
instead of specifying an entity creation order,
we'd
rather
Hi,
I am a newbie to OJB. I am going thru the
documentation and trying to create a couple of simple
entities/relations. I am facing a problem. I guess
that option must be provided, but I am just not
finding how to do it : The sql that gets generated
uses the wrong table creation first, my
krupa B wrote:
Can somebody suggest a good book or tutorials in easy to understand manner.
Did you try the Getting Started section?
http://db.apache.org/ojb/docu/getting-started.html
You can also find useful info in the FAQ:
Getting Started:
http://db.apache.org/ojb/docu/faq.html#gettingStarted
Thanks Martin, I looked at the tutorials, I will look at getting started.Thanks
for your reply.
Martin Kalén [EMAIL PROTECTED] wrote:krupa B wrote:
Can somebody suggest a good book or tutorials in easy to understand manner.
Did you try the Getting Started section?
Hi I am a newbie to OJB. The OR mappings tutorial is kinda hard for me to
understand. Can somebody suggest a good book or tutorials in easy to understand
manner.
Thanks
__
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection
Hi,
I try to use the ODMG API of OJB.
I noticed that, if I read an object from the database, then modify a property
that is declared as a primary key (in the mapping) and save the object to the
database, a new row is created as if it was a new object inserted.
Is there a way to modify an
Why would you want to do that ? The primary key identifies the object
uniquely, so if you change the value of the corresponding java
field(s), then OJB and the database think that you have created a new
instance of the class/new row in the table.
Tom
in the java object, it is still the same
object and not a new one.
-Message d'origine-
De : Thomas Dudziak [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 février 2005 13:28
À : OJB Users List
Objet : Re: [newbie] ODMG API : updating an object's primary key.
Why would you want to do
But as far as OJB and the database is concerned, it is a new one,
because they cannot determine to which 'old' one it corresponds. The
problem here is that OJB and the database use object equality (if two
objects are equal as determined by equals()/hashCode()) whereas you
want to use identity
ok. Thank you.
-Message d'origine-
De : Thomas Dudziak [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 9 février 2005 13:52
À : OJB Users List
Objet : Re: [newbie] ODMG API : updating an object's primary key.
But as far as OJB and the database is concerned, it is a new one,
because
Robert Baruch wrote:
I'm using the obj-blank project as is, except that I have added a single
file: src/java/genealogy/data/CitationPartType.java:
package genealogy.data;
/**
* @obj.class
*/
public class CitationPartType
{
/**
* @obj.field
*/
private String name;
/**
* @obj.field
*
Robert Baruch wrote:
Hi all,
I'm using the obj-blank project as is, except that I have added a single
file: src/java/genealogy/data/CitationPartType.java:
package genealogy.data;
/**
* @obj.class
*/
public class CitationPartType
{
/**
* @obj.field
*/
private String name;
/**
*
Thomas Dudziak wrote:
The OJB XDoclet module does not process the type because you
misspelled the xdoclet tags: its @[EMAIL PROTECTED], not
@[EMAIL PROTECTED]
(this is quite hard to catch ;-) )
sigh I am so embarrassed :)
Thanks!
--Rob
Hi all,
I'm using the obj-blank project as is, except that I have added a single
file: src/java/genealogy/data/CitationPartType.java:
package genealogy.data;
/**
* @obj.class
*/
public class CitationPartType
{
/**
* @obj.field
*/
private String name;
/**
* @obj.field
*
Hi Roman,
does OJB find your repository.xml file?
Think we need more detailed info to help, so could you please post the
whole stack trace and the connection declaration.
regards,
Armin
Stark, Roman wrote:
For the past tow days I tried to set up the ojb-blank project.
Everything I try ends up
Stark, Roman wrote:
For the past tow days I tried to set up the ojb-blank project.
Everything I try ends up with the following message: There was no
default-PBKey specified
I am using eclips 3 for the project following the instructions from
the web site. All I have tried so far is just get a
:48
To: OJB Users List
Subject: Re: FW: Newbie Question : There was no default-PBKey specified
Hi Roman,
does OJB find your repository.xml file?
Think we need more detailed info to help, so could you please post the
whole stack trace and the connection declaration.
regards,
Armin
Stark, Roman
, 2004 10:48
To: OJB Users List
Subject: Re: FW: Newbie Question : There was no default-PBKey specified
Hi Roman,
does OJB find your repository.xml file?
Think we need more detailed info to help, so could you please post the
whole stack trace and the connection declaration.
regards,
Armin
Stark
folder (see the Getting Started doc at
http://db.apache.org/ojb/docu/getting-started.html for details).
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 11:19
To: OJB Users List
Subject: Re: FW: Newbie Question : There was no default-PBKey
Can you please modify your mailer so it doesn't request return receipts?
Thank you,
Pulat
Stark, Roman wrote:
For the past tow days I tried to set up the ojb-blank project.
Everything I try ends up with the following message: There was no
default-PBKey specified
I am using eclips 3 for the project
Stark, Roman wrote:
I think the problem is how I run the application. Thomas Dudziak's post
I think made that clear. I just assumed I can use eclps to run it, but
this may not be true. I need to figure out how to get this to execute
from the corect location. I am not sure if that can be done
Return Receipt
Your RE: FW: Newbie Question : There was no default-PBKey
documen specified
t
Hello Andy,
-Original Message-
From: Whitaker, Andy [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 14, 2004 9:48 PM
To: [EMAIL PROTECTED]
Subject: Newbie question on field access error
Hello,
I'm new to OJB and I'm maintaining an app that uses OJB 1.0.0
and I'm receiving
Le 16 sept. 04, à 21:14, Thomas Dudziak a écrit :
The beginner's tutorial on the OJB website uses this to introduce you
to OJB.
Is somewhere a specific link to this tuto ?
because i've found :
A full featured ODMG 3.0 compliant API. (See the ODMG Tutorial for an
introduction.)
See JDO
Yvon Thoraval wrote:
Is somewhere a specific link to this tuto ?
It's the very first one on the site, called Getting started. You can
find it here:
http://db.apache.org/ojb/docu/getting-started.html
Tom
-
To unsubscribe, e-mail:
Le 17 sept. 04, à 09:07, Thomas Dudziak a écrit :
It's the very first one on the site, called Getting started. You can
find it here:
http://db.apache.org/ojb/docu/getting-started.html
fine, tanxs °;))
Yvon
PGP.sig
Description: =?ISO-8859-1?Q?Ceci_est_une_signature_=E9lectronique_PGP?=
Hey all,
new to ojb, i do have some experience with hsqldb and plan to migrate from sql to oql.
then i wanted to follow the quickstart at your web site and install db-ojb-1.0.rc2.
however i get stuck here about this error message after a :
nord-2-81-57-96-20:~/Desktop/db-ojb-1.0.rc2> sh
Le 16 sept. 04, à 21:14, Thomas Dudziak a écrit :
If you're about to quickstart with OJB, it would be best if you start with the newest stable version which is 1.0.1 (rc2 is quite old btw).
Also, with this version you should not need to build OJB from source. Simply download the bin version
Hi,
I wonder if anyone can help me with this.
I have some code which uses inner class collections
because they seem to be an 'easy' way to implement
bi-directional links. This means that I can write;
theFoo.tobar.set(theBar);
// and then
Collection foos =
I am trying to limit a select from a logtable to the last so many days worth
of entries, but I get a class cast exception. Other criteria on same table
work OK, so I'm sure most of the setup is good. Am I missing something
really obvious? Is there an example available for querying by timestamp?
[EMAIL PROTECTED] wrote:
I am trying to limit a select from a logtable to the last so many days worth
of entries, but I get a class cast exception. Other criteria on same table
work OK, so I'm sure most of the setup is good. Am I missing something
really obvious? Is there an example available for
:
org.apache.ojb.broker.PersistenceBrokerException
-Original Message-
From: Thomas Dudziak [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 13:07
To: OJB Users List
Subject: Re: newbie: using timestamp in criteria, compound primary key
[EMAIL PROTECTED] wrote:
I am trying to limit a select from a logtable to the last so many days
worth
[EMAIL PROTECTED] wrote:
oops, here is the output exception. Using OJB 1.0rc7 stable
INFO: adding criteria greater than log_time 2004-07-14 12:26:52.578
16-Jul-2004 12:26:53 com.vaisala.ice.vmdbReport.view.IpmLogDAO
getRecentActivity INFO: calling getCollectionByQuery 04/07/16 12:26:53
[EMAIL PROTECTED] wrote:
very similar results using 1.0.0 final:
(I really should read mails more thouroughly :-) )
The problem seems to be that you used the wrong method on the criteria
object:
criteria.addGreaterThanField(log_time, t);
This method is intended to be used when comparing *with*
excellent,
works a treat now,
many thanks !
-Original Message-
From: Thomas Dudziak [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 14:33
To: OJB Users List
Subject: Re: newbie: using timestamp in criteria, compound primary key
[EMAIL PROTECTED] wrote:
very similar results using 1.0.0
Hello,
I just started using OJB and following question arised. Is there a way
of updating referenced Collection without querying item objects from
database?
Example:
User object hava Collection of Role objects attribute. All aplicable
Role objects are already stored in database. Some view returns
Hi Doug,
This seems like a problem with your build classpath settings in eclipse.
Try to load OJB from CVS HEAD with eclipse. In CVS we have the eclipse
.project and .claspath files that eclipse needs to build OJB.
Thomas
Doug Poland wrote:
Hello,
I'm trying to learn OJB but am struggling
Use ANT.
Using ANT to build OJB should work without problems on any platform.
Thomas
Charles N. Harvey III wrote:
I'm having a lot of trouble building from HEAD. Do I use maven or ant?
I get the STRANGEST error when I try to use ant. Its probably something
with
my maven/ant installation
I'm having a lot of trouble building from HEAD. Do I use maven or ant?
I get the STRANGEST error when I try to use ant. Its probably something
with
my maven/ant installation though.
Ok, so, I'm getting there. I'm starting to understand JDO a bit. I hadn't
actually looked at it before today.
Hi Doug,
seems like a classloader problem. Do you have different ojb-jar files
(or source/classes + ojb-jar) in classpath?
regards,
Armin
Doug Poland wrote:
Hello,
I'm trying to learn OJB but am struggling getting a simple project to
run in Eclipse 2.1.3. I found what appears to be a good
Hi all,
I want to try JDO with OJB but I have some misunderstood.
I am not very clear about where to put the MetaData for the mapping ?
In the repository.xml or in the XXX.jdo ?
I look in the tutorial5 and I see that information for the mapping are
stored in the Product.jdo.
So should we put
Ah, I missed the checkin message on that! Thank you!
-Brian
On Apr 13, 2004, at 5:20 PM, Oleg Nitz wrote:
On Tuesday 13 April 2004 15:17, Brian McCallister wrote:
Huh, the ODMG slower thing is interesting as Armin just reemed us all
out for letting the OTM get so much slower than ODMG ;-)
Have
You need both if you are using the JDORI plugin. It is annoying =(
The native JDO impl I am working on for OJB will allow you to just use
the OJB mappings as the .jdo files will only be used for (optional in
OJB but not for spec-compliant JDO) bytecode enhancement process. This
JDO impl is
Brian,
I _don't_ want to filter my queries. Can I give the native
implementation a try?
Would that be the CVS Head or would it be a different branch?
Thanks.
Charlie
Brian McCallister wrote:
You need both if you are using the JDORI plugin. It is annoying =(
The native JDO impl I am working
You will need CVS HEAD, correct -- also make sure you are comfy looking
around the sources to see what is implemented and not. I have tried to
throw OperationUnsupportedException(Not yet imeplemented!) when a
feature isn't actually implemented yet =)
This code is being actively written so it
On Wednesday 14 April 2004 15:51, Brian McCallister wrote:
Have I missed something? Are there any new performance tests?
Armin emailed the -dev list a few days back =)
What was the subject? Still can't find.
-
To unsubscribe,
Hi Oleg,
try this
[OTM] Massive performance decrease between Feb and Apr version
http://nagoya.apache.org/eyebrowse/[EMAIL PROTECTED]msgNo=6875
regards,
Armin
Oleg Nitz wrote:
On Wednesday 14 April 2004 15:51, Brian McCallister wrote:
Have I missed something? Are there any new performance
- i never
got it working in ODMG.
Daniel.
-Original Message-
From: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED]
Sent: 07 April 2004 17:03
To: [EMAIL PROTECTED]
Subject: Newbie Question : OTM or ODMG
Hi , i'm a real OJB newbie and I wonder which API should I use, i
searched
by
about
5x!
Doing complex (nested to several degrees a.b.c...) in OTM works - i
never
got it working in ODMG.
Daniel.
-Original Message-
From: Jean-Francois Beaulac [mailto:[EMAIL PROTECTED]
Sent: 07 April 2004 17:03
To: [EMAIL PROTECTED]
Subject: Newbie Question : OTM or ODMG
Hi , i'm
directly. (that was what i was
refering to with regards to speed)
And a little OTM when i need locking for administrative tasks.
Daniel.
-Original Message-
From: Brian McCallister [mailto:[EMAIL PROTECTED]
Sent: 13 April 2004 13:17
To: OJB Users List
Subject: Re: Newbie Question : OTM
On Tuesday 13 April 2004 15:17, Brian McCallister wrote:
Huh, the ODMG slower thing is interesting as Armin just reemed us all
out for letting the OTM get so much slower than ODMG ;-)
Have I missed something? Are there any new performance tests?
When I tested last time, OTM was somewhat faster.
Hello,
I'm trying to learn OJB but am struggling getting a simple project to
run in Eclipse 2.1.3. I found what appears to be a good tutorial
entitled...
Object-Relational Mapping with Apache Jakarta OJB by Charles Chan
(http://www.onjava.com/lpt/a/2946) dated: 01/08/2003
I've
Hi , i'm a real OJB newbie and I wonder which API should I use, i
searched the mailing list and read the entire documentation on the
website (i didnt read the entire JavaDoc of course) but i wasn't able to
find a great comparison between the two APIs.
It would be very usefull to me if somebody
]
|
|
|
| cc:
|
| Subject: Re: Newbie at a standstill
]
|
|
|
| cc:
|
| Subject: Re: Newbie at a standstill
]
|
|
|
| cc:
|
| Subject: Re: Newbie
]
|
|
|
| cc:
|
| Subject: Re: Newbie (almost) at a standstill
On Apr 2, 2004, at 9:23 AM, [EMAIL PROTECTED] wrote:
Thank you all for your pointers. I am well aware of the difficulty of
writing good documentatioin when you are an expert in the field;
sometimes
ignorance is a blessing. I shall continue to report omissions or
ambiguities as I find them.
Much
On Fri, 2 Apr 2004, Brian McCallister wrote:
Both count(*) and 'as' are in the OQL grammar I downloaded from
ODMG.org
yesterday. The one is in 'aggregateExpr', the other in 'projection'.
If, as
you say, the selection list (projectionAttributes in the grammar) is
merely
a
]
|
|
|
| cc:
|
| Subject: Re: Newbie at a standstill
starting point for a newbie ;-)
ahh, now I see in your repository_database.xml what you have done. You
picked up a jdbc-connection-descriptor used for junit testing and set
you DB properties. This will not work, because the used properties don't
be valid.
Did you see
http://db.apache.org/ojb/getting
:
|
| Subject: Re: Newbie at a standstill
|
-|
Hi Raphael,
from your
I am trying to get OJB working and am getting absolutely nowhere, so I
appeal to the list for some help.
The environment is OJB rc5, Eclipse IDE, Sun JDK1.4.2, Oracle 9, NT4.0. The
running of the code is controlled by JUnit.
I can connect to the DB both with sqlplus and jdbc. I cannot actually
Are you using the ant build? The ojb-blank project template does a
property replace in the build -- the required database information is
in the build.properties and is copied into the generated
repository_database.xml that goes in build/ when compilation is run.
-Brian
On Mar 29, 2004, at
be going wrong.
Best regards,
Edson Richter
- Original Message -
From: Mauricio Montblanch
To: OJB Users List
Sent: Friday, March 19, 2004 11:54 AM
Subject: Newbie Proxy problem
Hi I am trying to use a dynamic proxy in a 1:n relation (loading a list)
but a I can 't figure out how
for your objects.
Best regards,
Edson Richter
- Original Message -
From: Mauricio Montblanch
To: OJB Users List
Sent: Tuesday, March 23, 2004 3:16 PM
Subject: Re: Newbie Proxy problem
Nop, it did not work, have you any example
Edson Carlos Ericksson Richter
Richter
To: OJB Users List
Sent: Tuesday, March 23, 2004 3:48 PM
Subject: Re: Newbie Proxy problem
I'll try to do show in a sample:
public class TestA {
public int idA;
public java.util.List allB;
}
public class TestB {
public int idB;
public int idReferenceToA;
public TestA
Hi I am trying to use a dynamic proxy in a 1:n relation (loading a list)
but a I can 't figure out how make it work (I get a
java.lang.ClassCastException when I try to get the any object), can
anyone give me a simple example of how to use a dynamic proxy.
Detail
Clases:
Product
Hi Gavin,
The ojb-blank target is a template for your own projects.
To simply build ojb use the target release.
Thomas
-Original Message-
From: Gavin Paul Selvaratnam [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 03, 2004 7:46 AM
To: '[EMAIL PROTECTED]'
Subject: Newbie Question
, that this is a simple newbie-problem. If there is more information/code
needed, please just tell me.
Thanks a lot in advance,
Philipp.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
);
This is used to store(like in the tutorial):
dbBroker.beginTransaction();
dbBroker.store(ProductCon);
dbBroker.commitTransaction();
I guess, that this is a simple newbie-problem. If there is more information/code needed, please just tell me.
Thanks a lot
Hello,
I am having the following situation and I don't know where is my error:
This is the code:
tx = impl.newTransaction();
tx.begin();
final OQLQuery query = impl.newOQLQuery();
query.create(select TABLE from +
classtype.class.getName()
I was inserting a row with a primary key of 0 (zero) by hand. That was
the row that was being duplicated. The autoincrement was true for that
field.
I would like to learn why? :
A field with autoincrement = true and a value of 0 is automatically
inserted? If that is true, every time it was
Hi,
I am executing the following code:
OQLQuery query = impl.newOQLQuery();
query.create( [THEQUERY] );
DList results = (DList)query.execute();
Iterator iterator = results.iterator();
If I change some column with an external tool and then execute the code,
the updated column is not
Are you working with DefaultCacheImpl or EmptyCacheImpl?
If you are working with DefaultCacheImpl, take a look at config parameters.
Otherwise, are there any exceptions (stack trace), messages (they can be very usefull
if you
enable higher level of logging as DEBUG).
Best regards,
Edson Richter
Thanks for your quick answer, I cheched the OJB.properties file an I
was using DefaultCacheImpl I change it to ObjectCacheEmptyImpl and now
it is working as I was expecting.
Now just to learn the reasons for the previous behaviour:
A comment in OJB.properties:
# The ObjectCacheClass
In real, I'm not an specialist in caches ;), but I've used with success object-cache
..
tag inside class-descriptor, no elsewhere.
I think I've read somewhere that is possible to configure the object-cache for the
connection (or the alias), but I never reade more, and now I'm not sure. Give a
Is it possible to retrieve only certain fields of a table through OJB
OQL? Something similar to the SQL: select id, video_id from VIDEO_DATA
where id=5.
Doing things like select id, videoId from + VideoData.class.getName()
+ where id = + videoDataId doesn't seem to work. It continues
]
Sent: Friday, December 26, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: Newbie OQL select question - can I selectively retrieve fields?
Is it possible to retrieve only certain fields of a table through OJB OQL?
Something similar to the SQL: select id, video_id from VIDEO_DATA where
id=5.
Doing
You can also use the ReportQuery for doing what you want but it doesn't
return objects , only the request rows .
-Original Message-
From: Ara Juljulian [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 4:14 PM
To: [EMAIL PROTECTED]
Subject: Newbie OQL select question - can I
That sounds like an interesting solution. I'll try that. Thanks.
-Ara-
-Original Message-
From: Thierry Hanot [mailto:[EMAIL PROTECTED]
Sent: Friday, December 26, 2003 7:20 AM
To: 'OJB Users List'
Subject: RE: Newbie OQL select question - can I selectively retrieve
fields?
May be you
Hello everybody,
I just got started with OJB and i'm experiencing some problems. Here's the
scenario that i'm trying to get to work:
A DOCUMENT belongs to 1..n CATEGORY.
A DOCUMENT is relevant to 0..n PRODUCT_MODELs.
A DOCUMENT is written by 1..1 AUTHOR.
D DOCUMENT is described by 1..n KEYWORDs.
Hi,
Im a very new comer to this technology and dont have clear idea about
persistence layer. So I decided to ask some question to this group and
hopefully get a reply.
Now Im using the JDBC API for the development. Im handling a large
database with simple JDBC and have to generate reports
1 - 100 of 183 matches
Mail list logo