You can subscribe to this list here.
| 2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(6) |
Nov
(8) |
Dec
(2) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2005 |
Jan
(19) |
Feb
(15) |
Mar
(10) |
Apr
(8) |
May
(7) |
Jun
(9) |
Jul
(13) |
Aug
(31) |
Sep
(111) |
Oct
(52) |
Nov
(72) |
Dec
(42) |
| 2006 |
Jan
(21) |
Feb
(32) |
Mar
(33) |
Apr
(24) |
May
(15) |
Jun
(40) |
Jul
(32) |
Aug
(19) |
Sep
(38) |
Oct
(37) |
Nov
(63) |
Dec
(37) |
| 2007 |
Jan
(18) |
Feb
(39) |
Mar
(69) |
Apr
(49) |
May
(71) |
Jun
(59) |
Jul
(71) |
Aug
(85) |
Sep
(46) |
Oct
(14) |
Nov
(25) |
Dec
(56) |
| 2008 |
Jan
(24) |
Feb
(77) |
Mar
(104) |
Apr
(44) |
May
(41) |
Jun
(11) |
Jul
(31) |
Aug
(59) |
Sep
(44) |
Oct
(86) |
Nov
(66) |
Dec
(93) |
| 2009 |
Jan
(88) |
Feb
(41) |
Mar
(49) |
Apr
(135) |
May
(22) |
Jun
(31) |
Jul
(60) |
Aug
(71) |
Sep
(76) |
Oct
(18) |
Nov
(52) |
Dec
(20) |
| 2010 |
Jan
(8) |
Feb
(50) |
Mar
(35) |
Apr
(48) |
May
(46) |
Jun
(84) |
Jul
(38) |
Aug
(61) |
Sep
(51) |
Oct
(31) |
Nov
(17) |
Dec
(18) |
| 2011 |
Jan
(51) |
Feb
(14) |
Mar
(17) |
Apr
(23) |
May
(15) |
Jun
(11) |
Jul
(5) |
Aug
(5) |
Sep
(15) |
Oct
(8) |
Nov
(5) |
Dec
(25) |
| 2012 |
Jan
(2) |
Feb
(4) |
Mar
(6) |
Apr
(9) |
May
(27) |
Jun
(32) |
Jul
(36) |
Aug
(10) |
Sep
(16) |
Oct
(3) |
Nov
(13) |
Dec
(7) |
| 2013 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
(1) |
May
|
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(4) |
Oct
(2) |
Nov
(1) |
Dec
|
| 2014 |
Jan
|
Feb
|
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(9) |
Jul
(5) |
Aug
(2) |
Sep
(4) |
Oct
|
Nov
|
Dec
|
| 2015 |
Jan
(3) |
Feb
(2) |
Mar
(4) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(5) |
Oct
(1) |
Nov
|
Dec
|
| 2016 |
Jan
|
Feb
(5) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(5) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
| 2017 |
Jan
(6) |
Feb
|
Mar
|
Apr
(10) |
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2018 |
Jan
(2) |
Feb
(5) |
Mar
|
Apr
|
May
(1) |
Jun
(3) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2019 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2020 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
| 2021 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2023 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| S | M | T | W | T | F | S |
|---|---|---|---|---|---|---|
|
|
|
|
|
|
|
1
(1) |
|
2
|
3
|
4
|
5
(1) |
6
(2) |
7
(4) |
8
(1) |
|
9
(1) |
10
(10) |
11
(5) |
12
|
13
(1) |
14
(1) |
15
|
|
16
|
17
|
18
|
19
(4) |
20
(1) |
21
|
22
|
|
23
|
24
|
25
(4) |
26
|
27
(10) |
28
|
29
|
|
30
|
|
|
|
|
|
|
|
From: <php...@li...> - 2007-09-25 12:42:18
|
Hi Apostolos,
> > java("java.sql.Date")->valueOf(...);
> That did not work.
The procedure "java" is defined in Java.inc (bridge version 4.0.0 and above) as:
function Java($name) {
static $classMap = array();
if(array_key_exists($name, $classMap)) return $classMap[$name];
return $classMap[$name]=new JavaClass($name);
}
> I can howeever create an instance of java.sql.Date even
> if no such constructor exists (bug?)
No, it's a feature. People used to access the class this way. It is not a good practice, but it
works and it will work in all future releases of the bridge.
When the high-level API is used (PHP 6 and PHP/Java Bridge 4.3 or above) one can access the
type in a more intuitive way:
$date = java_sql_Date::type()->valueOf("2007-12-07");
When the new syntax is used,
new java_sql_Date()
will throw a JavaException, of course.
Regards,
Jost Boekemeier
________
Yahoo! Clever: Stellen Sie Fragen und finden Sie Antworten. Teilen Sie Ihr Wissen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-09-25 12:14:58
|
Hi Jost,
thanks for the quick response. it works now (see below)
On 9/25/07, php...@li... <
php...@li...> wrote:
> Hi,
>
> >
> [o(DepMnt0302AcctDispDelSrvImport$InBankParameters)]->setCurrTrxDate((Date)c(Date)).
>
> AFAIK you need to pass a date object. Not a class. Note the "c" above.
So c for class and o for object (yes it is obvious now I know)
> > $java_date = new Java("java.sql.Date");
>
> You cannot instanciate java.sql.Date() because no such constructor exists.
> You probably want
>
> java("java.sql.Date")->valueOf(...);
That did not work. I can howeever create an instance of java.sql.Date even
if no such constructor exists (bug?)
> > $java_date->valueOf("2007-12-07");
>
> Why do you ask the date class "$java_date" to return an instance
> "2007-12-07" and then throw it
> away?
That was the problem. I did not realise that I was throwing it away.
The complete code that works is:
$java_date = *new* Java("java.sql.Date");
$java_date = $java_date->valueOf("2007-12-07");
$proxy_input->getInParameters()->getInBankParameters()->setCurrTrxDate(
$java_date);
Note the
$java_date = $java_date->valueOf("2007-12-07");
instead of the line that I had originally
$java_date->valueOf("2007-12-07");
Thanks again,
Apostolos
|
|
From: <php...@li...> - 2007-09-25 11:50:46
|
Hi,
> [o(DepMnt0302AcctDispDelSrvImport$InBankParameters)]->setCurrTrxDate((Date)c(Date)).
AFAIK you need to pass a date object. Not a class. Note the "c" above.
> $java_date = new Java("java.sql.Date");
You cannot instanciate java.sql.Date() because no such constructor exists. You probably want
java("java.sql.Date")->valueOf(...);
For backward compatibility the JavaBridge allows the above construct, but it issues a warning on
log level 3 and above that you should correct the above code or use new JavaClass("java.sql.Date")
instead, if that's what you want.
> $java_date->valueOf("2007-12-07");
Why do you ask the date class "$java_date" to return an instance "2007-12-07" and then throw it
away?
Regards,
Jost Boekemeier
__________________________________
Yahoo! Clever - Der einfachste Weg, Fragen zu stellen und Wissenswertes mit Anderen zu teilen. www.yahoo.de/clever
|
|
From: <php...@li...> - 2007-09-25 10:30:28
|
Hi,
I have instantiated a Java object in PHP 5.1.6 using the version 3.2.1b of
the php/java bridge.
I am trying to call a method (setCurrTrxDate) that expects a
java.sql.Dateparameter to be passed and I am getting the following
Java exception:
java.lang.Exception: Invoke failed:
[o(DepMnt0302AcctDispDelSrvImport$InBankParameters)]->setCurrTrxDate((Date)c(Date)).
Cause: java.lang.IllegalArgumentException: argument type mismatch
Responsible VM: 1.5.0_09
The relevant PHP code is:
$java_date = new Java("java.sql.Date");
$java_date->valueOf("2007-12-07");
$proxy_input->getInParameters()->getInBankParameters()->setCurrTrxDate($java_date);
I cannot understand why I am getting the type mismatch and I do not
understand the (Date)c(Date) part in the exception :-(
Any suggestions will be highly appreciated,
Apostolos
|