[Firebird-net-provider] [FB-Tracker] Created: (DNET-736) Set Generator Value

2017-02-09 Thread Marcos Gerene Felix Spirito (JIRA)
Set Generator Value
---

 Key: DNET-736
 URL: http://tracker.firebirdsql.org/browse/DNET-736
 Project: .NET Data provider
  Issue Type: Bug
  Components: ADO.NET Provider
Affects Versions: 5.7.0.0
 Environment: Select Gen_ID not work
Reporter: Marcos Gerene Felix Spirito
Assignee: Jiri Cincura


Look theses comands:

1. SET GENERATOR generator_name TO value

2. SELECT GEN_ID(generator_name, (SELECT MAX(id) FROM table_name) - 
GEN_ID(generator_name, 0)) FROM RDB$DATABASE;

The 1 its Ok with FBCommand ExecuteNonQuery(); method, but 2 not work.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



--
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider


[Firebird-net-provider] [FB-Tracker] Created: (DNET-712) Problem with accented letters in charset NONE

2016-11-04 Thread Marcos Gerene Felix Spirito (JIRA)
Problem with accented letters in charset NONE
-

 Key: DNET-712
 URL: http://tracker.firebirdsql.org/browse/DNET-712
 Project: .NET Data provider
  Issue Type: Bug
  Components: ADO.NET Provider
Affects Versions: 5.6.0.0
 Environment: Firebird 2.5.6, Visual Studio Community 2015, C# 6.0, 
.Net Framework 4.5.1, Windows 10 Home
Reporter: Marcos Gerene Felix Spirito
Assignee: Jiri Cincura


In this version, the ç, ê, ã and others like these are broken and show "?".

So, I downgrade to 5.5.0.0 and it's works ok again.

The example:

StringBuilder stringConnection = new StringBuilder();
stringConnection.AppendLine("User=SYSDBA;Password=masterkey;Database="+caminhoBanco+";DataSource="+ipServidor+";");
stringConnection.AppendLine("Port=" + portaFirebird + 
";Dialect=3;Charset=NONE;Role=;Connection lifetime=15;Pooling=true;");
stringConnection.AppendLine("MinPoolSize=0;MaxPoolSize=50;Packet 
Size=8192;ServerType=0;");

var connection = new FbConnection(stringConnection.ToString().Trim());
connection.Open();
var command = new FbCommand("SELECT * FROM EMPRESA WHERE EMP_ID = 1", 
connection);
var rd = new command..ExecuteReader();
string test = "";
if (rd.Read())
{
   test = rd["EMP_RAZAO"].ToString();   
}

The string "test" returns "CONSTRU??O" in 5.6.0.0 (bug) and "CONSTRUÇÃO" in 
5.5.0.0 (ok).

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://tracker.firebirdsql.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

   

--
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
___
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider