码迷,mamicode.com
首页 >  
搜索关键字:detached entity    ( 5141个结果
SpringDataJPA 多对多的查询
主要的结构目录: 创建Role.java package cn.itcast.domain; import javax.persistence.*; import java.util.HashSet; import java.util.Set; @Entity @Table(name = "sys_ ...
分类:编程语言   时间:2019-12-08 23:34:11    阅读次数:99
spring-data-jpa一对多多对一多对多关联
一对多、多对一 Country类 @Entity @Table(name = "Country") public class Country { @Id //sequence identity @GeneratedValue(strategy = GenerationType.IDENTITY) p ...
分类:编程语言   时间:2019-12-07 19:35:56    阅读次数:97
MSSQL字符串分割
CREATE FUNCTION dbo.f_splitstr( @str varchar(8000) )RETURNS @r TABLE(id int IDENTITY(1, 1), value varchar(5000)) AS BEGIN /* Function body */ DECLARE ...
分类:数据库   时间:2019-12-06 19:32:42    阅读次数:100
String data jpa执行的增删改查
entity实体类: package com.qzy.entity;import javax.persistence.*;/** * Created by cmy on 2019/12/5. */@Entity@Table(name="studentinfo")public class Studen ...
分类:其他好文   时间:2019-12-05 19:16:22    阅读次数:113
使用Map优化双层For循环
笔者在《for循环实战性能优化》中提出了五种提升for循环性能的优化策略,这次我们在其中嵌套循环优化小循环驱动大循环的基础上,借助Map高效的查询性能来优化双层for循环。 如果小循环和大循环的集合元素数量分别为M和N,则双层For循环的循环次数是M*N,随着M和N的增长,对性能的影响越来越大。因此 ...
分类:其他好文   时间:2019-12-04 22:02:25    阅读次数:726
CouchDB
由于关系数据库的流行,很多开发者对于实体 - 关系(Entity-Relation,ER)模型非常熟悉。而 CouchDB 使用的是面向文档(Document oriented)的模型。在使用 CouchDB 的时候,需要完成从 ER 模型到文档模型的思维方式的转变。下面通过几个具体的例子来说明如何 ...
分类:数据库   时间:2019-12-03 01:34:02    阅读次数:205
JPA-@MappedSuperclass
今天阅读前辈的代码时,发现一个新的注解 @MappedSuperclass ,下面就来了解下它是干什么的: 首先官方文档给出的解释是: Designates a class whose mapping information is applied to the entities that inher ...
分类:移动开发   时间:2019-12-02 19:16:29    阅读次数:113
IfcRoot
IfcRoot is the most abstract and root class for all entity definitions that roots in the kernel or in subsequent layers of the IFC specification. It i ...
分类:其他好文   时间:2019-12-01 20:27:39    阅读次数:89
用VHDL设计信号发生器
信号发生器要求: 信号发生器程序: library ieee;use ieee.std_logic_1164.all;entity signal_gen1 isport(clk:in bit;wave:out bit);end signal_gen1;architecture bhv of sign ...
分类:其他好文   时间:2019-12-01 18:54:43    阅读次数:223
整合最优雅SSM框架:SpringMVC + Spring + MyBatis
先建立各个层dao。service。entity。controller。utils等等 archetypeCataloginternal pom.xml <properties> <spring.version>5.0.2.RELEASE</spring.version> <slf4j.versio ...
分类:编程语言   时间:2019-12-01 13:36:10    阅读次数:86
5141条   上一页 1 ... 49 50 51 52 53 ... 515 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!