Patches item #548192, was opened at 2002-04-24 15:59
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=548192&group_id=22866

Category: JBossCMP
Group: CVS HEAD
Status: Open
Resolution: None
Priority: 5
Submitted By: Iulian Musat (iulian_musat)
Assigned to: Nobody/Anonymous (nobody)
Summary: PostgreSQL mapping

Initial Comment:
The current mapping of java.lang.Object into PostgreSQL
uses field type OID. I tested it with a CMP having one
filed of type java.util.Properties (so it will be
serialized into the DB) and it wasn't working (got SQL
exception). I changed the mapping from OID to BYTEA and
it is working. I didn't investigate more, so I will
just send a patch for all configuration files that
declare this mapping (stupid question: way is that done
in many places - for ex. it is in
standardjbosscmp-jdbc.xml as well as in
standardjaws.xml files ?).

One more thing: I am using PostgreSQL 7.2.1 and I did
no t tested with another version.

Here is the list of files I modified (the . is my
jboss-all working area):

./server/src/etc/conf/default/standardjbosscmp-jdbc.xml
./server/src/resources/org/jboss/ejb/plugins/jaws/deployment/defaultjaws.xml
./testsuite/src/resources/anotherjbossconfig/node2/conf/standardjaws.xml
./testsuite/src/resources/anotherjbossconfig/node2/conf/standardjbosscmp-jdbc.xml

Attached is the patch file generated with those
commands (cvs diff -u <file> >> patch.txt):

cvs diff -u 
./server/src/etc/conf/default/standardjbosscmp-jdbc.xml
>> patch.txt
cvs diff -u
./server/src/resources/org/jboss/ejb/plugins/jaws/deployment/defaultjaws.xml
 >> patch.txt
cvs diff -u
./testsuite/src/resources/anotherjbossconfig/node2/conf/standardjaws.xml
 >> patch.txt
cvs diff -u
./testsuite/src/resources/anotherjbossconfig/node2/conf/standardjbosscmp-jdbc.xml
 >> patch.txt


Regards,
-Iulian

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=376687&aid=548192&group_id=22866

_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to