After 2 days of trying different options and stuff, I found the
solution!
Solution is that connection has to be defined to have
platform="Postgresql" and subprotocol="postgresql" and then I can use
autoincrement="true" field thingie!
Here is the complete repository.xml for those strugling o
Hi,
20.7.2004 kello 21:02, Tony Collen kirjoitti:
Joose Vettenranta wrote:
WEll, the story continues.. I was able to enhance that class and it
did make it to work.. Well, but I got a new error, so the sequal of
this story is about to be reveiled:
The new story is called:
org.apache.ojb.broker.
Antonio Gallardo wrote:
Nope. The problem was no enhanced classes. Anyway I think he finally made
it work.
Doh, whoops, I was looking at the message at the end of the error
instead of the name of the exception.. now it is clear ;)
Tony
Tony Collen dijo:
> Joose Vettenranta wrote:
>
>> WEll, the story continues.. I was able to enhance that class and it did
>> make it to work.. Well, but I got a new error, so the sequal of this
>> story is about to be reveiled:
>>
>> The new story is called:
>>
>> org.apache.ojb.broker.metadata.Cla
Joose Vettenranta wrote:
WEll, the story continues.. I was able to enhance that class and it did
make it to work.. Well, but I got a new error, so the sequal of this
story is about to be reveiled:
The new story is called:
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: Can
n
I got it to work! Woot woot!
But I don't know what I did, but I'll keep poking around to make it
work even better..
- Joose
20.7.2004 kello 16:48, Joose Vettenranta kirjoitti:
WEll, the story continues.. I was able to enhance that class and it
did make it to work.. Well, but I got a new error,
WEll, the story continues.. I was able to enhance that class and it did
make it to work.. Well, but I got a new error, so the sequal of this
story is about to be reveiled:
The new story is called:
org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: Can
not init Identity for give
Joose
I believe you do have to enhance the new classes. I don't have a dist here.
But look in the build.xml file in the ojb/samples. I recall it has a line in
there enhancing the category and department classes.
Hope this helps
Steve
I forgot to say that I have not enhanced the new classes. Coul
I forgot to say that I have not enhanced the new classes. Could this be
a problem? If yes, how to enhance it then?
- Joose
Original Exception: javax.jdo.JDOUserException: Object not
PersistenceCapable.
--
"Always remember that you are unique, just like everyone else!"
* http://iki.fi/joose/ * [E
Using cocoon 2.1.5.1 and jdo 1.0.1
sample/blocks/ojb/ Works OK
I tried to rip that code from there, but wasn't able to. (btw, if you
make an sample of something, try to avoid default things, because then
when trying to learn from that, the default values always make thins
more difficult, like
10 matches
Mail list logo