Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: SQL

SQL iteration for XML

I am trying to read an xml data field from a table and insert this data into another database. The XML document looks like this:

1
2
3
4

My idea is to get 1 id and insert it t

October 21, 2021By Simo XML ITERATION, SQL, To XMLLeave a Comment

I want to split the XML Like stroke to the tag in C # or SQL.

I want to split the XML Like string into c# or sql tags.
For example,
input string is like

C. Qiao and R.Melhem, “Reducing Communication “,1995. I want this output:

C AUTHOR
.

October 21, 2021By Simo XML C #, I think, middle, Split, SQL, string, Tag, XMLLeave a Comment

Problems when using Hibernate and SQL Server 2008

I have a problem with Hibernate and SQL Server 2008. When I try to save an object to the database, Hibernate will throw this:

could not retrieve snapshot: com.my.MyClass
Caused by: com.micros

October 12, 2021By Simo Hibernate appears, Hibernate, problem, server, SQL, UsingLeave a Comment

TSQL – Should you use NHIBERNATE and SQL Server 2008 external connection extraction?

When extracting external connections, the Nhibernate documentation says:

If your database supports ANSI or
Oracle style outer joins, outer join
fetching might increase performance by
limit

October 12, 2021By Simo Hibernate connection, external, extraction, NHIBERNATE, server, should, SQL, TSQL, useLeave a Comment

Hibernate SQL query does not correctly map Boolean value?

Run the following through any SQL client

SELECT FALSE, TRUE; return

f, t But this SQL query:

SQLQuery qry = session.createSQLQuery(“SELECT FALSE, TRUE;”);
Object[] result = (Objec

October 12, 2021By Simo Hibernate boolerance, correct, Hibernate, Mapping, no, query, SQLLeave a Comment

Use the Hibernate Projections on Entity With Manytoone relationship, use fewer columns on SQL query

I am trying to build a smaller SQL to avoid the “select * from A” built for hibernate Criteria by default.

If I Using simple fields (no relation), through “Transformers”, I can manage to have

October 12, 2021By Simo Hibernate entity, Hibernate, less, Manytoone, More, Projections, query, relationship, SQL, Through, useLeave a Comment

Select multiple hibernate import.sql depending on the conditions

How to specify the import file I want to run hibernate. Is there a configuration option I can put (I think I have seen something similar somewhere) I can say custom. sql file and hibernate will run

October 12, 2021By Simo Hibernate By, conditions, Hibernate, import, import.sql, multiple, options, SQLLeave a Comment

Hibernate uses @Dynamicinsert and @Dynamicupdate to generate dynamic SQL statements

In using Hibernate4 recently, I found two very mysterious annotations @DynamicInsert and @DynamicUpdate

If it is in the configuration file That is, dynamic-insert and dynamic-update

The

October 12, 2021By Simo Hibernate Dynamicinsert, Dynamics, Dynamicupdate, Generation, Hibernate, SQL, Statements, utilizationLeave a Comment

VB.NET 2005 is connected to SQL Server Express, there is no error, but CMDS does not run

I am trying to use VB.NET 2005 to connect to SQL Server Express locally. I directly extracted my connection string from the app.config file. When I run it, I get NO error and the connection status

October 6, 2021By Simo Visual Basic CMDS, connection, error, Express, no, run, server, SQL, VB, VB.NETLeave a Comment

VB.NET – Unrecognized ‘=’ in SQL statement

I receive an error stating that the equal sign cannot be recognized. I always test my code in Access to make sure it works. Does anyone know why this is happening?

Code:

SELECT SUM(
II

October 6, 2021By Simo Visual Basic middle, SQL, statement, unable to identify, VB, VB.NETLeave a Comment

Posts navigation

Page 1 Page 2 … Page 4
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress