Shane and Daniel
Thanks for your pointers and ideas.
Shane Mingins [EMAIL PROTECTED] wrote on 07/06/2004
05:30:35 p.m.:
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Saturday, 5 June 2004 12:23 a.m.
To: OJB Users List
Subject: Handling dirty
Hi folks,
When handling objects in a typical CRUD MVC type web app (lets say Apache
Struts based app), most of us have went through the update problem.
The fact that web apps are disconnected and following the MVC paradigm
,means the data, while in the browser is just that presentation data,
Give Axgen (http://axgen.sourceforge.net/) a chance.
From XMI (UML) to java, xml and ddl.
Regards,
Gustavo.
news [EMAIL PROTECTED] wrote on 03/06/2004 11:45:30 a.m.:
Hi!
Ok, third mail...
I've heard that reverse-db can be the wroing road
What do you suggest to create the various
Amol,
I think you face and underlying problem related to the architecture of
your application.
I do not know if you are familiar with the MVC pattern, but it seems
considering applying it to your project might be of help.
The basic idea is to let the Controller in the server talk to the Model
Keith,
We´ve been using JasperReports with OJB por a while now. Reading your
requirements, it seems JasperReports deservs a deep look.
Let me quote you
I'd like to be able to write
a definition of the report in XML
Well, this is exactly what you do with JR. Jasper will parser the report
Georg,
We went through these type of problems several times now. And I would say
that using some tools we´ve resolved them trusting the tools proposed
solutions (we believed those tools bring us others collegues knowledge and
experience to our IDEs). This approach let us focus on the business
It looks like you are facing a sort of pivot table challenge. Even when
you expect just one single value for a known row, unknown column cell.
In this case, you are in the right track. I I see no other way to
pre-prepare the collection programmatically, and once known the number and
name of
Dumb problem, but weve get some confusion here.
Lets say we have a Master object that has a Details object collection.
Details collection is a 10ths thousand objects set.
Repository settings for Master object are autoupdate true, autoretrieve
true,autodelete true. API is PB.
Our user need to
Hi all,
Lets say we have an object name Father, who has a Child class collection
(aggregate association). With the right repository settings (autoretrieve=
true etc.) every time we load a father from the database, the children
will be instantiated (they may be proxies or materialized).
Heres
Thanks Edson for your quick answer.
We ve already seen your approach. The problem we see with it,is in our
real world, the fact that attributes values are more than two in some
cases (male and female is just a set of two for this example), and as you
say, in some cases there is a large numbre
Just fixed it.
Wrong data type
It work this way:
field-descriptor column=rubCamposModif jdbc-type=VARBINARY
name=camposModif
conversion=org.apache.ojb.broker.accesslayer.conversions.Object2ByteArrFieldConversion/
Database data type is BINARY.
Thanks.
Gustavo.
[EMAIL PROTECTED]
Dear OJB team,
Congratulations and thanks again for your contribution to the opensource
community!
Cheers,
Gustavo Faerman
Robert,
Your are right. Unique key generation (or I might say object's unique id
generation) is a crtical issue here. We are looking into a couple of
algorithms here to address this. It means we would need to delegate OJB?s
sequencer a key function. This unique object id might work across
Hi Mircea,
when you design a system for backup/recovery you want to be sure that
if the testing is ok for 2 or 3 systems then everything will work fine
with all of them.
Good point. It´s add another perspective. In a server -- server
replication (hub to hub), at this point I would even think
Hi all,
Weve being using OJB for a while and we do like it.
While we depart from the old paradigm (delegating the important stuff to
the RDBMS) and we delegate OJB the real work, some
opportunities/challenges come to our mind.
And since data/object replication is one of those opportunities, we
Hi all,
We are trying to build lastest CVS code.
We are seeing this error. Any ideas, what are we doing wrong here?
Regards,
Gustavo.
main:
[javac] Compiling 571 source files to E:\jakarta\db-ojb\target\classes
[javac]
Hi all,
Let´s say we have a class Persona, -spanish property names between
brackets-.
Then we extend Person in a class Tecnico (coach) and class Jugador
(Player).
Just to make it simple we will focus in Tecnico class.
Superclass Persona has properties name (nombre), lastname (apellido),
Hi all,
We are using ODMG Api.
When trying to retrieve a person, who has documents collection (Documents
as an ArrayList), OJB fails saying it needs a
org.apache.ojb.broker.util.collections.RemovalAwareCollection (pls see
error below)
It seems we should use a RemovalAwareCollection, or a
Thanks for your answer.
Sorry our ignorance. We did not find any differences we should take care
off. Could you point us any key attributes in those configuration files we
should take care off?
By the way, if we go back to RC2 everything is fine.
Thanks,
Gustavo.
Farnea Massimiliano
We had not replaced the repository.dtd with the new one.
Having it replaced, now it works!
Thank you very much
Gustavo.
--
Thanks for your answer.
Sorry our ignorance. We did not find any differences we should take care
off. Could you point us
Hi all,
I´m saving a java.sql.date to an Oracle field using OJB DATE mapping.
The java.sql.date ojbect is being set with system date time.
obj.lastModifDate(new java.sql.Date(System.currentTimeMillis())); // Lets
say ,with the right mask it would be 03/04/2003 15:40:17.
When we retrieve the
Hi Jakob,
Thank you very much for your help. It worked.
I did not know I could use trim right there. Any pointer to the OBJ
documentation where I can read more about this?
Best Regards,
Gustavo.
22 matches
Mail list logo