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 other
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
JPOX
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 imple
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?
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
htt
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:
http://db.apache.org/ojb/docu/tutorials/jdo-tutori
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 java
[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 a
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
hod
crit.addOrderBy(orderBy, sortAscending); Could that be the problem?
I don't think so.
regards,
Armin
Strange that it works for other objects with exact same fields and
metadata mappings, the AdvertisementType used to be named only Type,
changed it for possible collitions...
tha
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
>
> meta
n 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
Original Message
Subject: SV: possible newbie Question; Wrong Long id when fetching..
Date: Tue, 17 Jan 2006 11:41:41 +0100
From: Christian Vejrich <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Im using, db-obj-1.0.3.jar
meta
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? A
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? Any ideas?
thanks,
-c.
-
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 0
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
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
>
>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.
>
>
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
r
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 in
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
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?
http://db.apache.org/ojb/
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#gettingStarte
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
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,
be
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 (same
n 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 t
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
--
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 object
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 ;-) )
I am so embarrassed :)
Thanks!
--Rob
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;
/**
* @obj.field
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
* a
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
* attributes="pr
Return Receipt
Your RE: FW: Newbie Question : There was no default-PBKey
documen specified
t
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 in
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 projec
tion in the build/resources directory, not in the project's root
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
.SequenceManagerNextValImp
l" />
I hope this is the info you asked for.
Roman
-Original Message-
From: Armin Waibel [mailto:[EMAIL PROTECTED]
Sent: Friday, November 19, 2004 10:48
To: OJB Users List
Subject: Re: FW: Newbie Question : There was no default-PBKey specified
Sent: Friday, November 19, 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.
re
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 con
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 wit
> 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 connectio
Hi Andy,
Whitaker, Andy wrote:
Hello,
I'm new to OJB and I'm maintaining an app that uses OJB 1.0.0 and I'm receiving an IllegalAccess error setting a field that is used by OJB for locking.
The database is MySQL 4.0.21 on Windows.
The runtime error being thrown by Tomcat is:
org.apache.ojb.br
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
Hello,
I'm new to OJB and I'm maintaining an app that uses OJB 1.0.0 and I'm receiving an
IllegalAccess error setting a field that is used by OJB for locking.
The database is MySQL 4.0.21 on Windows.
The runtime error being thrown by Tomcat is:
org.apache.ojb.broker.PersistenceBrokerExceptio
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?=
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 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 tutoria
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 (with
Yvon Thoraval wrote:
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.
First off, two things:
If you're about to quickstart with OJB, it would be best if you start
w
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 bin/bui
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 = theBar.toFoo.CopyS
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.
[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*
com.vaisala.ice.common.dataAccess.DataAccessException:
org.apache.ojb.broker.PersistenceBrokerException
-Original Message-
From: Thomas Dudziak [mailto:[EMAIL PROTECTED]
Sent: 16 July 2004 13:38
To: OJB Users List
Subject: Re: newbie: using timestamp in criteria, compound primary key
[EMAIL PROTECTED] wrote:
>oops, here is the out
[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
java.la
tion
-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:
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 q
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?
As
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 gett
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 tho
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 toda
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 te
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 unsubscrib
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
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 o
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 *far
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 I
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 this
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 tut
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
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.
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 or
up our app 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
..") 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 a real OJB newbie and I wonder which API should
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 i
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
>
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 a
|
| To: "OJB Users List" <[EMAIL PROTECTED]>
|
|
|
| cc:
|
| cc:
|
| Subject: Re: Newbie (almost) at a standstill
|
---
|
| Subject: Re: Newbie (almost) at a standstill
|
>-|
|
|
|
| To: "OJB Users List" <[EMAIL PROTECTED]>
|
|
|
|
|
| To: "OJB Users List" <[EMAIL PROTECTED]>
|
|
|
| cc:
|
| Subject: Re: Newbie at a standstill
|
>
But in managed enviroments you need
to set '0'. Do you try to run OJB in a managed environment? This
wouldn't be a good 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 te
|
| To: "OJB Users List" <[EMAIL PROTECTED]>
|
|
|
| cc:
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 1
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 ge
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
plement
getter/setters 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 C
t's can 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
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 make it work (I get a
java.lang.ClassCastException when I try t
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
InterfaceProd
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 PR
Hi I just Installed the "ojb-1.0.rc5". Now I am trying to run "ant
ojb-blank", but I get the following error.
[javac] ^
[javac]
E:\gavin\java\db-ojb-1.0.rc5\target\src\org\apache\ojb\tools\mapping\reverse
db2\ojbmetat
reemodel\O
tObjectByQuery(query);
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
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]
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
1 - 100 of 235 matches
Mail list logo