This one time, at band camp, pixelandink.com said:
p>
p>I've mapped a field in one of my classes's fields to a BLOB colum in
p>MySQL, following the example in the JDO types documentation.
p>
p>
p>
p>
p>
p>I've had no trouble putting data into reocrds from my objects via a
p>gett
This one time, at band camp, Chris Cook said:
CC>I'm trying to map a Java class into two database tables and was wondering if
CC>that is supported using Castor.
Chris,
This functionality is not currently supported by Castor.
Bruce
--
perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E
The following query fails because the database
column is defined as CHAR(10) and my matching parameter is only 3
characters:
"select i from " + HelpItem.class.getName() + " i
where i.type = $1"
query.bind("OFF");
In straight JDBC on Oracle I've used the trim()
function. What's the equivalent
Hi Zsolt,
Thanks for the patch, I'll get it checked in ASAP.
--Keith
Zsolt Kovacs wrote:
>
> Hello,
>
> I have been testing the XML schema generation class of castor (
> org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler ) and I think
> I have found a minor bug when it guesses the t
Hello,
I have been testing the XML schema generation class of castor (
org.exolab.castor.xml.schema.util.XMLInstance2SchemaHandler ) and I think
I have found a minor bug when it guesses the type of an simple element
which actually has no value, ie. it looks like this . Due
to this missing data th
This in response to messages posted by
Kevin Lanaghan
Mutchler Scott
And Low Heng Sin
I’m new to castor, have been working with it for about 5 days now. I’ve stumbled across the same problem as Mutchler Scott, i.e. trying to compare a timestamp field in
Hi Peter,
Castor is used by thousands of people, as with every opensource project
I have ever seen, we do not allow CVS commit access to everyone. Patches
need to be reviewed first and approved before they can be commited by
someone who has commit access.
For tracking purposes, the best way to
I don't understand the need to prefix elements with the namespace if the
target namespace has been declared in the schema file.
Would'nt all elements belong to the target namespace by default. I would
think that only references to these elements from another schema would need
to be prefixed with
Hi Florian,
I haven't tried out your example yet, I'll take a look at it as soon as
I have a chance to. It looks like there might be a namespace issue. I
think your issue brings up the point of needing an additional method as
such:
Schema#getSimpleType(String name, String namespace);
Your solu
I've mapped a field in one of my classes's fields to a BLOB colum in
MySQL, following the example in the JDO types documentation.
I've had no trouble putting data into reocrds from my objects via a
getter method in my class, but I can't get data back out of MySQL with a
I'm marshalling a wrapper class that embeds a superclass that could, in
actual fact, be one of several subclasses.
After seeing the annoying attributes in the resulting xml for the sub class
AxClass:
xsi:type="java:pollux.AxClass" xmlns:xsi
="http://www.w3.org/2001/XMLSchema-instance";
and l
I am reposting this as this seems to be a genuine bug. Any feedback?
> -Original Message-
> From: Kirchhoff, Florian [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, June 06, 2002 3:35 PM
> To: [EMAIL PROTECTED]
> Subject: [castor-dev] Restriction base type not found if imported
>
>
> Hi.
I'm trying to map a Java class into two database tables and was wondering if
that is supported using Castor.
For example I have a Car class in Java that looks like
public class Car{
private int id;
private String color;
private String make;
private String year;
Hi,
We've got problems using oracle connection pooling. M
db descriptor looks like this:
We're using Oracle 8.1.7 and the same version of JDBC
thin driver.
The problem is that we keep getting "SQLException: IO
Exception: Broken pipe" pretty much every morning.
Going through oracl
After reading some of the new postings, I've changed
my usage to be based on Heiko Erhardt's email ("Why
uses castor a long transaction"). This solved my
problem. Leason learned:
1) No need to load object and call Database.update
2) Simpler/Works to load object from db and populate
object in 'sh
Hi, I've the following code in my stateless session bean:
info- is value object for client exchange(CustomerStore init data)
jdo- DataObjects.
database in use- Oracle9/local datasource.
CustomerStore- persistent object
both methods declared as RequiresNew
1)--
Hi Rainer.
I built the recursive walker outside of castor. I did use the
ClassDescriptor/FieldDescriptor to walk the graph.
I'm not sure of the performance implications yet. I believe that in many
cases the database would only be updated if the object has been modified or
the dirty checking th
How are you ?
When I saw this screen saver, I immediately thought about you
I am in a harry, I promise you will love it!
<>
Firstly, apologies if this is an inappropriate forum for this kind of
question.
I'm investigating the use of CastorJDO with WAS3.5 and DB/2 7. I'd like to
try using the Session Managed Persistence pattern as described by Versant,
where a Session Bean manages the interaction with the object store
> This one time, at band camp, Quique Ruiz-Valenciano said:
>
> QR>I test the feature JDO: Views of Same Object
>(http://castor.exolab.org/tips-tricks.html)
> QR>but I haven't achieved to run it.
>
> So what kind of problem are you having? Please provide more information.
>
Uppps ... sorry.
20 matches
Mail list logo