The type of the column in the database is float. I use the ibatis
debug mode and I checked that the value passed to has the decimal
part, but it´s not recording.
I´ll try to use NUMERIC instead of float and number.
tks
On 8/25/05, Priyesh Mashelkar <[EMAIL PROTECTED]> wrote:
> Hi,
> Wan
Hi Larry,
I have the same thing
But my commit work without
commitRequired="true". Isn't this
default.
Has this changed in the newer version of IBatis. Eduardo, I hope you are check
the database you
are writing to.
Rgds
Prashanth.
--- Larry Meadors <[EMAIL PROTECTED]> wrote:
>
>
> On
Thanks again, finally is working!!!
Larry Meadors wrote:
On 8/25/05, Eduardo Lobo <[EMAIL PROTECTED]> wrote:
Thanks for the answer,
This is the SQL config that I'm using:
"http://www.ibatis.com/dtd/sql-map-config-2.dtd">
On 8/25/05, Eduardo Lobo <[EMAIL PROTECTED]> wrote:
>
> Thanks for the answer,
>
> This is the SQL config that I'm using:
>
>
>PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
> "http://www.ibatis.com/dtd/sql-map-config-2.dtd";>
>
>
>
>cacheModel
Thanks for the answer,
This is the SQL config that I'm using:
PUBLIC "-//iBATIS.com//DTD SQL Map Config 2.0//EN"
"http://www.ibatis.com/dtd/sql-map-config-2.dtd">
cacheModelsEnabled="false"
enhancementEnabled="true"
lazyLoadingEnabled="true"
The transaction's being rolled back, it looks like.
Change your transaction manager to commitRequired="true" and i think
it will work.
On a related note..you do know that you can do all of that without a
stored proc, right?
insert Person (Name) values (#name#)
select SCOPE_IDENTITY()
Hi,
My problem is this:
I create this SP(in SQL Server 2000):
create procedure create_person
@name varchar(80)
as
begin
declare @id int
insert Person (Name)
values (@name)
Set @id = SCOPE_IDENTITY()
select Id, Name
from Person
where Id = @id
end
GO
This is the X
Can you send your xml file as an attachment, and also provide a stack trace?
Larry
On 8/25/05, Cesar Villar <[EMAIL PROTECTED]> wrote:
> Hi evereybody!!
> I have a dao layer defined in my sql-map-config with
> several sqlMaps. Recently, when i try to access to
> this layer i get this error:
> -
Hi,
Want to just give this a try!!!
Can you use NUMERIC instead or NUMBER or FLOAT.
And yes, What is the type of the column in the database?
Priyesh
-Original Message-
From: Renato Silveira [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 25, 2005 12:57 AM
To: use
Assuming now it's about "valorLimiteSuperiorFaix"... print out the
value from it right before "insert("inserirFaixaLimiteCampanha",
faixa);".
Something as:
System.out.println(faixa.getValorLimiteSuperiorFaixa());
If that doesn't show a truncated value, I can't help you without much
more infor
Hi evereybody!!
I have a dao layer defined in my sql-map-config with
several sqlMaps. Recently, when i try to access to
this layer i get this error:
- AbstractUnafeDAO static block:
com.ibatis.common.exception.NestedRuntimeException:
Error occurred. Cause:
com.ibatis.common.xml.NodeletException: E
11 matches
Mail list logo